Get Books Debtors And Creditors

GET /tenants/{tenant}/clients/{clientCode}/books/ageing

Ages everything outstanding in the client's own books as at today: 'receivables' (what customers owe the client, from unpaid sales invoices) and 'payables' (what the client owes suppliers, from unpaid bills). Each side is split into Current (not yet due) and 1-30, 31-60, 61-90 and over 90 days past the due date, with totals and a breakdown by contact. Each side is a list with one entry per currency, largest first, because amounts in different currencies are never added together; almost always it holds one. Worked out by Sodium from the outstanding documents, so it is the same on every platform, but credit notes and unallocated payments are not netted off and it can differ from the platform's own aged reports. Reads every outstanding invoice and bill, so it is slower than the list endpoints.

Parameters

NameTypeDescription
tenant* path string

The Tenant.Code

The Tenant.Code

clientCode* path string

Responses

400 Bad Request
401 Unauthorized – Invalid or missing API key
404 Not Found