Steps 1 and 2: export and clean
Export paid invoices for the period with vendor, invoice number, invoice date, pay date, amount and method. Then clean the keys: uppercase the invoice number, strip a leading INV, remove spaces and punctuation, drop leading zeros. In the demo, 88231 and 0088231 become the same key, as do CB-7710 and CB7710.
Steps 3 and 4: match and widen
Group by amount first, because an amount is the stable field. Within each group, the exact vendor and invoice number is tier 1; matching cleaned keys is tier 2; keys within two edits and invoice dates within 14 days is tier 3. Dunmore's R-5503 and R-5530 are two transposed characters, which is two edits, and the invoices were 7 days apart.
| Pair | Vendor | Tier | Why it matched | At risk |
|---|---|---|---|---|
| P-5001 / P-5017 | Alder Steel Co | Tier 1 | Same vendor, same invoice number, same amount; first paid by ACH, again by check 14 days later | $4,820.00 |
| P-5002 / P-5020 | Brightwell Freight | Tier 2 | Same vendor and amount; invoice 88231 and 0088231 match once leading zeros are dropped | $1,260.50 |
| P-5003 / P-5030 | Cobalt Office Supply / Supplies Inc | Tier 2 | Two vendor records; CB-7710 and CB7710 match once punctuation is dropped; same amount | $389.75 |
| P-5004 / P-5025 | Dunmore Equipment Rental | Tier 3 | Same vendor and amount, invoices 7 days apart; R-5503 and R-5530 differ by a transposition | $2,150.00 |
| P-5007 / P-5035 | Granite Ridge Electric | Tier 3 | Same vendor, amount and invoice date; invoice 3391 and 3391-A differ by a suffix | $3,310.25 |
A quick manual method if you have no tool
- Sort paid invoices by amount.
- Look for equal amounts within one vendor.
- Within those, compare invoice numbers and dates.
- Then sort by vendor name and look for look-alike names with equal amounts.
It is slow and misses what spreads across the sort, but it works on a small file.
Steps 5 and 6: confirm and recover
- Open the invoice and both payment records for each pair.
- Look for credits, a second legitimate bill, or a return on one payment.
- ACH within five banking days: ask the bank about a reversal (Nacha guidance on ACH reversals).
- Otherwise ask the vendor in writing for a refund or credit memo.
- Log the result and fix the cause.
Frequently asked questions
Why match on amount first?
It is the field least likely to change between a bill and its duplicate.
Can I do this in Excel?
Partly. See the comparison with Excel for what gets hard.
What if the vendor refuses?
Document the facts and escalate under your own policy.
Official source. The ACH reversal limit cited on this page is described in Nacha: A Second Chance, Understanding ACH Reversals. Always confirm current rules, dates and rates on the official page before you rely on them.