QuickBooks sync error 6140

Modified on: Wed, 3 Aug, 2022 at 12:56 PM

This article covers 

Third-party request failed [ERROR CODE:6140, ERROR MESSAGE: Duplicate Document Number Error,

Quickbooks sync error 6140


If you have received a Quickbooks sync error in the format-

“Third party request failed [ERROR CODE:6140, ERROR MESSAGE:Duplicate Document Number Error, ERROR DETAIL:Duplicate Document Number Error : You must specify a different number. This number has already been used. DocNumber=xxx is assigned to TxnType=Invoice with TxnId=xxx, MORE ERROR DETAIL:]”

This error occurs when there already exists an invoice/credit note in QB with the same invoice/credit note number. 


There are 2 ways to handle this:


  • If it is the same invoice/credit note that has already been created in QB manually, then you can simply choose to ignore this sync error so that it does not show up again in the future.

  • Re-number the invoice/credit note already existing in QB so that the invoice/credit note from Chargebee can sync through.

Related Articles

How to sync Chargebee Custom Fields to Quickbooks?

Quickbooks - Error code: 6200/6210;Account period closed

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.