POST
/
consumers
/
{consumer_id}
/
accounting
/
financial-entries

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

financial_counterpart_account
string

Counterpart account number of the bank/cash journal. This will be retrieved from the accounting settings if left empty.

folder_id
string

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

Body

application/json
currency
string
required

Indicates the currency of the operation (e.g. EUR).

date
string
required
items
object[]
required
journal_id
string
required

Indicates the journal used in for the operation.

currency_exchange_rate
number
default:
1

Indicates the exchange rate at the date of the operation. Must be filled in when creating the operation in another currency from the default currency of the accounting system.

number
string
pdf
string

Base 64 string representing the PDF attached to the sale/purchase entry.

reference
string

Response

200 - application/json
currency
string
required

Indicates the currency of the operation (e.g. EUR).

date
string
required
id
string
required
items
object[]
required
journal_id
string
required

Indicates the journal used in for the operation.

number
string
required
currency_exchange_rate
number
default:
1

Indicates the exchange rate at the date of the operation. Must be filled in when creating the operation in another currency from the default currency of the accounting system.

reference
string