Three Way Match Invoice Review + Free AI Skill

A three way match checks each invoice against what was ordered (the PO or subcontract), what was agreed (the price), and what was received (the delivery ticket or signed time ticket) before anyone pays it. This free AI skill reads your invoices, codes them to the right job and cost code, and hands your controller an exception list with dollar amounts.

AccountingProject managerOwnerClaude · ChatGPT · CopilotMIT license

Worked example

It is the end of June 2027. Summit Ridge's accounting lead has five invoices on the Cedar Hollow MOB to review before the weekly payment run. She has the POs, the delivery tickets and the contractor rate sheets. Sample job, made-up data.

What the accounting lead pasted in
Cedar Hollow, June invoices to review.
Treasure Valley Ready-Mix #88214, 142 CY 4000 psi at $174 = $24,708. PO price is $168/CY. Tickets show 138 CY.
Gem State Rebar #5531, 18,500 lb at $0.94 = $17,390. Matches PO, received 18,500 lb.
Gem State Rebar #5531A, same $17,390, came in 6/22 as a reminder.
Cascade Peak HVAC stored RTUs, $212,400. Subcontract $1,196,500, 5% retainage. Their COI shows expired 6/12.
Hollis Excavating T&M, 24 hrs operator at $145 = $3,480. Rate sheet is $135. Signed ticket says 21 hrs.
What the skill produced
Invoice Review: Cedar Hollow MOB, June 2027 Payment Run
Project
Cedar Hollow MOB (sample data)
Invoices reviewed
5
Total dollars
$275,368
Matched to
POs, subcontract, rate sheet, delivery and signed tickets
Status
Recommendation only. A person approves payment.

Bottom line

Of $275,368 reviewed, $17,390 clears and can be paid. Two invoices ($28,188) have exceptions that overbill the job by $2,169, so short-pay them to $23,184 and $2,835. Two more ($229,790) go on hold: one is a likely duplicate and one is a $212,400 stored-materials billing with an expired insurance certificate. Releasing today's clear and short-paid invoices comes to $43,409.

Summary

StatusInvoicesDollars
Clear1$17,390
Exception2$28,188
Hold2$229,790
All invoices reviewed5$275,368

Register

Vendor and invoiceJob and cost codeAmountCodingStatus
Treasure Valley Ready-Mix #88214Cedar Hollow, 03 30 00 material$24,708HIGH (PO)EXCEPTION
Gem State Rebar #5531Cedar Hollow, 03 21 00 material$17,390HIGH (PO)CLEAR
Gem State Rebar #5531ACedar Hollow, 03 21 00 material$17,390HIGH (PO)HOLD, possible duplicate
Cascade Peak HVAC, stored RTUsCedar Hollow, 23 74 13 subcontract$212,400HIGH (subcontract)HOLD, COI expired
Hollis Excavating T&MCedar Hollow, 31 23 00 subcontract$3,480MEDIUM (rate sheet)EXCEPTION
Total$275,368

Exceptions, largest first

InvoiceWhat is wrongBilledSupportedDifferenceAction
Cascade Peak HVACCertificate of insurance expired June 12. Stored RTUs need photos and the bonded warehouse receipt.$212,400$212,400$0 (hold)Hold until a current COI is on file. Then release $201,780 after 5% retainage of $10,620.
Gem State Rebar #5531ASame amount and PO line as #5531, which clears.$17,390$0$17,390Do not pay. Ask the vendor to confirm it is a statement copy.
Treasure Valley Ready-Mix #88214Price is $174 a CY. PO says $168. 138 CY x $6.$174 per CY$168 per CY$828Short-pay. Request a credit memo.
Treasure Valley Ready-Mix #88214Billed 142 CY. Tickets show 138 CY. 4 CY x $174.142 CY138 CY$696Short-pay. Ask for the missing tickets, or a credit.
Hollis Excavating T&MBilled 24 hours. Signed ticket shows 21. 3 hrs x $145.24 hrs21 hrs$435Short-pay to the signed hours.
Hollis Excavating T&MRate is $145 an hour. Rate sheet says $135. 21 hrs x $10.$145/hr$135/hr$210Short-pay to the rate sheet.
Overbilled or duplicate$19,559

Amounts to release

  • Gem State Rebar #5531: $17,390, clear.
  • Treasure Valley Ready-Mix #88214: $23,184 (138 CY x $168), not $24,708.
  • Hollis Excavating T&M: $2,835 (21 hrs x $135), not $3,480.
  • Total for this run: $43,409. On hold: $229,790.

Open questions

  • Is the Cascade Peak stored-materials billing in the owner's Pay App #4, and do the invoice, photos and bond match the $212,400 shown there?
  • Does the rate sheet for Hollis Excavating have an overtime rate that explains the $145?

