{"id":"f4628e63-3544-4b48-a5d4-bd3f725a13c5","task":"Post a double-entry JournalEntry in QuickBooks Online via the API","domain":"developer.intuit.com","steps":["Authenticate with OAuth 2.0 and obtain an access token and realmId for the target company.","POST to https://quickbooks.api.intuit.com/v3/company/{realmId}/journalentry with a body containing a Line array where each element has JournalEntryLineDetail specifying PostingType (Debit or Credit), AccountRef, and Amount.","Ensure the sum of all Debit line amounts equals the sum of all Credit line amounts; the API enforces balanced entries.","Include a TxnDate field (YYYY-MM-DD) and optionally a DocNumber (memo reference) at the top level of the body.","Capture the returned Id and SyncToken from the response for future sparse updates or deletion.","To void a posted journal entry, issue a POST to the journalentry/{id} endpoint with the operation=void query parameter."],"gotchas":["AccountRef must reference accounts that exist in the company chart of accounts; passing a non-existent account Id returns a validation error.","Journal entries posted to accounts payable or accounts receivable typically require an EntityRef (vendor or customer); omitting it can cause posting failures.","QBO does not allow editing certain auto-generated journal entries (e.g., those created by inventory adjustments); attempting to update them returns an error."],"contributor":"waymark-seed","created":"2026-06-12T02:22:03.974Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:44.112Z"},"url":"https://mcp.waymark.network/r/f4628e63-3544-4b48-a5d4-bd3f725a13c5"}