← Blog
Invoice controls6 min read

Duplicate invoice detection: how to stop paying the same bill twice

Why duplicate invoices slip through, the five fields that catch most of them, and how to route a suspected duplicate to a person without dropping the document.

Emetuche Winner

AI systems engineer

Illustration of two matching invoices, a magnifying glass, and a duplicate warning.
The second payment is the symptom, not the cause.

A duplicate payment is rarely dramatic. It is a supplier resending an invoice, the same PDF arriving in two inboxes, or a vendor reissuing a bill with a new date. The first payment is correct. The second one is the problem.

The second payment is the symptom. The missing check is the cause.

Why duplicate invoices happen

  • A supplier resends the same invoice because the first email was missed.
  • The same invoice arrives in a shared inbox and a personal inbox.
  • A PDF and a phone photo of the same invoice both get uploaded.
  • A vendor reissues an invoice with a new number or a new date.
  • A deposit invoice and a balance invoice look almost identical.
  • A credit note is filed without being linked to the original invoice.

None of those require bad intent. They require a system that remembers what it has already seen and shows a person why a document looks familiar.

File duplicates vs invoice duplicates

There are two different problems. A file duplicate is the same bytes arriving twice. A SHA-256 hash catches it before extraction. An invoice duplicate is the same commercial document arriving as a different file: a reissued PDF, a scan, or a forwarded attachment. The hash will not match, because the bytes are different.

That is why duplicate detection needs a second layer. Normalize the invoice into a key, then compare that key against invoices that are already in the workspace.

The five fields that catch most duplicates

  • Vendor. Normalize case, spacing, and punctuation, but keep the printed name on the record.
  • Invoice number. Strip spaces and punctuation so INV-1042 and INV 1042 compare the same.
  • Invoice date. Normalize to one date format before comparing.
  • Total. Compare the amount exactly; a few cents is a different invoice.
  • Currency. The same number in two currencies is not the same bill.

The key is not a replacement for review. It is a reason to look. A match should surface the original invoice beside the new document, with the matching fields highlighted.

Where exact matching fails

A vendor may change its trading name. An invoice number may gain a prefix. A reissue may move the date by a day. A credit note may reduce the total. A partial payment may make the remaining balance look like a new invoice.

A useful system does not pretend those cases do not exist. It flags the match it can prove, explains which fields matched, and routes the rest to a person. The failure mode to avoid is silently deleting or auto-rejecting a document.

What should happen when a duplicate is found

  • Mark the invoice as a duplicate and link it to the original.
  • Route it to review instead of approving it automatically.
  • Show the original invoice and the matching fields side by side.
  • Record the reviewer's decision and reason in the audit trail.
  • Keep the source file. A duplicate is still evidence.
  • Do not treat a duplicate-flagged invoice as ready for posting.

How Recutr handles it

Recutr hashes every uploaded file, so the exact same bytes are recognized before extraction. After extraction, it normalizes the vendor, invoice number, date, total, and currency into an invoice key and compares it with existing records.

A match forces the invoice into needs review and sets a link to the original. The reviewer sees the flag, the source, and the reason. Nothing is dropped silently, and the duplicate never becomes an approved bill by accident.

SignalWhat it catchesWhat it can miss
File hashThe exact same file arriving twiceA reissued PDF or a photo of the same invoice
Normalized invoice keySame vendor, number, date, total, and currency in a different fileRenamed vendor, changed date, credit note, partial payment
Human reviewContext, legitimate reissues, and edge casesNothing by itself; it depends on the reviewer seeing the source
Three layers, three different jobs.

Run this audit on last month's invoices

You do not need new software to find out whether this is a real problem. Export last month's invoices and look for:

  • The same invoice number appearing more than once.
  • The same vendor and total appearing on two dates.
  • The same total and date with a slightly different vendor name.
  • A payment recorded twice for the same invoice number.
  • A credit note that is not linked to an invoice.

Count how many you caught manually. That number is the baseline your automation has to beat.

What to ask a vendor

  • Does it hash files before extraction?
  • Does it normalize the vendor and invoice number, or only compare exact text?
  • Does a duplicate get auto-rejected, or routed to a person?
  • Can the reviewer see the original invoice beside the suspected duplicate?
  • Can a reviewer mark a reissue as legitimate and record why?
  • Does the duplicate decision appear in the audit trail?

The goal is not zero flags. It is zero silent duplicates. A flagged invoice that a person resolves in thirty seconds is a control. A duplicate that slips through because the file looked different is a payment you have to recover.

Questions

Can duplicate invoice detection be fully automatic?

It can catch most duplicates automatically, especially exact files and invoices with the same vendor, number, date, total, and currency. Reissues and edge cases still need a person, which is why the suspected duplicate should route to review with the original beside it.

What is the difference between a duplicate file and a duplicate invoice?

A duplicate file is the same bytes arriving twice, which a hash can catch. A duplicate invoice is the same commercial document arriving as a different file, such as a reissued PDF or a scan. That needs a normalized invoice key and often a human review.

Will Recutr delete a suspected duplicate?

No. It marks the invoice as a duplicate, links it to the original, and routes it to review. The source file stays on the record.

Does it catch a reissued invoice with a new number?

Not reliably. If the invoice number changed, the normalized key may not match. The invoice can still be flagged by another signal, but the reviewer makes the final call.

Does a duplicate flag block payment?

A duplicate-flagged invoice is routed to review and is not treated as ready for posting. A person has to resolve it before it can move forward.

Can a legitimate reissue be approved?

Yes. The reviewer can clear the duplicate flag or reject the invoice, and the action is recorded on the audit trail. A review decision can also carry a reason.

More notes

Recutr

Put invoices on the desk.

Extraction, review, PO matching, and accounting posting — with the source attached to every record.