Check each price against the PO or rate sheet, each quantity against the ticket, and every hold against the contract. A person approves and releases payment. The skill only recommends.

What the skill does

  • Re-adds every extension and total, and flags any difference, even one cent.
  • Matches each line to the PO, subcontract or pricing sheet for price, and to delivery tickets or signed time tickets for quantity.
  • Catches duplicates, including resent invoices with a suffix such as 5531 and 5531A.
  • Checks contractor invoices for retainage, approved change orders and compliance holds such as an expired insurance certificate.
  • Codes each line to job, cost code and cost type with a confidence level, and puts every low-confidence guess on the exception list.

Use it in Claude, ChatGPT or Copilot

  1. Download the .zip on this page.
  2. In Claude, go to Customize, then Skills, click the plus button and choose Upload a skill. Code execution must be on (Settings, then Capabilities).
  3. Attach the invoices with the POs and tickets. Tell it your cost code list and ask for a register and an exception list.
Full Claude setup and prompts

Prompts to try

Review these five Cedar Hollow invoices against the POs and delivery tickets. Give me a register and an exception list sorted by dollars.

Cascade Peak billed $212,400 for stored RTUs. Their COI expired June 12. What should I hold, what do I need, and what do I pay after 5% retainage?

Code these store receipts to jobs and cost codes. Show your confidence for each one and list the guesses I need to confirm.

Give it

  • The invoices, as PDFs, photos or an AP export
  • POs, subcontracts, change orders and pricing sheets
  • Delivery tickets, packing slips and signed time tickets
  • Your job list and cost code list
  • A recent payment or AP aging export, to catch duplicates

You get

  • A coded register with one row per invoice line
  • An exception list sorted by dollars, with the proof for each one
  • A summary of cleared, excepted and held invoices
  • Amounts to short-pay, and what is needed to release each hold

It won't

  • It does not approve, pay or post anything. A person releases every payment.
  • It does not guess a number it cannot read. It marks the field UNREADABLE.
  • It does not assume delivery. With no receipt on file, the line is marked NOT VERIFIED.
  • It does not invent a cost code. Every code comes from your list.

Check before you send

  • Check the PO price and the quantity received for every exception it lists.
  • Look at every low-confidence coding and confirm it.
  • Confirm each hold against the contract, not just the checklist.
  • Read the duplicate flags against your payment history before you reject anything.
  • Make sure retainage matches the subcontract rate.
  • Keep the register with the payment run for your audit trail.

Free invoice review checklist template

Use the blank checklist on every invoice before it goes into the payment run.

FieldWhat goes in it
Vendor and invoice numberAs printed on the invoice. Mark anything unreadable.
Invoice date, due date and termsDates and payment terms from the invoice and the agreement.
JobThe job the invoice belongs to, from the PO, ship-to address or job name.
PO or subcontract numberThe agreement the invoice bills against. No PO is an exception.
Math checkEvery extension and the total re-added, with both figures if they differ.
Price matchUnit price against the PO, subcontract schedule of values or pricing sheet.
Quantity matchQuantity billed against delivery tickets, packing slips, or signed time tickets.
Billed to date versus commitmentBilled to date against the PO or subcontract plus approved change orders.
Duplicate checkSame vendor and number, same amount and date, or the same PO line billed twice.
Retainage and change ordersRetainage withheld at the contract rate, and only approved change orders billed.
Compliance holdsCurrent insurance certificate, prior lien waiver and signed subcontract.
Cost code and cost typeJob, CSI cost code and labor, material, subcontract or equipment.
Coding confidenceHigh (from the PO), medium (inferred) or low (a guess).
Status and exception amountClear, exception, hold or not verified, with the dollar difference.
Recommended action and approverPay, short-pay, request credit, hold or confirm coding, and who signs off.
Word templateExcel template

Blank forms, free to use and edit. Or skip the form and let the skill fill it in.

The skill file

The primary skill is AP Invoice Review. Best at the three way match, duplicate checks and job cost coding, with a register and an exception list sorted by dollars.

Preview SKILL.md (86 lines)
---
name: ap-invoice-review
description: Review vendor and subcontractor invoices before they are paid. Three-way match each invoice against the PO or subcontract and the agreed pricing, code it to the right job and cost code, and produce an exception list with dollar amounts. Use when the user says "review these invoices", "match this invoice to the PO", "code these invoices", "check this bill", "AP review", "three-way match", "receipts to job codes", or drops in a batch of invoices, receipts or a vendor statement.
argument-hint: "[invoice files or folder, and the job if known]"
---

# AP Invoice Review

Check every invoice against what was ordered, what was agreed and what was received, before anyone approves it. The output is a coded invoice register and a short exception list a controller can act on in minutes.

