Duplicate payments and odd transactions hide in payables data because nobody has time to eyeball three thousand rows. This playbook uses AI to design and run screening rules — near-duplicate invoices, weekend entries, just-under-threshold amounts — then triages every flag through a human-reviewed exceptions log, because a flag is a question, not a verdict.
Workflow area: Finance & Accounting · Tier: Advanced · Hands-on time: ~45 minutes
The AI's role here is precise: it is very good at generating screening logic and summarizing patterns, and untrustworthy at the arithmetic itself unless it uses real computation. The design below keeps detection rules explainable, results reconciled, and every judgment — "is this actually a duplicate?" — with a human who can see the underlying documents.
Extract and minimize the data. Export the period's AP transactions: invoice number, vendor ID (coded, not named if policy requires), invoice date, entry date, amount, currency, payment status, entered-by role (role, not person's name), approval threshold band, and GL code. Strip bank account numbers, vendor contact details, and employee names — the screen needs patterns, not identities.
Have AI design the rule set before touching the data.
I am screening accounts-payable transactions for duplicates and
anomalies. Columns available: [PASTE COLUMN LIST].
Propose a screening rule set:
- Exact duplicates: same vendor + amount + invoice number.
- Near-duplicates: same vendor + amount within 1% + dates within
10 days, OR invoice numbers differing by one character.
- Threshold games: amounts within 5% under an approval threshold,
and vendors with multiple same-day invoices that individually
sit under a threshold.
- Timing: entries on weekends/holidays, invoice dates after entry
dates, round-amount clusters.
- Vendor oddities: new vendors with immediate large invoices,
one GL code receiving many different vendors' round amounts.
For each rule: exact logic, why it matters, and its likely
false-positive sources. Format as a table I can keep.
Review the rules with your finance lead — some will not fit your process (weekend entries are normal if AP works Saturdays in month-end close). Tuning rules to your reality is what keeps the flag list reviewable instead of overwhelming.
Run the screen with real computation. Upload the CSV to ChatGPT data analysis (or Claude with analysis enabled) and run the tuned rules:
Apply the agreed rule set to this CSV using actual computation —
write and execute code, do not estimate.
Output:
1. Summary: rows screened, flags per rule, total unique flagged
transactions.
2. Flag detail table: transaction row IDs, rule triggered,
matched counterpart (for duplicate rules), and the values
that triggered the flag.
3. Reconciliation line: total amount of all transactions vs. sum
of flagged + unflagged — these must match exactly.
The reconciliation line is non-negotiable: if flagged + unflagged does not equal the file total, the run is invalid. Independently verify one rule yourself in Excel (COUNTIFS for exact duplicates takes two minutes) and confirm the counts agree.
Triage every flag into an exceptions log. Build a sheet: Flag ID | Rule | Transactions | Reviewer | Finding (duplicate / legitimate / needs documents / escalate) | Evidence checked | Action | Date. A human opens the underlying invoices for each flag. Most flags will be legitimate — recurring rents trip near-duplicate rules; installment payments look like split invoices. That is fine: the log records why each flag was cleared, which is exactly what an auditor wants to see.
Sample log entry:
F-014 | Near-dup | rows 812, 1147 | R. Iyer | Legitimate —
monthly retainer, same amount by design | Contract checked |
No action | 12-Aug
Summarize and systematize. Ask the AI to draft a one-page summary from your completed log: flags raised, cleared, confirmed exceptions, amounts recovered, and rule false-positive rates. Then feed the false-positive rates back into the rules (raise a tolerance, add an exclusion for known recurring vendors) and save the tuned rule set — next month's run starts at step 3.
Payables data contains vendor banking details, commercial terms and potentially personal expense information — and anomaly findings can amount to accusations against colleagues. Strip bank details and personal names before upload, use only your enterprise AI tenant, keep the exceptions log restricted to finance, and route anything that smells like deliberate fraud to your controller and auditors rather than investigating it yourself. pb-12 covers the full pre-flight.
A flag is a question, not a finding. The value of this workflow is the reviewed exceptions log — every flag examined by a human against real documents, every clearance reasoned and recorded — which is precisely the artifact that turns "we think our payables are clean" into "we can show they are."