qbo_journal_entries_update
Update an existing QuickBooks Online journal entry by providing the ID, SyncToken, and fields to modify. Only specified fields are changed to ensure data integrity.
Instructions
Sparse-update an existing JournalEntry record. Only provided fields are changed; Id and SyncToken are required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Line | Yes | Array of journal entry lines. Each line: {Amount, DetailType: "JournalEntryLineDetail", JournalEntryLineDetail: {PostingType: "Debit"|"Credit", AccountRef: {value: "id"}, Entity?: {EntityRef: {value, type}}}}. Total debits must equal total credits. | |
| TxnDate | No | Transaction date (YYYY-MM-DD); defaults to today if omitted | |
| DocNumber | No | Reference number for the journal entry | |
| SyncToken | Yes | Current SyncToken of the record (required by QBO for sparse updates; fetch the record first to obtain it) | |
| Adjustment | No | Whether this is an adjusting journal entry | |
| PrivateNote | No | Private memo (not visible on reports) | |
| journalEntryId | Yes | The JournalEntry ID to update |