QuickBooks Online sync error 6140 and 6430
Problem Statement
You see one of two QuickBooks Online sync errors: 6140 (Duplicate Document Number) or 6430 (Invalid account type). You need the cause and how to fix each.
Solution
Error 6140: Duplicate Document Number
You may see: "Third-party request failed [ERROR CODE:6140, ERROR MESSAGE: Duplicate Document Number Error... DocNumber=xxx is assigned to TxnType=Invoice..."
This occurs when an invoice or credit note with the same number already exists in QuickBooks Online.
Options:
- If the same invoice or credit note was already created manually in QuickBooks Online, you can ignore this sync error in Chargebee so it does not appear again.
- Re-number the existing invoice or credit note in QuickBooks Online so that the one from Chargebee can sync.
Error 6430: Invalid account type
You may see: "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..."
QuickBooks does not allow product or service items to be linked to Accounts Receivable or Accounts Payable. They must use an income or expense account.
Steps to Set It Up (Error 6430)
- Update the accounting code (account) on the plan or addon in Chargebee that is associated with the transaction.
- Use an income account (for items you sell) or an expense account (for items you buy), not A/R or A/P.
- After updating, sync again to QuickBooks Online.
Was this article helpful?