Endpoint
Authorization
Requires an API key with theACCOUNTS_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:00Zstring (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: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
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.