Interface: CandidateInvoice
Defined in: src/lib/reconcile/target.ts:36
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:42
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:46
Stable final tiebreak for ordering (ISO timestamp).
dueDate
readonlydueDate:string|null
Defined in: src/lib/reconcile/target.ts:44
Used to order the oldest-first fallback (nulls last).
facilityId
readonlyfacilityId:string
Defined in: src/lib/reconcile/target.ts:38
invoiceId
readonlyinvoiceId:string
Defined in: src/lib/reconcile/target.ts:37
invoiceNumber
readonlyinvoiceNumber:string
Defined in: src/lib/reconcile/target.ts:39
outstandingCents
readonlyoutstandingCents:number
Defined in: src/lib/reconcile/target.ts:40