Aged debtors report
Returns aged debtors report for company that shows the total outstanding balance due from customers to the business over time.
Query parameters
Date the report is generated up to.
Number of periods to include in the report.
The length of period in days.
Response
OK
Example response
{
"generated": "2022-10-23T00:00:00Z",
"reportDate": "2022-10-23T00:00:00Z",
"data": [
{
"customerId": "f594cefb-7750-4c3a-bab2-b5322026dee9",
"customerName": "John Doe",
"agedCurrencyOutstanding": [
{
"currency": "GBP",
"agedOutstandingAmounts": [
{
"fromDate": "2022-10-01T00:00:00Z",
"toDate": "2022-10-31T00:00:00Z",
"amount": 1547.5,
"details": [
{
"name": "Invoices",
"amount": 1547.5
}
]
}
]
}
]
}
]
}Changes
Changed in 1 of the 51 revisions of this API.7
- ○
added the optional property
validationto the response with the401statusresponse-optional-property-added
- ○
added the optional property
validationto the response with the402statusresponse-optional-property-added
- ○
added the optional property
validationto the response with the403statusresponse-optional-property-added
- ○
added the optional property
validationto the response with the404statusresponse-optional-property-added
- ○
added the optional property
validationto the response with the429statusresponse-optional-property-added
- ○
added the optional property
validationto the response with the500statusresponse-optional-property-added
- ○
added the optional property
validationto the response with the503statusresponse-optional-property-added
- ○