How do you find duplicate supplier invoices before you import them into Xero or QuickBooks?
By Kayabyte · Last updated 4 November 2026
The same supplier invoice often turns up twice: once as an email attachment and once in a shared folder, or as a scan of a PDF you already have. Before you import bills, list supplier, invoice number and total for every invoice, and treat two rows with all three the same as one invoice. A spreadsheet can find them in a few minutes. Do not rely on the accounting package to catch the second copy for you; check its documentation, because this page did not test how Xero or QuickBooks react to a repeated invoice number.
Method 1: a list and a formula
- Make a sheet with one row per invoice: supplier in column A, invoice number in column B, total in column C.
- In D2 enter
=COUNTIFS(A:A,A2,B:B,B2,C:C,C2)and fill it down. - Filter column D for values above 1. Those rows are the same invoice more than once.
- Keep one copy, preferably the one you can attach to the bill, and remove the others from the batch.
Type suppliers consistently first. Acme Ltd and ACME Ltd. are different text to a formula, and COUNTIFS ignores case but not punctuation or extra spaces, so trim the names before you compare.
Method 2: look for invoices that share a number but differ
Two invoices with the same number and supplier but different totals are not duplicates. They are a credit note, a corrected invoice or a typing mistake, and need a person to decide. Use the same formula without the total (=COUNTIFS(A:A,A2,B:B,B2)) to list them, then check each against the PDFs.
What to avoid
- Matching on the file name. Two different downloads of one invoice often have different names.
- Matching on the total alone. Recurring bills of the same amount are normal.
- Importing first and cleaning up later. A wrong bill has to be voided and entered again.
With Balanced
Balanced reads your invoice PDFs on your Mac and does this check when you export. If two invoices have the same supplier, invoice number and total, the export window shows a switch for the later one: “Leave out” that file, with the name of the invoice it repeats. The second copy is left out by default and you can switch it back on. If you add the very same file twice, the second copy is dropped when it is read. Invoices without a supplier or invoice number cannot be compared this way, so they are never flagged.
For Xero bills and QuickBooks bills exports, Balanced also lists invoices that have no invoice number, which those imports may refuse. The check compares what was read from the PDFs, so a poor scan that misread a digit can hide a duplicate; look at the header in the preview. Balanced writes a file and does not log in to Xero or QuickBooks or send anything for you.
Download Balanced and try it free: the free version reads and checks everything, exports up to 3 invoices in one file, and needs Pro beyond that. Pro is USD 59 per year or USD 7.99 per month. See pricing and the help page. macOS 15 or later. Nothing here is accounting or tax advice.
Steps with Balanced
- Add the invoice PDFs, or a folder of them, to Balanced.
- Check supplier, invoice number and total in the preview for each one.
- Choose Export All and the format for your software, such as the Xero bills or QuickBooks bills CSV.
- In the export window, read the “Leave out” switches and the warnings about missing numbers, and decide for each.
- Export, then compare a few bills with the PDFs before importing.
Questions
Does Balanced remove duplicates without asking? It switches the later copy to “Leave out” and shows you which invoice it repeats. You can switch it back on.
Will it catch the same invoice with a different total? No. Same supplier and number with a different total is shown as two invoices, because it may be a credit note or a corrected invoice.
Does the accounting software warn about duplicates itself? Not tested here. Check the Xero or QuickBooks help for how they treat a repeated invoice number.
Related guides
- Import supplier invoices into Xero bills
- Import bills into QuickBooks Online from CSV
- Invoice PDF to Excel with line items
More guides
- How do you import an Amazon settlement report into QuickBooks Online or Xero?
- How do you export an American Express statement to CSV?
- How do you export Apple Card transactions to a spreadsheet?
- Balanced vs DocuClipper, ProperConvert, Dext and Craftybase
- Balanced vs pdf2csv and Cisdem PDF Converter OCR for bank statements on a Mac
- How do you convert a Bank of America statement to Excel?
- How do you turn a bank statement into Beancount?
- What is the best bank statement converter for Mac?
- How do you export a Capital One statement to Excel?
- How do you convert a Chase statement to Excel or CSV?
- How do you convert a PDF bank statement to CSV?
- How do you convert a PDF bank statement to Excel?
- What are the alternatives to Dext, Hubdoc and AutoEntry on a Mac?
- What are the alternatives to DocuClipper on a Mac?
- How do you get an eBay transaction report into Excel or QuickBooks?
- How do you reconcile your Etsy 1099-K with your sales?
- How should you book Etsy sales tax, fees and deposits?
- How do you convert an Etsy monthly statement to a Schedule C worksheet?
- How do you import a bank statement into Actual Budget?
- How do you get a PDF bank statement into Google Sheets?
- How do you import a PDF bank statement into Xero?
- How do you import a PDF bank statement into YNAB?
- How do you do bookkeeping for Etsy, eBay, Amazon and Shopify sales on a Mac?
- How do you get a PayPal activity report into QuickBooks or Xero?
- Can you upload a PDF bank statement to QuickBooks Online?
- How do you convert a PDF bank statement to OFX?
- How do you turn a PDF bank statement into a QBO file for QuickBooks?
- How do you get a PDF bank statement into Quicken as QIF or QFX?
- Is there a bank statement converter that does not upload your files?
- What are the alternatives to ProperConvert on a Mac?
- How do you turn a receipt into a CSV on a Mac?
- How do you convert a scanned bank statement to CSV on a Mac?
- How do you reconcile Shopify payouts with your orders?
- How do you reconcile Stripe payouts with a CSV report?
- How do you convert a Wells Fargo statement to CSV?
- Why doesn’t my converted bank statement add up?