This skill reviews and recommends. It never approves, pays or posts anything. A person releases payment.

## What to gather

Ask for whatever is missing. Work with what exists; do not stall on a perfect set.

1. **The invoices.** PDFs, photos, emailed bills, store receipts or a vendor statement.
2. **What was agreed.** Purchase orders, subcontracts and change orders, and any vendor pricing sheet or quote. If there is no PO, say so on that line; a missing PO is itself an exception.
3. **Proof of receipt.** Delivery tickets, packing slips, signed T&M tickets, daily logs, or a superintendent's confirmation.
4. **The coding structure.** The job list and cost code list (CSI division, phase code or the accounting system's codes). If the company profile from `initialize` exists, read cost codes from it.
5. **What has already been paid.** A prior payment or AP aging export, to catch duplicates.

## Review each invoice in this order

### 1. Read it and capture the facts
Vendor, invoice number, invoice date, due date, terms, PO or subcontract number, job name or address, line items (description, quantity, unit, unit price, extension), freight, tax, retainage held, total.

If a field cannot be read with confidence, mark it `UNREADABLE` and list it. Never guess a number.

### 2. Check the math
Re-add every extension and the total yourself. Flag any difference, even one cent, with both figures.

### 3. Match to the agreement (price)
For each line, find the PO line, subcontract schedule of values line or pricing-sheet price.
- Unit price higher than agreed: exception. Show agreed price, billed price, quantity and the dollar overcharge.
- Item not on the PO or pricing sheet: exception, "not ordered or not priced".
- Billed to date above the PO or subcontract value plus approved change orders: exception, "over commitment".
- Tax charged on a tax-exempt job, or freight not in the agreement: exception.

### 4. Match to receipt (quantity)
- Quantity billed above quantity received: exception.
- No receipt on file: mark `NOT VERIFIED`. Do not assume delivery.
- For labor and T&M: hours and rates against signed tickets and the agreed rate sheet.

### 5. Check for duplicates
Same vendor with the same invoice number, or the same amount and date, or the same PO line billed twice. Vendors sometimes resend with a suffix (1042 and 1042A); treat those as possible duplicates.

### 6. Subcontractor invoices and pay apps
- Retainage withheld at the subcontract rate.
- Percent complete is believable against the daily logs and the schedule.
- Change orders billed are approved, not pending.
- Compliance holds: current certificate of insurance, lien waiver for the prior payment, signed subcontract. A missing item is a `HOLD`, not a rejection. Use `coi-compliance-check`, `lien-waiver-tracker` and `pay-application-review` for the detail.

### 7. Code it
Assign job, cost code and cost type (labor, material, subcontract, equipment, other).
- Use the PO or subcontract coding when it exists.
- For receipts with no PO (store runs, fuel, small tools), code from the ship-to address, the job named on the receipt, the buyer and the item descriptions.
- Split a mixed invoice across jobs or codes line by line. Show the split.
- Give each coding a confidence: `HIGH` (from the PO), `MEDIUM` (inferred from clear evidence), `LOW` (a guess). Every `LOW` goes on the exception list for a person to confirm.
- Never invent a cost code that is not on the list.
...

Written and maintained by Northwest AI. MIT license.

Frequently asked questions

What is a three way match?

A three way match compares an invoice to the purchase order or subcontract (what was ordered and the agreed price) and to the receipt (what was delivered or worked). If price, quantity and total all agree, the invoice is safe to pay. If any one differs, it becomes an exception to resolve first.

How do you review a construction invoice before paying it?

Re-add the math, match each line to the PO or subcontract for price, and match quantities to delivery tickets or signed time tickets. Check for duplicates, check retainage and approved change orders on contractor bills, and confirm the insurance certificate and lien waiver. Then code it to the right job and cost code.

What should you do with a duplicate invoice?

Do not pay it. Compare the number, date, amount and PO line to the first one. A resent invoice often carries a suffix, such as 5531A, or says reminder. Ask the vendor to confirm in writing, and mark the second copy so it cannot be paid by mistake.

Should you pay a contractor whose insurance certificate has expired?

Check your subcontract. Many contracts let you hold payment until a current certificate is on file, and some owners require it. Put it on hold, not a rejection, and ask for the new certificate the same day. Have a person confirm the contract language before you hold a large amount.

Can AI approve invoices for payment?

No. The skill reviews and recommends. It checks the math, the match, the duplicates and the coding, then lists what a person needs to decide. Your controller or project manager approves and releases every payment, and a person should still look at each exception it lists before anything goes out.

Related skills

Want these running for your whole team?

We set these skills up for your team, train your people on them, and build what they can't.

See how it works
Book a discovery call