POST
/
consumers
/
{consumer_id}
/
accounting
/
journal-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

force_currency_exchange
enum<string>
default:
false

Force your own currency exchange rate when creating entries.

Available options:
true,
false
folder_id
string

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

Body

application/json
currency
string
required
Minimum length: 1
date
string
required
items
object[]
required
journal_id
string
required
number
string
required
Minimum length: 1
currency_exchange_rate
number
default:
1
due_date
string
end_date
string
pdf
string

Base 64 string representing the PDF attached to the item.

posted
boolean
default:
true
reference
string
start_date
string

Response

200 - application/json
id
string
required
journal_id
string
required
journal_name
string
required
date
string
default:
1970-01-01

Accounting date of the journal entry. It is automatically set to '1970-01-01' if the value is not available/empty in the accounting system.

due_date
string
items
object[]
name
string
posted
boolean
default:
false
reference
string