Update journal line
update_journal_lineChange ONE debit or credit line of an existing journal entry in place; to rewrite the whole entry use save_journal_entry, and to add a line use add_journal_line. Changes its account, debit or credit amount; identify the line by its id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Line id (for updating an existing line). | |
| role | No | Optional line role: what the amount is (e.g. sars-3601), set by the producer. Lowercase letters, digits and hyphens, at most 64 characters. Send "$delete" to clear it; omit it to leave it alone. | |
| 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). |