Skip to main content

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

readonly interestAccruedCents: 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

readonly interestWaived: boolean

Defined in: src/lib/ar/statement.ts:29

Inherited from

StatementInvoiceInput.interestWaived


invoice

readonly invoice: LedgerInvoice

Defined in: src/lib/ar/statement.ts:23

Inherited from

StatementInvoiceInput.invoice


paidAt

readonly paidAt: string | null

Defined in: src/db/queries/ar.ts:357


pdfPath

readonly pdfPath: string | null

Defined in: src/db/queries/ar.ts:356


periodEnd

readonly periodEnd: string | null

Defined in: src/lib/ar/statement.ts:26

Inherited from

StatementInvoiceInput.periodEnd


periodStart

readonly periodStart: string | null

Defined in: src/lib/ar/statement.ts:25

Billing week, inclusive ISO bounds; null on invoices raised without a period (backfills).

Inherited from

StatementInvoiceInput.periodStart