Interface: SupplementalLine
Defined in: src/lib/invoice/supplemental.ts:45
A computed supplemental line: the input plus the billable delta and its priced amount.
Extends
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.
Inherited from
SupplementalLineInput.actualHours
amountCents
readonlyamountCents:Cents
Defined in: src/lib/invoice/supplemental.ts:49
assignmentId
readonlyassignmentId:string
Defined in: src/lib/invoice/supplemental.ts:29
Inherited from
SupplementalLineInput.assignmentId
contractedHours
readonlycontractedHours:number
Defined in: src/lib/invoice/supplemental.ts:33
The assignment's weekly contracted hours — the family's shared billing cap.
Inherited from
SupplementalLineInput.contractedHours
contractorId
readonlycontractorId:string
Defined in: src/lib/invoice/supplemental.ts:28
Inherited from
SupplementalLineInput.contractorId
contractorName
readonlycontractorName:string
Defined in: src/lib/invoice/supplemental.ts:30
Inherited from
SupplementalLineInput.contractorName
deltaHours
readonlydeltaHours:number
Defined in: src/lib/invoice/supplemental.ts:48
The unbilled hours this supplemental bills = max(0, weekCap − familyBilledHours), 2 dp.
description
readonlydescription:string
Defined in: src/lib/invoice/supplemental.ts:46
familyBilledHours
readonlyfamilyBilledHours:number
Defined in: src/lib/invoice/supplemental.ts:37
Hours the family (parent + prior live supplementals) has already billed for this assignment.
Inherited from
SupplementalLineInput.familyBilledHours
hourlyRateCents
readonlyhourlyRateCents:number
Defined in: src/lib/invoice/supplemental.ts:39
The PARENT line's rate in integer cents — frozen for the whole family.
Inherited from
SupplementalLineInput.hourlyRateCents
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.
Inherited from
SupplementalLineInput.overageApproved
serviceType
readonlyserviceType:string|null
Defined in: src/lib/invoice/supplemental.ts:31