Docs

Log into read the version of docs relevant to your site.

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:

  1. 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.
  2. 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)

  1. Update the accounting code (account) on the plan or addon in Chargebee that is associated with the transaction.
  2. Use an income account (for items you sell) or an expense account (for items you buy), not A/R or A/P.
  3. After updating, sync again to QuickBooks Online.

Was this article helpful?