Endpoint
Authorization
Requires an API key with theACCOUNTS_READ scope. Pass your key in the Authorization header using the Bearer scheme.
Parameters
The unique identifier of the account for which you want to generate a statement. Must be a valid UUID corresponding to an account in your tenant.
The inclusive start of the statement period. Entries with an
occurredAt on or after this datetime are included in the movements.Example: 2024-01-01T00:00:00ZThe inclusive end of the statement period. Entries with an
occurredAt on or before this datetime are included in the movements.Example: 2024-06-30T23:59:59ZBoth
from and to are required for this endpoint. Requests that omit either parameter will receive a 400 error. Additionally, from must be earlier than or equal to to.Request example
Response
The inclusive start of the statement period, echoed back from the request. Not nested under a
period object.The account balance at the instant immediately before the
from timestamp — i.e. the balance computed from all entries posted prior to the start of the requested period. This is your starting point for reconciliation.The individual journal lines that occurred within the statement period, ordered ascending by
occurredAt. Not an aggregate summary object — if you need totals, sum this array yourself.The account balance at the instant immediately after the
to timestamp. This is your ending balance for the period.