qbo_journal_entries_create
Creates a journal entry in QuickBooks Online with debit and credit lines, ensuring balanced totals. Specify transaction date, document number, and private notes.
Instructions
Create a new JournalEntry record in QuickBooks Online.
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 | |
| Adjustment | No | Whether this is an adjusting journal entry | |
| PrivateNote | No | Private memo (not visible on reports) |