The 2020 Legal Trends Report is now available. Get the latest insights here.

Quickbooks Error Code: (6140)


  • Quickbooks Error Code (6140): Duplicate Document Number Error 


  • Clio Manage
  • Quickbooks

Additional Information: 

  • For a full list of Quickbooks Error Codes click here.
  • To find Quickbooks errors click here.


This indicates that either a Bill, a Bill Payment, an Interest charge, or maybe something else has not been synced because the QBO Document Number that Clio is trying to use has already been used by Quickbooks. There are cases where a duplicate number doesn't exist in Quickbooks, but the invoice number is still not accepted by Quickbooks. 


  1. Select Settings
  2. Select Bill Syncing 
  3. Locate the Error Code by scrolling down 
  4. Select Retry

If the above steps don't correct the issue. Modify the invoice number either in Clio or in QBO first, and then complete the steps listed above. It may be best to make the modification to the Invoice in QBO that is causing the issue as this is not a Customer Facing Invoice.  To edit the invoice number in Clio, complete the following steps: 

  1. Open the Invoice 
  2. If there are any payments, select Delete in the top right hand side of the screen 
  3. Select Edit 
  4. Update the invoice number by retyping a higher number in the ID# field 
  5. Select Save invoice 
To change an invoice number in QBO follow the steps below:
  1. Go to Sales or Invoicing, then click on the Invoices tab.
  2. Select the invoice in question.
  3. Go to the Invoice no. field and change the invoice number.
  4. Click Save and Close or Save and Send.

Finally, if the above steps still do not resolve the issue, try deleting the invoice and re-generating. 



Was this article helpful?
This information is confusing or wrong
This isn't the information that I was looking for
I don't like this functionality