POST
/
consumers
/
{consumer_id}
/
accounting
/
chart-of-accounts
/
balance
curl --request POST \
  --url https://api.chift.eu/consumers/{consumer_id}/accounting/chart-of-accounts/balance \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "accounts": [
    "<string>"
  ],
  "start": "<string>",
  "end": "<string>"
}'
{
  "items": [
    {
      "account_number": "<string>",
      "account_name": "<string>",
      "debit": 123,
      "credit": 123,
      "balance": 123,
      "period_debit": 123,
      "period_credit": 123,
      "period_balance": 123
    }
  ],
  "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
required

Query Parameters

page
integer
default:1
Required range: x >= 1
size
integer
default:50
Required range: 1 <= x <= 100
folder_id
string

Body

application/json
accounts
string[]
required

Array/list containing the account numbers/classes to include in the response. E.g. ["601", "7"] to retrieve all account in the class 7 and accounts with an account number beginning with 601

end
string
required

End month (included, e.g. 202312 for december 2023)

Required string length: 6
start
string

Start month (included, e.g. 202302 for february 2023)

Response

200
application/json
Successful Response
items
object[]
required
total
integer
required
Required range: x >= 0
page
integer
required
Required range: x >= 1
size
integer
required
Required range: x >= 1