Flag Possible Duplicate Vendor Payments in CSV
Short answer
Review vendor payment CSVs in Assistly. Surface possible duplicates and distinguish them from split payments, credits, and repeated exports.
The ledger on screen is a cleared payments export from March: 1,106 rows of Abu Dhabi supplier payments in AED. Priya S. is hunting duplicates, and the first thing she does is refuse the obvious method, because eyeballing a thousand rows for repeated amounts catches the loud pairs and misses the quiet 248.70 paid twice in different weeks. The working method: group by vendor and normalized invoice reference, sort every group into a named category, and prove each category with its own test.
The flags that come out are candidates, never verdicts. Assistly does the grouping, the flagging, and the workbook from the export you attach; confirming a duplicate means checking the invoice record, the agreements, and the identifiers, a person's job with the sources open.
The candidate ledger
Start from the cleared payments export, not scheduled or approved items that may never have been released, with voided and reversed lines excluded deliberately through a status column. The minimum columns: payment identifier, vendor or payee ID, invoice reference as the source system writes it, amount, currency, payment date, status, plus the source file name and export timestamp, because that pair explains why two identical-looking rows both exist. Sum the amount column by currency first; exports can be truncated, so split very large files by month or vendor group and confirm the parts add back.
Then normalize before comparing, because most false negatives are inconsistent identifiers, not clever duplicates. One rule per field, applied to every row: uppercase letters, strip spaces and punctuation from invoice references, and remove leading zeros only if the ID scheme says they are insignificant. V-20417 and V20417 are the same vendor; HPS-2291, HPS 2291, and hps-2291-a are the same invoice wearing three costumes. Amounts stay plain decimals with currency beside them, because 248.70 AED and 248.70 EUR are different payments that happen to share digits.
Four categories, four tests
A group with more than one payment lands in exactly one of four categories, each with its own proof. A partial payment is an invoice settled in agreed installments; the test is arithmetic, the amounts sum to the invoice total, and the invoice record shows the installment agreement. A credit is a credit memo or refund reducing what was owed; the test is the memo itself, which exists. A mirrored export is the same payment appearing twice because two overlapping extracts were merged; the test is identifier uniqueness, the payment ID is identical, and the export timestamps differ. A true repeat is the second payment for one obligation with no documented reason; the test is the absence of any installment, credit, or memo explaining two releases, and only this category becomes a probable duplicate heading for recovery review. Continue with a related workflow: AI for Stripe Payout Reconciliation With Bank CSV
A prompt to copy into Assistly
Using the attached cleared payments export, group rows by vendor ID and normalized invoice reference, using only rows with status cleared. For each group with more than one row, report the payment identifiers, amounts, currencies, and dates. Sort groups into three lists: those sharing an exact amount and currency, those whose amounts sum to another row's amount in the same group, and those containing a negative amount. Flag any group whose total exceeds the invoice total provided below and list it first. Apply these normalization rules before matching: uppercase, strip spaces and punctuation from invoice references, ISO dates. Create an Excel file with one row per candidate group and columns for group key, payment identifiers, category, arithmetic check, and decision pending. Do not change or remove any source row, and flag any indication the export was truncated. Invoice totals: GPS-4460 is 248.70 AED and EFS-7714 is 248.70 AED.Try this task
See it in practice
Paid twice, provably
What to give Assistly. Vendor PK-7452, Gulf Print Supply, normalized invoice reference GPS-4460, invoice total 248.70 AED. The March cleared export holds two rows: PMT-88104 dated 2026-03-04 for 248.70 AED and PMT-88131 dated 2026-03-11 for 248.70 AED, both status cleared, same export.
What Assistly returns. The group flags on matching vendor and invoice reference with equal amounts. The arithmetic: group total 497.40 against an invoice total of 248.70, meaning the vendor was paid twice what was owed. The identifier check: PMT-88104 and PMT-88131 are different payment IDs, so this is not a mirrored export. The invoice record check: no installment agreement, no credit memo. Category: probable true repeat, escalated for recovery review with the reason written out: two cleared payments of 248.70 AED against one invoice totaling 248.70 AED, no installment or credit documented. Contacting the vendor and pursuing recovery belong to the manager who owns that relationship; the flag's job ended at making the case undeniable.
How to verify it. Find both payment IDs in the source export and read the amounts. Check the invoice register for GPS-4460's total and any linked credit memos.
Equal amounts that are not a duplicate
What to give Assistly. Vendor PK-3907, Emirates Fleet Services, invoice EFS-7714, total 248.70 AED. The export shows PMT-90217 dated 2026-05-02 for 124.35 AED and PMT-90263 dated 2026-05-09 for 124.35 AED.
What Assistly returns. The group flags, because equal amounts in one vendor-invoice pair look exactly like the pattern above, and that is the trap. The arithmetic clears it: 124.35 + 124.35 = 248.70, matching the invoice total exactly. The invoice record notes a two-installment agreement signed in April. The identifiers are distinct, and no mirrored export exists. Category: partial payment, cleared with the reason recorded: two installments of 124.35 AED sum to invoice total 248.70 AED under a documented agreement. The example is why equal amounts alone prove nothing in either direction: the same visual pattern is a theft in one ledger and a contract in another, and only the invoice record tells them apart.
How to verify it. Sum the two payments against the invoice total. Open the invoice record and read the installment agreement and its date. Confirm the two payment IDs differ; if the agreement note cannot be found, the category reopens.
Decisions on the record
Every candidate gets a category, a verification method, and a decision, even when the decision is pending, and vague reasons go back to the queue: "possible duplicate" with no arithmetic or identifier check behind it is a hunch with a row number. Exceptions that fit no category (a blank invoice reference, a payee ID mapping to two vendors, a currency outside the standard list) move to an exception tab with a short reason and a named owner. Nothing contacts a vendor or edits a payment record on the strength of a flag; those actions run through the existing approval process. Before the file leaves the desk, three checks: the candidate file's amounts by currency match the included source rows; no payment ID sits in two unrelated groups; and a colleague reads the reasons column, because a reason that cannot be said aloud usually hides an unchecked case. The handoff states the source file, export timestamp, row count, currency totals, category counts, confirmations, clearances, and pending items, with AI-assisted parts labeled as suggestions awaiting the recorded human signoff. Continue with a related workflow: Review Sales Commission Statements vs CRM Exports
Questions and answers
- Can an AI tool confirm a payment is a duplicate?
No. It groups rows and flags patterns, and a duplicate is confirmed only after a person checks the invoice record, any agreement or credit memo, and the payment identifiers against the original export. The flag is a candidate; the verdict is a recorded human decision with its reasoning attached.
- Two payments share an amount but have different invoice references. Duplicate?
Check the references first. If normalization reveals the same invoice written two ways, the rows belong in one group; if they reference different invoices that happen to share an amount, they usually clear with a short reason, unless the register shows one invoice split across references.
- What is a mirrored export and how do I catch it?
It is the same payment appearing twice because two overlapping extracts were merged, and the tell is identical payment identifiers with different export timestamps. The test is identifier uniqueness: one payment ID appearing once per export, twice across files, is a file problem, not a finance problem, and merging the files is the fix.
- Should I email the vendor about a flagged pair right away?
Not from the flag alone. Recovery requests and payment-record changes belong to your approval process, and the candidate file exists to make the reviewer's case complete: identifiers, arithmetic, invoice record, and the absence of any documented reason for two releases. The email goes out after that review.