Skip to main content

Function: buildLedger()

buildLedger(input): Ledger

Defined in: src/lib/reconcile/ledger.ts:213

Classify one facility's (or the whole company's) invoices, applications and checks.

Callers own scoping: pass exactly the rows in scope — company + facility, and for the recon report the date range too, applied before the call. The AR page passes everything, all time, because MISSING/DEAD/UNAPPLIED are point-in-time numbers and a range would break the identity the page renders (design §3).

Parameters

input

LedgerInput

Returns

Ledger