QuickBooks Online error 6140 "Duplicate Document Number Error" from your sync app
Updated
Your connector (Shopify, Zapier, A2X, Synder, n8n) fails with Duplicate Document Number Error : You must specify a different number. This number has...
Your connector (Shopify, Zapier, A2X, Synder, n8n) fails with Duplicate Document Number Error : You must specify a different number. This number has already been used. (code 6140) and the order never reaches QuickBooks.
| What we checked | Where |
|---|---|
| Intuit error codes (6140) | static.developer.intuit.com |
| Real report of this exact error | stackoverflow.com |
Check it yourself
- Copy the number from the error and search for it in QuickBooks (search box, all transactions). Note what you find before changing anything.
- Date, amount and customer only suggest a match. Confirm it is the same source order through the connector's link to the QuickBooks record or the stored external reference (order ID in the memo or private note). If it is, the connector is retrying a record that already posted: mark the failed item as done in the connector rather than forcing it through.
- If it is a different sale with the same number, two sources share one numbering range. A common cause is Shopify #1001 and Amazon or POS 1001 both posting as invoice or sales receipt 1001. Give each channel its own prefix in the connector settings (for example SH-1001) and replay only the failed records.
- Leave the QuickBooks duplicate-number warning switched on. Switching it off hides the collision and leaves two different sales under one number.
Still failing?
Email the full error text and one record reference to money@iftodo.ai for a free first look. Remove customer names, amounts and credentials, and never send your accounting password. We'll tell you what the error points to. If one record needs a full trace, the fixed-price diagnosis below covers it.
Sales sync diagnosis
We trace one missing, duplicate, or mismatched sales record and send you a written diagnosis and next step. If we can’t establish the cause, we’ll refund the €49.
Pay €49 with iDEAL or card. After checkout, email money@iftodo.ai from the address you used to pay. Include your connector, one redacted record or run reference, and what you expected to see. Leave out customer details, credentials, and full exports.
For a free first look, use the email link in the guide above. We quote repairs separately and can arrange payment by invoice or USDC on Base.
Weekly sync checks for €29 a month
For one Shopify or Square to QuickBooks workflow, we check weekly exports for missing or duplicate records and email you when we find a mismatch. We run a sample first to see whether the two exports have matching references.
Ask for a sample check. We agree how to share exports before starting billing. Cancel by email before your next renewal.