QBO Error: Can’t export Invoice (ID=######) 400 - BadRequest ValidationException was thrown. 6140 - Duplicate Document Number Error: You must specify a different number. This number has already been used. Duplicate Document Number Error. Last updated on 05/12/2023
This article explains the steps to solve the QBO Error "400 - BadRequest ValidationException was thrown. 6140 - Duplicate Document Number Error: You must specify a different number. This number has already been used. Duplicate Document Number Error."
This error is received if an invoice already exists in QuickBooks with the same Invoice ID number.
Search your QuickBooks company file for this invoice number
If the invoice found is identical to the one you are attempting to export from ServiceTitan, it may have been entered manually and will just need to be bypassed from the Pending Export Report.
If this is a different invoice, one from previous software, for example, retain this number in QuickBooks and update the invoice number in ServiceTitan. Open the invoice, click Update Invoice Details, edit the invoice # to a unique sequence, and save.
To find the Invoice ID
The Invoice or Document ID number can be found in the error message.
In QBO click on Search > Select Invoices from the first drop-down > Select Invoice No. from the second drop-down > Select Contains from the third drop-down > Enter the Invoice ID > Click Search.
If your search returns a result that means the invoice was likely entered manually in your QBO.
To resolve the issue, in ServiceTitan you will change the Invoice ID to make it unique.
You can do this by clicking on Update Invoice Details > slightly change the invoice number (adding a symbol, letter, or a number to it).
On the Account Page, pull up the Batch with the error > Right Click + Reload anywhere on the screen to hard refresh the page > export the Batch.
Important note: Some features may not be currently included in your account and additional configuration may be required. Please contact technical support for details.
Disclaimer: Information provided in this article is for informational purposes only and it should not be construed to be legal advice. Information provided in this article may also not constitute the most up-to-date legal or other information. You should not act or refrain from acting on the basis of any information in this article to meet any compliance requirements without seeking independent legal or other professional advice.