v1

latestOpenAPI 3.1.02026-08-04103211436.0 KB
AccountingAccounts

List accounting accounts

Returns the accounting accounts (chart of accounts) of a company, including deactivated ones. Results are paginated: use limit to control page size and pass the returned nextPageToken to fetch the next page.

get/accountingaccounts/{companyId}

Path parameters

companyIdstring required

Query parameters

limitinteger

Maximum number of objects to return in the response. Default 500, maximum 2000.

Maximum number of objects to return in the response. Default 500, maximum 2000.

nextPageTokenstring

Token to fetch the next page of results, taken from the nextPageToken returned by the previous request with the same filters. Omit it to fetch the first page. An invalid or malformed token is rejected with 404.

Token to fetch the next page of results, taken from the nextPageToken returned by the previous request with the same filters. Omit it to fetch the first page. An invalid or malformed token is rejected with 404.

Response

Successful Response

nextPageTokenstring nullable

Token to fetch the next page of results. null when there are no more pages.

Example response

{
  "data": [
    {
      "accountingName": "Clients - Domestic",
      "attributes": [
        {
          "customId": "cost-center",
          "value": "Marketing",
          "valueCustomId": "cc-marketing"
        }
      ],
      "accountingCode": "430001",
      "balance": 15230.75
    }
  ]
}