Skip to main content

Interface: SupplementalPreview

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

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:37


facilityId​

readonly facilityId: string

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


facilityName​

readonly facilityName: string

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


issueDateLabel​

readonly issueDateLabel: string

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


lines​

readonly lines: SupplementalLine[]

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

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:42

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


parentInvoiceId​

readonly parentInvoiceId: string

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


parentInvoiceNumber​

readonly parentInvoiceNumber: string

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


period​

readonly period: object

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

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:40