API Reference Overview
Authentication
Consumers
Connections
Accounting
- Folders
- Book years
- Clients
- Suppliers
- Invoices
- Ledger accounts
- Journals
- Journal entries
- Employees
- Analytic plans
- Analytic accounts
- Miscellaneous operations
- Outstandings
- VAT codes
- Attachments
Invoicing
- Contacts
- Invoices
- Products
- Taxes
- Opportunities
- Payments
- Payment methods
POS
- Orders
- Payment methods
- Payments
- Closure info
- Locations
- Products
- Categories
- Customers
- Objectives
eCommerce
- Orders
- Products & variants
- Categories
- Customers
- Payment methods
- Locations
- Countries
- Taxes
PMS
- Orders
- Invoices
- Payment methods
- Payments
- Closure info
- Locations
- Categories
- Customers
- Taxes
Payment
- Payments
- Balances
- Transactions
- Refunds
Banking
- Financial institutions
- Banking accounts
- Transactions
Advanced
- Webhooks
- Syncs
- Issues
- Datastores
Journal entries
Create Journal Entry
Create a new Journal Entry in the accounting system
POST
/
consumers
/
{consumer_id}
/
accounting
/
journal-entries
curl --request POST \
--url https://api.chift.eu/consumers/{consumer_id}/accounting/journal-entries \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"reference": "<string>",
"due_date": "2023-12-25",
"journal_id": "<string>",
"number": "<string>",
"currency": "<string>",
"currency_exchange_rate": 123,
"date": "2023-12-25",
"items": [
{
"account_type": "customer_account",
"account": "<string>",
"force_general_account": "<string>",
"prioritise_thirdparty_account": true,
"description": "<string>",
"debit": 123,
"credit": 123,
"analytic_distribution": [
{
"analytic_plan": "<string>",
"analytic_accounts": [
{
"analytic_account": "<string>",
"percentage": 123
}
]
}
],
"tax_code": "<string>",
"country": "<string>",
"account_info": {
"account_number": "<string>",
"account_name": "<string>"
}
}
],
"pdf": "<string>",
"posted": true,
"start_date": "2023-12-25",
"end_date": "2023-12-25"
}'
{
"reference": "<string>",
"due_date": "2023-12-25",
"journal_id": "<string>",
"name": "<string>",
"journal_name": "<string>",
"date": "2023-12-25",
"posted": true,
"id": "<string>",
"items": [
{
"account_number": "<string>",
"partner_id": "<string>",
"description": "<string>",
"debit": 123,
"credit": 123,
"currency": "<string>",
"currency_exchange_rate": 123,
"id": "<string>",
"partner_name": "<string>",
"account_name": "<string>",
"matching_numbers": [
"<string>"
],
"analytic_distribution": [
{
"analytic_plan": "<string>",
"analytic_accounts": [
{
"analytic_account": "<string>",
"percentage": 123
}
]
}
]
}
]
}
Authorizations
This access token needs to be included in each of your request to the Chift API.
Path Parameters
Query Parameters
Available options:
true
, false
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.
curl --request POST \
--url https://api.chift.eu/consumers/{consumer_id}/accounting/journal-entries \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"reference": "<string>",
"due_date": "2023-12-25",
"journal_id": "<string>",
"number": "<string>",
"currency": "<string>",
"currency_exchange_rate": 123,
"date": "2023-12-25",
"items": [
{
"account_type": "customer_account",
"account": "<string>",
"force_general_account": "<string>",
"prioritise_thirdparty_account": true,
"description": "<string>",
"debit": 123,
"credit": 123,
"analytic_distribution": [
{
"analytic_plan": "<string>",
"analytic_accounts": [
{
"analytic_account": "<string>",
"percentage": 123
}
]
}
],
"tax_code": "<string>",
"country": "<string>",
"account_info": {
"account_number": "<string>",
"account_name": "<string>"
}
}
],
"pdf": "<string>",
"posted": true,
"start_date": "2023-12-25",
"end_date": "2023-12-25"
}'
{
"reference": "<string>",
"due_date": "2023-12-25",
"journal_id": "<string>",
"name": "<string>",
"journal_name": "<string>",
"date": "2023-12-25",
"posted": true,
"id": "<string>",
"items": [
{
"account_number": "<string>",
"partner_id": "<string>",
"description": "<string>",
"debit": 123,
"credit": 123,
"currency": "<string>",
"currency_exchange_rate": 123,
"id": "<string>",
"partner_name": "<string>",
"account_name": "<string>",
"matching_numbers": [
"<string>"
],
"analytic_distribution": [
{
"analytic_plan": "<string>",
"analytic_accounts": [
{
"analytic_account": "<string>",
"percentage": 123
}
]
}
]
}
]
}
Assistant
Responses are generated using AI and may contain mistakes.