responsible_party_id
| integer | Identifier of the party responsible for the instalment. When is_third_party is 1 this is a third-party payer identifier (see GET Third Parties). Otherwise it is a patient identifier. |
invoice_id
| integer | Invoice identifier. Use with Get invoice details to retrieve line items. |
instalment_number
| integer | Instalment sequence number for the invoice. |
date_due
| date | Date the instalment falls due. |
days_due
| integer | Days since date_due. 0 when the instalment falls due today; never negative, because instalments not yet due are not returned. |
instalment
| decimal | Instalment amount. |
balance
| decimal | Outstanding balance on the instalment. |
is_third_party
| integer (0 or 1) | 1 if the debt is held against a third-party payer rather than the patient, 0 otherwise. Returned as an integer, not a JSON boolean. |
is_bad_debt
| integer (0 or 1) | 1 if the instalment has been written off as bad debt, 0 otherwise. Returned as an integer, not a JSON boolean. |
location_id
| integer | Location identifier. |
has_line_items
| integer (0 or 1) | 1 if Get invoice details has retrievable line item data for the invoice, 0 otherwise. A value of 0 means a details lookup for that invoice returns HTTP 404 as expected, not as an error condition. Returned as an integer, not a JSON boolean. Returned on data model V17 or later only. |