--- title: "QBO Error: Can’t export Payment(#######). Attempt to add QBO JournalEntry has failed with the following error: 400- BadRequest Validation Exception was thrown. 2020 - Required parameter AccountRef is missing in the request" slug: "qbo-error-cant-export-payment-attempt-to-add-qbo-journalentry-failed" updated: 2026-10-15T00:21:30Z published: 2026-10-15T00:21:30Z canonical: "help.servicetitan.com/qbo-error-cant-export-payment-attempt-to-add-qbo-journalentry-failed" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.servicetitan.com/llms.txt > Use this file to discover all available pages before exploring further. # QBO Error: Can’t export Payment(#######). Attempt to add QBO JournalEntry has failed with the following error: 400- BadRequest Validation Exception was thrown. 2020 - Required parameter AccountRef is missing in the request ## Problem You may receive this error if you have not specified a general ledger account for the payment type in ServiceTitan. ## Solution ### Edit payment type In ServiceTitan: 1. Click the **Settings** icon. 2. In the side panel, click **Invoicing** > **Payment and Invoice Types**. ![](https://cdn.document360.io/961862ab-d0f2-4d91-bb62-a62ee8184eff/Images/Documentation/qbo-error-cant-export-paymentid.-attempt-to-add-qbo-journalentry-has-failed-with-the-following-error-400--badrequest-validation-exception-was-thrown.-2020---required-parameter-accountref-is-missing-in-the-request-image-1wrkmq3t.png?sv=2026-02-06&spr=https&st=2026-10-31T03%3A46%3A36Z&se=2026-10-31T04%3A46%3A36Z&sr=c&sp=r&sig=t7RR9c8%2FeHdiTRPpPs0n8Sqn2AKyfO%2BaPCAj%2FqKrKGs%3D) 3. Click **Edit** for that payment type and add the account associated with the payment. ![](https://cdn.document360.io/961862ab-d0f2-4d91-bb62-a62ee8184eff/Images/Documentation/qbo-error-cant-export-paymentid.-attempt-to-add-qbo-journalentry-has-failed-with-the-following-error-400--badrequest-validation-exception-was-thrown.-2020---required-parameter-accountref-is-missing-in-the-request-image-l2q13hm6.png?sv=2026-02-06&spr=https&st=2026-10-31T03%3A46%3A36Z&se=2026-10-31T04%3A46%3A36Z&sr=c&sp=r&sig=t7RR9c8%2FeHdiTRPpPs0n8Sqn2AKyfO%2BaPCAj%2FqKrKGs%3D) ![](https://cdn.document360.io/961862ab-d0f2-4d91-bb62-a62ee8184eff/Images/Documentation/qbo-error-cant-export-paymentid.-attempt-to-add-qbo-journalentry-has-failed-with-the-following-error-400--badrequest-validation-exception-was-thrown.-2020---required-parameter-accountref-is-missing-in-the-request-image-buzefay1.png?sv=2026-02-06&spr=https&st=2026-10-31T03%3A46%3A36Z&se=2026-10-31T04%3A46%3A36Z&sr=c&sp=r&sig=t7RR9c8%2FeHdiTRPpPs0n8Sqn2AKyfO%2BaPCAj%2FqKrKGs%3D) 4. On the Accounting Page, pull up the Batch with the error > Right Click + Reload anywhere on the screen to hard refresh the page > export the Batch. ### Related Content - [Fix common QuickBooks errors](/construction/docs/fix-common-quickbooks-errors-qbo) - [QBD Onboarding Step 5: Set up payment types for QuickBooks](/construction/docs/qbd-onboarding-step-5-set-up-payment-types-for-quickbooks) A batch, or invoice batch, is a set of invoices that have been audited and are ready to post. You will use the Invoice screen in ServiceTitan to create invoice batches. On the Invoice screen, you'll have access to unbatched and batched invoices. [Learn more →](https://help.servicetitan.com/docs/servicetitan-glossary) · [See the full glossary →](https://help.servicetitan.com/docs/glossary-overview)