List chart of accounts
GET
/public/v1/erp/chart_of_accountsRetrieve the general-ledger accounts available for coding Qashio spend.
Returns a paginated list of chart-of-account records synced from your accounting
system, newest first. These are the accounts a transaction can be posted to; the remote_id and
account_number are the fields your posting logic will key on. Filterable by account number, type
and currency as well as the standard name, status and timestamp filters.
Query parameters
pageintegerExample
1page_sizeintegerExample
20remote_idstringremote_namestringstatusstringdraftactiveinactiveis_deletedstringtruefalseaccount_numberstringaccount_typestringaccount_currencystringcreated_at_fromstringcreated_at_tostringupdated_at_fromstringupdated_at_tostring
Response
Array of chart-of-account records, plus pagination.
| Field | Type | Description |
|---|---|---|
id | string | Qashio identifier (UUID) |
qashio_external_id | string | Cross-reference used on transactions |
remote_id | string | Identifier in your accounting system |
remote_name | string | Account name |
account_number | string | Ledger account number |
account_type | string | Account classification, e.g. asset, expense |
account_currency | string | Account currency (ISO 4217) |
description | string | Free-text description |
status | string | draft, active or inactive |
is_deleted | boolean | Marked deleted upstream |
created_at / updated_at | string | ISO 8601 timestamps |
Response schema from the OpenAPI document
| Field | Type | Description |
|---|---|---|
status_code | integer | |
success | boolean | |
data | object[] | |
id | string | |
remote_name | string | |
qashio_external_id | string | |
remote_id | string | |
account_currency | string | |
account_type | string | |
description | string | |
account_number | string | |
status | string | |
is_deleted | boolean | |
updated_at | string | |
created_at | 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, 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.