Headers
-
API token (can be retrieved from account settings)
-
ID of organization, for which the operation must be performed
Body
Required
-
Entity ID. If negative value, a new entity will be created
-
Organization ID
-
Entry reference ID (displayed as entry number)
-
Entry date (format dd/MM/yyyy)
-
Entry description
-
Total amount of the entry, computed as the maximum of total debit and total credit in company currency
-
Slash-separated list of debit account numbers
-
Slash-separated list of credit account numbers
-
Journal entry type
Values are
OPENING,MANUAL,PURCHASE_INVOICE,SALES_INVOICE,SALARY_SLIP,STOCK,CLOSING,SYSTEM,SYSTEM_FX,SYSTEM_PFUV, orFIXED_ASSET. -
Request model for a journal entry line
POST
/api-v1/journal/batch
curl \
--request POST 'https://wyzio.app/api-v1/journal/batch' \
--header "Content-Type: application/json" \
--data '[{"id":12345678,"organizationId":12345678,"entryId":12345678,"entryDate":"01/06/2026","description":"Office rent payment","amount":1200.0,"debitAccounts":"1000/2000","creditAccounts":"3000/4000","type":"MANUAL","journalLines":[{"id":12345678,"journalEntryId":12345678,"accountId":12345678,"description":{"id":12345678,"en":"English translation","fr":"Traduction française","de":"Deutsche Übersetzung","it":"Traduzione in italiano"},"accountCurrencyId":12345678,"foreignCurrencyId":12345678,"accountDebit":100.0,"accountCredit":-100.0,"foreignDebit":100.0,"foreignCredit":-100.0,"companyDebit":100.0,"companyCredit":-100.0,"departmentId":12345678,"contactId":12345678,"orderId":12345678,"articleId":12345678,"vatCodes":[{"id":12345678}],"officeId":12345678}]}]'
Request examples
# Headers
# Payload
[
{
"id": 12345678,
"organizationId": 12345678,
"entryId": 12345678,
"entryDate": "01/06/2026",
"description": "Office rent payment",
"amount": 1200.0,
"debitAccounts": "1000/2000",
"creditAccounts": "3000/4000",
"type": "MANUAL",
"journalLines": [
{
"id": 12345678,
"journalEntryId": 12345678,
"accountId": 12345678,
"description": {
"id": 12345678,
"en": "English translation",
"fr": "Traduction française",
"de": "Deutsche Übersetzung",
"it": "Traduzione in italiano"
},
"accountCurrencyId": 12345678,
"foreignCurrencyId": 12345678,
"accountDebit": 100.0,
"accountCredit": -100.0,
"foreignDebit": 100.0,
"foreignCredit": -100.0,
"companyDebit": 100.0,
"companyCredit": -100.0,
"departmentId": 12345678,
"contactId": 12345678,
"orderId": 12345678,
"articleId": 12345678,
"vatCodes": [
{
"id": 12345678
}
],
"officeId": 12345678
}
]
}
]
Response examples (200)
{
"items": [
{
"errorCode": {
"errorCode": "NO_ERROR",
"errorDetailValues": [
{
"errorCode": "string",
"fieldName": "string",
"data": "string",
"isSevere": true
}
]
},
"possibleWorkflows": [
{
"id": 42,
"name": "string"
}
],
"error": true,
"severeError": true
}
]
}