Skip to main content

Interface: SupplementalPreview

Defined in: src/server/services/invoice/supplemental.ts:31

A computed-but-unpersisted supplemental for the review/confirm UI. Money is integer USD cents.

Properties

dueDateLabel

readonly dueDateLabel: string

Defined in: src/server/services/invoice/supplemental.ts:39


facilityId

readonly facilityId: string

Defined in: src/server/services/invoice/supplemental.ts:34


facilityName

readonly facilityName: string

Defined in: src/server/services/invoice/supplemental.ts:35


issueDateLabel

readonly issueDateLabel: string

Defined in: src/server/services/invoice/supplemental.ts:38


lines

readonly lines: SupplementalLine[]

Defined in: src/server/services/invoice/supplemental.ts:41

Positive-delta lines only; empty means the family is clear — nothing to bill.


linesKey

readonly linesKey: string

Defined in: src/server/services/invoice/supplemental.ts:44

Canonical composition key of lines (supplementalLinesKey); '' when empty.


parentInvoiceId

readonly parentInvoiceId: string

Defined in: src/server/services/invoice/supplemental.ts:32


parentInvoiceNumber

readonly parentInvoiceNumber: string

Defined in: src/server/services/invoice/supplemental.ts:33


period

readonly period: object

Defined in: src/server/services/invoice/supplemental.ts:37

The FAMILY's billing week (the parent's stored period), inclusive ISO bounds.

end

end: string

start

start: string


totalCents

readonly totalCents: number

Defined in: src/server/services/invoice/supplemental.ts:42