Third-party request failed [ERROR CODE:6140, ERROR MESSAGE: Duplicate Document Number Error,
Quickbooks Online sync error 6140
Quickbooks Online: Third-party request failed [ERROR CODE:6430, ERROR MESSAGE: Invalid account type used
Duplicate doc number Quickbooks Online
Duplicate number Quickbooks Online
You may receive a Quickbooks Online sync error in the below 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 is already an invoice or credit note in Quickbooks Online with the same invoice/credit note number.
There are two ways to handle this:
If it is the same invoice/credit note that has already been created in Quickbooks Online 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 Quickbooks Online so that the invoice/credit note from Chargebee can sync through.
Quickbooks Online Third-party request failed [ERROR CODE:6430, ERROR MESSAGE: Invalid account type used, ERROR DETAIL: Invalid account type: You can't associate a product or service with accounts of certain types (such as Accounts Receivable and Accounts Payable). If the product or service is something you sell, use an income account. If the product or service is something you buy, use an expense account.,
In order to fix this, please update the accounting code on the plan/add-on level that is associated with the transaction to an account that is not of the above-mentioned types (such as Accounts Receivable and Accounts Payable) and choose an income or expense account type.
Once done, you should be able to sync them to your Quickbooks Online account.