Interface: CandidateInvoice
Defined in: src/lib/reconcile/target.ts:35
An outstanding invoice in the payer's facility set, with the fields targeting needs.
Properties
anchorDate
readonlyanchorDate:string|null
Defined in: src/lib/reconcile/target.ts:41
Date anchor for matching: coalesce(period_end, sent_at) as ISO (null if neither exists).
createdAt
readonlycreatedAt:string
Defined in: src/lib/reconcile/target.ts:45
Stable final tiebreak for ordering (ISO timestamp).
dueDate
readonlydueDate:string|null
Defined in: src/lib/reconcile/target.ts:43
Used to order the oldest-first fallback (nulls last).
facilityId
readonlyfacilityId:string
Defined in: src/lib/reconcile/target.ts:37
invoiceId
readonlyinvoiceId:string
Defined in: src/lib/reconcile/target.ts:36
invoiceNumber
readonlyinvoiceNumber:string
Defined in: src/lib/reconcile/target.ts:38
outstandingCents
readonlyoutstandingCents:number
Defined in: src/lib/reconcile/target.ts:39