Update journal line
update_journal_lineUpdate a single debit/credit line on an existing journal entry — change its account, debit or credit amount. Identify the line by its id. Pairs with add_journal_line; to edit the whole entry use save_journal_entry.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Line id (for updating an existing line). | |
| debit | No | Debit amount for this line (0 if this is a credit line). | |
| credit | No | Credit amount for this line (0 if this is a debit line). | |
| entryid | No | Id of the parent journal entry this line belongs to. | |
| accountid | No | Chart-of-accounts account id for this line (see list_accounts). |