List statements
/public/v1/erp/statementsRetrieve monthly opening and closing balances across the company's accounts.
Returns a paginated list of statement summaries, most recent month first. Each entry
covers one account for one calendar month and gives its opening and closing balance: the figures you
reconcile against your own ledger at period close. Covers company funding accounts, pool accounts,
cards and subsidiaries; filter by account_type to narrow to one of them, or by month to pull a
single period.
Query parameters
pageintegerPage number, 1-based. Default
1Example
1page_sizeintegerRecords per page. Default
20Example
20monthstringSingle statement month,
YYYY-MMaccount_typestringCard,PoolAccount,CompanyFundAccountorSubsidiaryaccount_idstringRestrict to one account's Qashio identifier
Response
Array of statement summaries, plus pagination.
| Field | Type | Description |
|---|---|---|
account_external_id | string | Qashio identifier of the account |
account_name | string | Account name; for card statements, the card nickname |
account_type | string | Card, PoolAccount, CompanyFundAccount or Subsidiary |
company_id | string | Owning company identifier |
currency | string | Statement currency (ISO 4217) |
statement_period | object | The month covered |
opening_balance | number | Balance at the start of the period |
closing_balance | number | Balance at the end of the period |
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 | |
company_id | string | |
currency | string | |
opening_balance | integer | |
closing_balance | integer | |
statement_period | object | |
month | string | |
from | string | |
to | string | |
meta | object | |
request_id | string | |
timestamp | string | |
pagination | object | |
page | integer | |
page_size | integer | |
total_pages | integer | |
total_records | integer | |
has_next | boolean | |
has_previous | boolean |
Errors
400 (unrecognised account_type or unparseable month), 401, 403.
401Unauthorized - missing or invalid Bearer token
Every error carries an errors[] array and a meta.request_id. See Errors for the full envelope.