Update a ledger entry

Update a ledger entry

ℹ️

This endpoint requires one of the following scopes: ledger

Log in to see full request history
Path Params
string
required
Body Params
date

date-time format is deprecated. Please use date format (ISO 8601).

string

Label that describes the ledger entry

integer

The journal ID where you want to create the ledger entry

integer

Ledger attachment ID

string

Currency code of the ledger entry as per ISO 4217. This currency is applicable to all ledger_entry_lines

ledger_entry_lines
object

Add, update, delete ledger entry lines. The entry lines must be balanced.
In total, max number of entry lines that you can create, update or delete using this endpoint is 1000 per request.

Responses

Response body
object
integer
required

ID of the ledger entry

string
required

Label that describes the ledger entry

date
required

Date of the ledger entry (ISO 8601)

integer
required

The journal ID where the ledger entry was created

string | null
required

Attachment's filename

integer | null
required

Ledger attachment ID

ledger_entry_lines
array of objects
required

Array of entry lines

ledger_entry_lines*
object
integer
required

ID of the entry line

string
required

Debit amount for the entry line

string
required

Credit amount for the entry line

integer
required

Ledger account ID

string
required

Label that describes the entry line

Language
Credentials
OAuth2