Developers
qashio.com

List statements

GET/public/v1/erp/statements
Bearer token

Retrieve 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

pageinteger

Page number, 1-based. Default 1

Example 1

page_sizeinteger

Records per page. Default 20

Example 20

monthstring

Single statement month, YYYY-MM

account_typestring

Card, PoolAccount, CompanyFundAccount or Subsidiary

account_idstring

Restrict to one account's Qashio identifier

Response

Array of statement summaries, plus pagination.

FieldTypeDescription
account_external_idstringQashio identifier of the account
account_namestringAccount name; for card statements, the card nickname
account_typestringCard, PoolAccount, CompanyFundAccount or Subsidiary
company_idstringOwning company identifier
currencystringStatement currency (ISO 4217)
statement_periodobjectThe month covered
opening_balancenumberBalance at the start of the period
closing_balancenumberBalance at the end of the period
Response schema from the OpenAPI document
FieldTypeDescription
status_codeinteger
successboolean
dataobject[]
account_namestring
account_external_idstring
account_typestring
company_idstring
currencystring
opening_balanceinteger
closing_balanceinteger
statement_periodobject
monthstring
fromstring
tostring
metaobject
request_idstring
timestampstring
paginationobject
pageinteger
page_sizeinteger
total_pagesinteger
total_recordsinteger
has_nextboolean
has_previousboolean

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.

This request takes no parameters.

Response

Send the request to see the response.

Esc

Start here

IntroductionIntegration walkthroughAuthenticationConventions

Popular endpoints

POSTExchange code for tokens/oauth2/tokenGETGet company summary/public/v1/erp/company/summaryGETList bank accounts/public/v1/erp/bank_accountsGETList cards/public/v1/erp/cardsGETList chart of accounts/public/v1/erp/chart_of_accounts