Get statement by account id
/public/v1/erp/statements/{statementAccountId}Retrieve the month-by-month statement history of a single account.
Returns the statement periods for one account, most recent first, optionally
narrowed to a month range. This is the endpoint behind an account reconciliation view: the response
header identifies the account once, and data carries one row per month. The default page size of
12 returns a calendar year.
Both range bounds are optional and independent: send from_month alone for everything since a date,
to_month alone for everything up to one, or neither for the full history. A valid account with no
statements returns 200 with an empty data array; an unknown account returns 404.
Path parameters
statementAccountIdstringrequiredQashio identifier of the account
Query parameters
from_monthstringEarliest month to include,
YYYY-MMExample
2026-01to_monthstringLatest month to include,
YYYY-MMExample
2026-03pagestringPage number, 1-based. Default
1page_sizestringRecords per page. Default
12
Response
One object describing the account and its periods.
| Field | Type | Description |
|---|---|---|
account_external_id | string | Qashio identifier of the account |
account_name | string | Account name, or the card nickname for card accounts |
account_type | string | Card, PoolAccount, CompanyFundAccount or Subsidiary; null when no statements exist |
page, total_pages, total | integer | Pagination for the periods below |
data[] | array | One entry per month: { statement_period, opening_balance, closing_balance, currency } |
Response schema from the OpenAPI document
| Field | Type | Description |
|---|---|---|
status_code | integer | |
success | boolean | |
data | object | |
account_name | string | |
account_external_id | string | |
account_type | string | |
page | integer | |
total_pages | integer | |
total | integer | |
data | object[] | |
opening_balance | integer | |
closing_balance | integer | |
currency | string | |
statement_period | object | |
meta | object | |
request_id | string | |
timestamp | string |
3 nested fields
data.data[].statement_period.month | string | |
data.data[].statement_period.from | string | |
data.data[].statement_period.to | string |
Errors
400 (unparseable month), 401, 403, 404.
Cards and accounts (read)
401Unauthorized - missing or invalid Bearer token404Not Found
Every error carries an errors[] array and a meta.request_id. See Errors for the full envelope.