One account's ledger for a date range inside one fiscal year: opening, every line with its running movement, closing.
Changed onopening, debit, credit and closing are the engine's trial-balance row for the account over the range, on its normal side. Each line carries running_movement: debit minus credit in the base currency from the first day of the range up to and including that line, over the whole range rather than the page. Lines are ordered by entry date, entry and line number. Give account_id or account_code. Amounts are { "amount": "<decimal string>", "currency": "<ISO 4217>" } — never a JSON number. Keyset-paged: pass page.next_cursor back as cursor while page.has_more is true. page.truncated is true only when a server-side bound cut this page short of what was asked; it is never a silent cut. 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.
The account (or give account_code).
The account code (or give account_id).
First day of the range.
Last day of the range, in the same fiscal year.
The next_cursor of the previous page. Opaque.
Items per page.
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