Developers
qashio.com

Get statement by account id

GET/public/v1/erp/statements/{statementAccountId}
Bearer token

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

statementAccountIdstringrequired

Qashio identifier of the account

Query parameters

from_monthstring

Earliest month to include, YYYY-MM

Example 2026-01

to_monthstring

Latest month to include, YYYY-MM

Example 2026-03

pagestring

Page number, 1-based. Default 1

page_sizestring

Records per page. Default 12

Response

One object describing the account and its periods.

FieldTypeDescription
account_external_idstringQashio identifier of the account
account_namestringAccount name, or the card nickname for card accounts
account_typestringCard, PoolAccount, CompanyFundAccount or Subsidiary; null when no statements exist
page, total_pages, totalintegerPagination for the periods below
data[]arrayOne entry per month: { statement_period, opening_balance, closing_balance, currency }
Response schema from the OpenAPI document
FieldTypeDescription
status_codeinteger
successboolean
dataobject
account_namestring
account_external_idstring
account_typestring
pageinteger
total_pagesinteger
totalinteger
dataobject[]
opening_balanceinteger
closing_balanceinteger
currencystring
statement_periodobject
metaobject
request_idstring
timestampstring
3 nested fields
data.data[].statement_period.monthstring
data.data[].statement_period.fromstring
data.data[].statement_period.tostring

Errors

400 (unparseable month), 401, 403, 404.


Cards and accounts (read)

  • 401Unauthorized - missing or invalid Bearer token
  • 404Not Found

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