Ledger Entries
Update ledger entry (full replacement)
Changed onUpdates an existing ledger entry using PUT semantics (full replacement).
Transitioning status to reversed atomically reverses the balance delta on the parent LedgerAccount. Other status transitions (e.g. pending → posted) do not affect the balance.
put/api/ledger-entries/{id}
Request
- Base URL: http://localhost:4100
- URL: http://localhost:4100/api/ledger-entries/{id}
- Auth: none required
Path parameters
idstring uuid required
Ledger entry ID
Request body
Example request
{
"account_holder_id": "02ef9c5f-29e6-48fc-9ec3-7ed57ed351f6",
"amount": 0,
"currency": "",
"entry_date": "2020-04-20",
"entry_type": "credit",
"external_entry_id": "",
"ledger_account_id": "02ef9c5f-29e6-48fc-9ec3-7ed57ed351f6",
"limits_at_entry": [
null
],
"status": "pending",
"tenant_id": "02ef9c5f-29e6-48fc-9ec3-7ed57ed351f6"
}Changes
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- warning
removed the request property
- info
added the new optional request property
- warning