GET
/
consumers
/
{consumer_id}
/
accounting
/
chart-of-accounts
Get chart of accounts
curl --request GET \
  --url https://api.chift.eu/consumers/{consumer_id}/accounting/chart-of-accounts \
  --header 'Authorization: Bearer <token>'
{
  "items": [
    {
      "number": "<string>",
      "name": "<string>",
      "active": true,
      "type": "bank"
    }
  ],
  "total": 1,
  "page": 2,
  "size": 2
}

Authorizations

Authorization
string
header
required

This access token needs to be included in each of your request to the Chift API.

Path Parameters

consumer_id
string<uuid>
required

Query Parameters

page
integer
default:1

Page number

Required range: x >= 1
size
integer
default:50

Page size

Required range: 1 <= x <= 100
folder_id
string | null

Id of the accounting folder instance. A folder represents a legal entity within the system. Required when the multiple folders feature is enabled.

classes
string | null

Filter based on the class of the account (e.g. 6,7 to retrieve 6 and 7 account classes). The classes are separated by ','.

type
enum<string> | null

Filter based on the type of the account (e.g. bank, cash, income, expense, vat).

Available options:
bank,
cash,
income,
expense,
vat

Response

200
application/json

Successful Response

The response is of type object.