{
"supplier": {
"id": 0,
"code": "string",
"name": "string"
},
"as_of_date": "2019-08-24",
"filter": {
"days_overdue_min": 0,
"bucket_type": "string",
"sort_by": "string",
"limit": 0
},
"summary": {
"items_count": 0,
"invoices_count": 0,
"credits_count": 0,
"total_due": 0,
"invoices_due": 0,
"credits_total": 0,
"overdue_count": 0,
"overdue_amount": 0,
"current_amount": 0,
"oldest_invoice_date": "2019-08-24",
"oldest_due_date": "2019-08-24",
"max_days_overdue": 0,
"weighted_avg_days_overdue": 0,
"aging_breakdown": {
"property1": 0,
"property2": 0
},
"currency": "CAD"
},
"items": [
{
"invoice": {
"id": 0,
"number": "string",
"type": {
"id": 0,
"code": "string",
"label": "string"
},
"reference": "string"
},
"invoice_date": "2019-08-24",
"due_date": "2019-08-24",
"days_overdue": 0,
"bucket": {
"id": 0,
"code": "string",
"label": "string"
},
"amount_invoiced": 0,
"amount_paid": 0,
"amount_remaining": 0,
"is_credit": true,
"is_paid": true,
"is_current_day": true,
"_links": {}
}
],
"metadata": {
"organisation_id": "string",
"extracted_at": "2019-08-24T14:15:22.123Z",
"sdk_indexes_used": {},
"scope": "string",
"truncated": true,
"limit_applied": 0,
"offset_applied": 0,
"has_more": false,
"next_offset": 0
},
"cache": {
"status": "string",
"key_hash": "string",
"cached_at": "2019-08-24T14:15:22.123Z",
"expires_at": "2019-08-24T14:15:22.123Z",
"age_seconds": 0,
"ttl_remaining_seconds": 0,
"ttl_policy": "string",
"force_refreshed": true
},
"_links": {}
}