Interface: SupplementalLineInput
Defined in: src/lib/invoice/supplemental.ts:27
One parent-line assignment's billing facts for the supplemental computation. Only assignments the parent actually billed (its line items) are eligible — hours on an assignment with no parent line are the documented limit of this design (ADR-0055) and surface as a coverage gap, not here.
Extended by
Properties
actualHours
readonlyactualHours:number
Defined in: src/lib/invoice/supplemental.ts:35
Hours actually worked in the week NOW: every payable status, including entries locked to the family.
assignmentId
readonlyassignmentId:string
Defined in: src/lib/invoice/supplemental.ts:29
contractedHours
readonlycontractedHours:number
Defined in: src/lib/invoice/supplemental.ts:33
The assignment's weekly contracted hours — the family's shared billing cap.
contractorId
readonlycontractorId:string
Defined in: src/lib/invoice/supplemental.ts:28
contractorName
readonlycontractorName:string
Defined in: src/lib/invoice/supplemental.ts:30
familyBilledHours
readonlyfamilyBilledHours:number
Defined in: src/lib/invoice/supplemental.ts:37
Hours the family (parent + prior live supplementals) has already billed for this assignment.
hourlyRateCents
readonlyhourlyRateCents:number
Defined in: src/lib/invoice/supplemental.ts:39
The PARENT line's rate in integer cents — frozen for the whole family.
overageApproved?
readonlyoptionaloverageApproved?:boolean
Defined in: src/lib/invoice/supplemental.ts:41
The week's overage is approved → the cap lifts to the full actual hours.
serviceType
readonlyserviceType:string|null
Defined in: src/lib/invoice/supplemental.ts:31