Journal Entries
Update a journal entry
Mutations to entries in closed fiscal years are rejected with 403. System entries (opening balance, FX revaluation) answer 400 SYSTEM_ENTRY_READ_ONLY. An entry with a foreign-currency line or a line on a foreign-currency (FW) account answers 400 FX_REVALUATION_LIVE when a live FX revaluation run exists for its current or target fiscal year: an in-place edit would leave the run looking current. Reverse the entry (POST /journal-entries/{id}/reverse) and book a new one, or re-run the revaluation.
put/journal-entries/{id}
Request
- Base URL: https://api.lumabill.ch/v1
- URL: https://api.lumabill.ch/v1/journal-entries/{id}
- Auth: HTTP bearer
Request body
Example request
{
"entryDate": "2025-05-15",
"description": "Invoice payment received from Müller AG",
"lines": [
{
"amount": 1000,
"vatCode": "VM81",
"originalCurrency": "CHF",
"originalAmount": 1062.47,
"exchangeRate": 0.9412
}
]
}Response
Updated journal entry
Example response
{
"id": "c3d4e5f6-3456-789a-cdef-012345678901",
"entryDate": "2025-05-15",
"description": "Invoice payment received from Müller AG",
"lines": [
{
"accountCode": "1020",
"accountName": "Bank",
"amount": 1000,
"vatCode": "VM81",
"originalCurrency": "CHF"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.