POST
/
consumers
/
{consumer_id}
/
accounting
/
analytic-accounts

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

folder_id
string

Accounting folder ID, this needs to be passed when activating the multiple folders feature.

Body

application/json
code
string
required
currency
string
required

Indicates the currency of the analytic account (e.g. EUR).

name
string
required
active
boolean
default:
true

Response

200 - application/json
active
boolean
required
id
string
required
name
string
required
balance
number
default:
0
code
string
credit
number
default:
0
currency
string

Indicates the currency of the analytic account (e.g. EUR).

debit
number
default:
0