TL;DR Most payment fraud and a lot of plain error start in the master file: a duplicate vendor, a bank account nobody verified, a customer set up twice. An AI can compare every record against every other record and against the payroll file in minutes. In this lesson you clean Larkspur’s vendor and customer master, find eight vendor and five customer records that need action, and block what should be blocked without deleting anything.
The Accounting Operations Track, lesson 7 of 8. Free hands-on lessons on running AP, AR and payroll with AI, on one made-up company, with prompts, answer keys and self-checks. See all eight lessons or download the sample workbook (Excel).
All lessons
- Lesson 1: AP intake: three-way match and coding
- Lesson 2: Review the weekly payment run
- Lesson 3: Audit every expense report
- Lesson 4: Cash application
- Lesson 5: Collections: prioritize, draft, escalate
- Lesson 6: Payroll checks before you hit submit
- Lesson 7: Vendor and customer master clean-up (you are here)
- Lesson 8: Capstone: a week of AP, AR and payroll
What you’ll practice
- Fuzzy duplicate matching: normalizing names and addresses, then confirming with tax ID and bank details.
- Running risk checks across files: W-9 status, bank change callbacks, vendor bank accounts that match an employee’s, dormant vendors.
- Reading the master file for segregation of duties, and blocking records instead of deleting them.
Time: about 35 to 45 minutes. You need the free Accounting Operations Track workbook (Excel) and any AI assistant that can read an uploaded spreadsheet. Larkspur Supply Co. is a made-up distributor: names are invented, bank numbers are last four digits only and emails end in .example, so the file is safe to upload.
Why the master file comes first
A fake invoice needs a vendor record to be paid to. The ACFE’s 2026 Report to the Nations found billing schemes were the most common scheme type, at 21% of cases, with a median loss of $90,000, and its fraud tree lists shell companies under billing schemes. Our view: the cheapest place to stop that is the moment a record is created or changed, not the payment run.
Bad master data also breaks honest work: in lesson 5, Kentucky River Paving says it never got INV-50752, and its record has no AP email.
The rules Larkspur applies
Made up for the exercise, but common. Write yours in the same shape so the AI can apply them to every row.
- One record per legal vendor. Same tax ID, same address or same bank account means a probable duplicate.
- W-9 before first payment. No tax ID on file, no payment.
- Bank changes need a logged callback to a phone number already on file, never one from the change request.
- A vendor bank account that matches an employee’s is a red flag, whatever else the record says.
- Block vendors with no payment in 12 months, here any vendor last paid before November 20, 2025.
- Block, never delete. History, tax reporting and the audit trail all hang off the record.
The W-9 point is a policy, not tax advice. The IRS describes Form W-9 as the way a payee provides its correct taxpayer identification number to the person required to file an information return. Which vendors get a 1099, and what an exemption certificate must show, are questions for your tax adviser. Nothing here is tax or legal advice.
The data
Sheet 7_Vendor_Master has 25 vendors: ID, name, tax ID status, W-9 on file, address, bank account (last 4), bank details changed on, callback logged, created by, last paid and whether the vendor gets a 1099. Sheet 7b_Customer_Master has 13 customers with parent or payer, terms, credit limit, tax-exempt flag, certificate expiry, AP contact email and billing address. You also use the bank last 4 in 6_Payroll_Register, the approvers in 2_Payment_Run, and the open AR after lesson 4.
The prompts use the five-line format from the Workbench setup lesson: JOB, DATA, RULES, OUTPUT, PROOF.
Step 1: Find duplicates the way a person would
Exact matching finds nothing: “Granite Tool Works” and “GRANITE TOOL WORKS INC” are different strings. So the AI normalizes, matches, then confirms with harder evidence.
JOB: You are the AP supervisor cleaning the vendor master before Friday's payment run.
DATA: Sheet 7_Vendor_Master (25 vendors) in the attached workbook.
RULES: Normalize each name: lowercase, remove punctuation, drop the words inc, llc, co and corp. Normalize each address: lowercase, remove punctuation, treat rd/road, dr/drive, pkwy/parkway, st/street and ave/avenue as the same. A pair is a PROBABLE DUPLICATE if the normalized names match and at least one of address or bank last 4 also matches. A pair with only a shared word in the name (for example the same first word) is NOT a match. Bank last 4 alone is a lead, not proof: say so. Do not merge, delete or rename anything; propose only.
OUTPUT: Table: surviving record, duplicate record, what matched (name, address, bank), who created the duplicate, last paid on each, proposed action.
PROOF: State the vendor count you read (25). Show the normalized name and address for every pair you flag. List any pair you considered and rejected, with the reason.
The “considered and rejected” line shows the AI’s near misses, which is where a careless merge comes from.
Step 2: Run the risk checks on every record
JOB: You are the AP supervisor running the weekly vendor master risk review. As-of date November 20, 2026.
DATA: 7_Vendor_Master, the Direct deposit account (last 4) column in 6_Payroll_Register, and the Approved by column in 2_Payment_Run.
RULES: Flag (1) W-9 on file = No; (2) bank details changed with Callback logged not Yes; (3) any vendor bank last 4 that equals any employee's direct deposit last 4; (4) last paid before November 20, 2025 (propose BLOCK, never delete). Then list each person in Created by, how many vendor records they created, and how many invoices in 2_Payment_Run they approved. Do not assume anyone acted wrongly: state the facts and the control question.
OUTPUT: Table 1: vendor, every flag, the rule it breaks, proposed action. Table 2: person, vendors created, invoices approved, records with flags. Table 3: questions for the controller.
PROOF: For every bank match, show vendor ID, employee ID and the last 4. For every dormant vendor, show the last paid date and the days before the cutoff.
Segregation of duties and the change log
Table 2 is the uncomfortable one. Whoever can create a vendor and approve its invoices can pay a company that does not exist. The fix: separate roles, plus a change-control log a second person reviews.
A useful log has one line per change: record, field, old value, new value, who requested it, who keyed it, who approved it, and for bank changes the callback evidence, including where the phone number came from. The AI is good at reviewing that log every week and listing changes with no approver or no callback. It does not approve changes. Our guide to internal controls over AI close steps covers how to evidence that review, and what auditors ask about AI controls covers what they will want to see.
Step 3: The customer master
JOB: You are the AR supervisor cleaning the customer master. As-of date November 20, 2026.
DATA: 7b_Customer_Master (13 customers) and the open AR by customer after lesson 4 cash application.
RULES: Probable duplicate = same normalized name and same normalized address. Flag tax-exempt customers whose certificate expired before November 20, 2026. Flag any customer with no AP contact email. Flag open AR over the credit limit, and also show it net of any unapplied cash on account. Flag any payer from lesson 4 that has no customer record; propose research, not a new record.
OUTPUT: Table: customer, every flag, proposed action, owner (AR, credit, tax).
PROOF: State the customer count (13). For each credit flag show open AR, credit limit and the difference.
What a good answer looks like
Show the answer key
Vendor master: eight records need action
| Vendor | Finding | Action |
|---|---|---|
| V-162 GRANITE TOOL WORKS INC | Duplicate of V-107: same name once Inc and punctuation are removed, same address, same bank 5871 | Block V-162; check payments to both records for duplicates |
| V-163 Atlas Fasteners Inc. | Duplicate of V-101: same normalized name, address and bank 2281 | Block V-163; same payment check |
| V-108 Harborline Logistics | Bank details changed 2026-11-12, no callback logged | Hold payments (AP-71019, 14,650.00 in lesson 2) until a callback to the number on file is logged |
| V-119 Ridgeline Contract Services | No W-9 or tax ID, last paid 2026-11-13 | Stop payments until the W-9 arrives |
| V-120 Southside Equipment Repair | No W-9 or tax ID, last paid 2026-11-06; bank 6107 matches employee E-2016 J. Brennan | Stop payments; controller review |
| V-121 Cardinal Signs & Graphics | Last paid 2025-03-14 | Block |
| V-122 Tri-County Welding | Last paid 2024-12-02 | Block |
| V-123 Prairie Uniform Co | Last paid 2025-01-20 | Block |
Both duplicates have been paid (V-162 last on 2026-09-18, V-163 on 2026-10-02), so pull every payment to both records and check for the same invoice paid twice.
V-120’s bank change on 2026-10-29 shows a callback logged. That does not clear it. A callback proves someone answered a phone; it does not prove who owns the account.
Segregation of duties. R. Patel created V-119, V-120, V-162 and V-163, every record above with a duplicate or W-9 problem, and approved 7 invoices in 2_Payment_Run. The design issue is wider: J. Ortiz (15 records created, 8 invoices approved), S. Brooks (3 and 5) and M. Chen (3 and 2) can also both create vendors and approve invoices. The question for the controller is the role design, not one person.
Customer master: five records need action
| Customer | Finding | Owner |
|---|---|---|
| C-1044 OAKRIDGE HOSPITAL | Duplicate of C-1001 (same name, same address once Dr and Drive match). Merge so AR and one credit limit sit on one record. No AP email. | AR, credit |
| C-1003 Riverbend Ag Supply | Tax-exempt flag on, certificate expired 2026-06-30: get a current certificate. No AP email. | Tax, AR |
| C-1005 Pinecrest Builders | Open AR 53,200.00 over the 40,000.00 limit | Credit |
| C-1009 Ohio Valley Builders | Open AR 37,680.00 over the 30,000.00 limit at invoice level (27,680.00 net of the 10,000.00 on account); already on credit hold from lesson 5 | Credit |
| C-1011 Kentucky River Paving | No AP email, which lines up with “never received” on INV-50752 in lesson 5 | AR |
Also: J R CONSTRUCTION LLC, the 4,800.00 unapplied deposit from lesson 4, has no customer record. Research it before anyone creates one. A record built to park cash is how a stranger’s payment becomes someone’s credit.
False positives to avoid: Pinecrest IT Services (a vendor) and Pinecrest Builders (a customer), Oakridge Pallet Co and Oakridge Hospital, Delta Safety Products and Delta Mechanical. Each pair shares a word, not a business: different names after normalization and different addresses.
Where AI goes wrong on this task
Our view of the usual failure points:
- Merging on a shared word. Ask for “similar vendors” and a model pairs the two Pinecrests. Make it state what matched beyond the name.
- Treating four digits as proof. Last 4 is a lead. Confirm the full account number in your system before anyone is accused of anything.
- Accepting a logged callback as clearance. V-120 has one and is still the most serious flag in the file.
- Deleting instead of blocking. A deleted vendor takes its payment history with it. Block, merge open items to the surviving record, keep the trail.
- Stating tax rules. Models will confidently tell you 1099 thresholds and exemption rules. Those go to your tax adviser.
What stays with a person
The AP manager approves every vendor create, change and block, and makes the Harborline callback from the number on file. The credit manager sets the merged Oakridge limit. The controller owns the segregation-of-duties fix and the V-120 review, with HR, before anyone talks to the employee. The AI changes no record.
Check yourself
Why is “Granite Tool Works” and “GRANITE TOOL WORKS INC” a duplicate, but the two Pinecrests are not?
Granite matches on normalized name, address and bank 5871. The Pinecrests share one word and nothing else: different businesses, different files, different addresses.
V-120’s bank change has a callback logged. Why is it still flagged?
Its bank account ending 6107 matches employee E-2016’s direct deposit, and it has no W-9. A callback does not prove who owns an account.
Why block the three dormant vendors instead of deleting them?
Blocking stops new payments and keeps the history that tax reporting, audits and any later dispute rely on.
Is R. Patel the problem?
The file does not say so. R. Patel created all four problem records and approves invoices, which is the control question. But three other people can also create vendors and approve invoices. Fix the role design, and let the controller decide whether anything needs investigating.
Should you create a customer record for J R Construction so the 4,800.00 can be applied?
No. Research the payer first. Creating a record to park unidentified cash turns a question into a balance.
Your turn: try it on your own data
Export your vendor master with tax ID status (on file or missing, not the number), last 4 of bank accounts, change dates, created by and last paid. Run Step 2 against a payroll extract cut to employee ID and last 4. Full bank numbers, tax IDs and anything from payroll stay out of tools your company has not approved: check the data zones in the Workbench setup lesson first.
Next: Accounting Operations Track 8: Capstone: run a week of AP, AR and payroll
Put AI to work on your own numbers
The free 25-Prompt CFO Pack: copy-paste prompts for the weekly review, variance analysis, board decks, forecasting and hiring that work in ChatGPT, Claude or Copilot. Free, straight to your inbox.
Sources
- Association of Certified Fraud Examiners, Occupational Fraud 2026: A Report to the Nations, https://www.acfe.com/en-us/-/media/files/acfe/pdfs/rttn/2026/2026-report-to-the-nations.pdf
- Internal Revenue Service, About Form W-9, Request for Taxpayer Identification Number and Certification, https://www.irs.gov/forms-pubs/about-form-w-9
