What customers owe this entity and what it owes suppliers, by how long it is past due, as of a day.
Changed ontotals has one row per bucket and currency (current, 1-30, 31-60, 61-90, 90+ days past due; payables also no_due_date, credit_note, and unknown with a null open for bills whose open amount cannot be read), summed in SQL over every open item — never over a page. Currencies are never added together. With include_items the items themselves are listed, at most 1000 per side, with truncated set when there are more. Amounts are { "amount": "<decimal string>", "currency": "<ISO 4217>" } — never a JSON number. Behind the mcp_finance_reads switch: until the platform owner turns it on this answers 403 feature_off and reads nothing.
Request
- Base URLhttps://app.magistry.io
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://app.magistry.io/api/oauth/authorizeToken URLhttps://app.magistry.io/api/oauth/tokenScopesfinance:read
Request body
The entity, one of those this app was granted (GET /api/v1/finance/entities lists them). In a GET query string entity is accepted too.
Which side.
The day the aging is taken at (default today, Europe/Amsterdam).
List the open items too.
Response
Result
Changes
- warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status - warning
added the new
method_not_allowedenum value to theerrorresponse property for the response status
11 more changes in this revision
- warning