In this guide

Compare invoice records before releasing the payment run

Two invoices for SAR 920 can both be legitimate. The same invoice can also reappear with an added space in its number. Start with one row per invoice, not each item. Bring together unpaid invoices, the proposed payment run and enough paid history for your review window. Keep original document number, supplier ID, type, currency, gross and invoice reference alongside the matching fields. If one posted record appears in two exports, retain one row for that internal posting ID. Keep separate postings with the same invoice number visible.

Use a transparent first pass in Excel

Create an invoice-number copy for comparison. Trim accidental spacing and normalize case if the supplier’s numbers are case-insensitive. Preserve significant leading zeros and keep the printed value. If the same number can recur in a supplier’s documented numbering series, include the series in the review key. Compare invoices separately from credit notes.

If column A contains supplier IDs and column B contains cleaned invoice numbers for the 199 invoice rows, copy this from row 2. Extend the ranges to cover your own export.

=IF(OR(A2="",B2=""),"",COUNTIFS($A$2:$A$200,A2,$B$2:$B$200,B2))

A value above 1 is a candidate. Check both occurrences. For purely numeric invoice identifiers with significant leading zeros, or values containing literal wildcards, use exact text matching. For example, SUMPRODUCT(--EXACT($A$2:$A$200,A2),--EXACT($B$2:$B$200,B2)) can count identical pairs after any intended case normalization.

Check suspected duplicates against the original records

SupplierCleaned invoice numberPosting IDGross (SAR)Matching rows
S-017INV-0041P-1019202
S-017INV-0041P-1029202
S-083INV-0041P-1039201

P-101 and P-102 form one pair to investigate. Each row shows 2 because the formula counts the row itself and the other posting. P-103 matches only itself. The amount is the same on all three rows, but the supplier on P-103 is different.

List exact repeated keys and a separate list of near matches by supplier, currency, gross and a short date window. Retain all source row references. Show the matching fields and leave the payment decision pending.

Before releasing payment for the flagged pair, check the original invoice, purchase order and payment history for both posting IDs. Follow your payment policy while the pair is under review. Record whether another copy was posted, or whether the records represent separate transactions. AI’s fuzzy suggestions can broaden the list. Reviewers clear the exceptions.

Sources

Sources checked ·