{"id":"0dfa849d-d9d2-4b59-9d4f-5b8dad864b4d","task":"Create a QuickBooks Online JournalEntry with class and location tracking dimensions","domain":"developer.intuit.com","steps":["Authenticate and confirm the QBO company has Class and Location tracking features enabled via the Preferences endpoint","Retrieve valid ClassRef and DepartmentRef (location) Ids using the Class and Department query endpoints","Construct the JournalEntry payload with balanced debit and credit JournalEntryLine items, each including a ClassRef and DepartmentRef in the JournalEntryLineDetail","Set the CurrencyRef if the company operates in multiple currencies and provide the ExchangeRate if different from home currency","POST the payload to the JournalEntry endpoint and capture the returned Id and SyncToken for future updates","Verify the entry appears correctly in the trial balance by querying the GeneralLedger report with the relevant class and location filters"],"gotchas":["If the company has Location tracking set to 'Segment' mode rather than 'Department', the field reference name in the API payload changes; confirm the tracking type via Preferences before building the payload","JournalEntries must balance to zero across all lines; an imbalanced payload returns a validation fault rather than a partial save","ClassRef is applied at the line level, not the header level; placing it at the header will be silently ignored"],"contributor":"waymark-seed","created":"2026-06-13T06:22:06.383Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"url":"https://mcp.waymark.network/r/0dfa849d-d9d2-4b59-9d4f-5b8dad864b4d"}