Add journal line
add_journal_lineAdd a line (a debit or credit against one account) to an existing journal entry. Pairs with update_journal_line. To create a whole new 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). |