Skip to main content
Use this endpoint to generate a formal account statement for any date range you choose. The response gives you the account’s opening balance at the start of the period, a structured summary of all movements (debits and credits) that occurred within that window, and the resulting closing balance at the end. This is the right endpoint to use when reconciling accounts, producing period-end reports, or exporting data for external accounting systems.

Endpoint

Authorization

Requires an API key with the ACCOUNTS_READ scope. Pass your key in the Authorization header using the Bearer scheme.

Parameters

string (UUID)
required
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.
string (ISO 8601 datetime)
required
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:00Z
string (ISO 8601 datetime)
required
The 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:59Z
Both 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

string (UUID)
required
The unique identifier of the account, echoed back from the request.
string
required
The ISO 4217 currency code of the account (e.g. USD, BRL).
string (ISO 8601)
required
The inclusive start of the statement period, echoed back from the request. Not nested under a period object.
string (ISO 8601)
required
The inclusive end of the statement period, echoed back from the request.
number
required
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.
array
required
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.
number
required
The account balance at the instant immediately after the to timestamp. This is your ending balance for the period.

Response example

To generate a monthly statement for an entire year, you can issue twelve sequential requests — one per calendar month — using the same accountId. The closingBalance of each month will equal the openingBalance of the next, making it easy to verify continuity.

Error codes