patient_id
| integer | Patient identifier. |
family_head_id
| integer | null | Family head patient identifier, if the patient is linked to a family group. null is also the signal that the requested patient_id does not exist: a real patient with zero debt always has a populated family_head_id; the rest of the response otherwise looks like a normal all-zero balance. |
scope
| integer | Scope value recorded against the balance (0 = patient, 1 = family). This endpoint does not accept a scope query parameter to filter by it, unlike Get financials: see Important notes for the exact rejection behaviour. |
total_outstanding
| decimal | Total outstanding balance across all open invoices. |
overdue_amount
| decimal | Portion of the balance past due, after allowing for overdue_grace_days. |
current_amount
| decimal | Portion of the balance not yet due. |
bad_debt_amount
| decimal | Portion of the balance written off as bad debt. |
open_invoice_count
| integer | Number of invoices contributing to the outstanding balance. |
oldest_due_date
| date | null | Due date of the oldest outstanding instalment. |
days_overdue
| integer | Days since the oldest overdue instalment fell due. |
overdue_grace_days
| integer | Number of days after an instalment's due date before it is counted as overdue. |
as_at_date
| date | Date the balance was calculated as at. |