Interface: StatementInvoiceRead
Defined in: src/db/queries/ar.ts:355
A statement candidate row: what buildStatement needs, plus the stored PDF the email attaches
and the paid_at stamp the facility account view dates manual payments with.
Extends
Properties
interestAccruedCents
readonlyinterestAccruedCents:number
Defined in: src/lib/ar/statement.ts:28
invoices.interest_accrued_cents — a REAL accrued figure written by the interest job, or 0.
Inherited from
StatementInvoiceInput.interestAccruedCents
interestWaived
readonlyinterestWaived:boolean
Defined in: src/lib/ar/statement.ts:29
Inherited from
StatementInvoiceInput.interestWaived
invoice
readonlyinvoice:LedgerInvoice
Defined in: src/lib/ar/statement.ts:23
Inherited from
paidAt
readonlypaidAt:string|null
Defined in: src/db/queries/ar.ts:357
pdfPath
readonlypdfPath:string|null
Defined in: src/db/queries/ar.ts:356
periodEnd
readonlyperiodEnd:string|null
Defined in: src/lib/ar/statement.ts:26
Inherited from
StatementInvoiceInput.periodEnd
periodStart
readonlyperiodStart:string|null
Defined in: src/lib/ar/statement.ts:25
Billing week, inclusive ISO bounds; null on invoices raised without a period (backfills).