Find invoices that may have been paid twice, including near-matches
Price: ¥1,500
See what it does and cannot doInvoice, PO and receipt matched line by line, with exceptions ranked
Price
¥1,500
One-time purchase. Download immediately. Works in the assistant you already have.
Give it invoice, purchase order and receipt exports plus your tolerances. It matches every line, lists price, quantity, no-PO and no-receipt exceptions with amounts at risk, and says who to ask about each.
For this one task you may not need a subscription: this agent file does it in the AI assistant you already use, for a one-time price.
What it covers: The matching engine and exception queue of AP automation, for a team that matches by hand from exports.
What it does not replace:
Need those? Compare the software: AI Accounts Payable Automation Tools Comparison 2026
We loaded this file into Claude (Sonnet) and gave it an example input written by our editors. Results vary with your input and the assistant you use.
Please check this batch before I send it to the approver. Use your default tolerances. Currency is USD for everything. PO 2003 is a consulting service, so no receipt is needed (match it to the PO only). PO export (PO, line, supplier, item, ordered qty, unit, agreed unit price, status): 2001,1,Northwind Test Supply,Widget A,200,each,12.50,open 2001,2,Northwind Test Supply,Bolt B,500,each,0.80,open 2002,1,Harbor Example Parts,Gasket,100,each,7.00,open 2003,1,Quill Sample Consulting,Consulting hours,10,hour,90.00,open 2004,1,Harbor Example Parts,Cable,300,each,2.20,open Goods receipts (receipt no, PO, line, qty received, date, returns): R-801,2001,1,120,2026-11-05,0 R-802,2001,1,80,2026-11-12,0 R-803,2001,2,500,2026-11-05,0 R-804,2002,1,100,2026-11-10,10 returned 2026-11-13 R-805,2004,1,150,2026-11-09,0 Invoices (invoice no, supplier, date, PO, line, description, qty, unit price, line amount; then stated invoice total): INV-5001,Northwind Test Supply,2026-11-20,2001,1,Widget A,200,12.80,2560.00 INV-5001,Northwind Test Supply,2026-11-20,2001,2,Bolt B,500,0.80,400.00 INV-5001 stated total 2960.00, tax 0 INV-5002,Harbor Example Parts,2026-11-21,2002,1,Gasket,100,7.00,700.00 INV-5002 stated total 700.00, tax 0 INV-5003,Quill Sample Consulting,2026-11-22,2003,1,Consulting hours,10,90.00,900.00 INV-5003,Quill Sample Consulting,2026-11-22,(none),-,Freight surcharge,1,45.00,45.00 INV-5003 stated total 960.00, tax 0 INV-5004,Harbor Example Parts,2026-11-18,2004,1,Cable,100,2.20,220.00 INV-5004 stated total 220.00 INV-5005,Harbor Example Parts,2026-11-25,2004,1,Cable,100,2.20,220.00 INV-5005 stated total 220.00 INV-5006,Marlow Demo Tools,2026-11-24,2009,1,Drill bits,3,100.00,300.00 INV-5006 stated total 300.00 Use your stated defaults for anything I have not specified, list the assumptions you made, and give me the full output now.
# Three-way match exceptions report: batch of 6 invoices This is a first pass for the AP lead or approver. I have not held, released or approved anything; a person decides on each unresolved exception. ## 1. Rules and match design applied **Defaults used, because you gave none beyond USD and PO 2003:** - Price is within tolerance only if the unit price is within 2% of the PO price **and** the line-level difference (price difference × quantity) is no more than 5.00 USD. - Quantity must match exactly. - Freight, tax and other charges with no PO line are listed for review, not matched. **Assumptions:** - **Matching key:** PO number plus line. The supplier-plus-item fallback was not needed. All supplier names matched after normalising. - **Two-way match:** PO 2003 is matched to the PO only (available quantity = ordered). - **Currency and units:** Everything is USD. No unit conversions were applied. - **Receipts and returns:** Receipts are summed per PO line net of returns. The 10 returned on R-804 are deducted from PO 2002 line 1. - **Invoice order:** Invoices on the same PO line were processed in invoice-date order, and quantity available = net received minus quantity on earlier invoices in this batch. - **Amount at risk:** Invoice line amount minus accepted value, where accepted quantity = min(invoiced, available) and accepted price = invoice price if within tolerance, otherwise PO price. - **Missing history:** I have not seen invoices or receipts outside these files. If earlier invoices on these POs were already paid, the available quantity is overstated. - **Dates:** I used no as-of date. Today's date (2026-11-28) played no part in any check. **Invoice total check:** | Invoice | Lines + tax | Stated total | Result | |---|---|---|---| | INV-5001 | 2,960.00 | 2,960.00 | OK | | INV-5002 | 700.00 | 700.00 | OK | | INV-5003 | 945.00 | 960.00 | **Data problem: 15.00 difference** | | INV-5004 | 220.00 | 220.00 | OK | | INV-5005 | 220.00 | 220.00 | OK | | INV-5006 | 300.00 | 300.00 | OK | All 8 invoice lines parsed and received exactly one primary status: 3 Matched and 5 exceptions. ## 2. Summary - **Checked:** 6 invoices, 8 lines. - **Matched:** 3 lines. - **Exceptions:** 5 lines, with 585.00 USD at risk. The 15.00 INV-5003 total difference is not in this figure (see Data problems below). | Exception type | Lines | Amount at risk (USD) | |---|---|---| | No PO (incl. 1 charge line for review) | 2 | 345.00 | | Quantity variance | 2 | 180.00 | | Price variance | 1 | 60.00 | | **Total** | **5** | **585.00** | | Supplier | Exception value (USD) | |---|---| | Marlow Demo Tools | 300.00 | | Harbor Example Parts | 180.00 | | Northwind Test Supply | 60.00 | | Quill Sample Consulting | 45.00 | Only four suppliers are in the batch, so the top five is all of them. ## 3. Exception list (sorted by amount at risk) | Invoice | Line | Supplier | PO | Exception type | Invoiced | PO / received | Variance (amount) | Variance (%) | Who to ask and what | |---|---|---|---|---|---|---|---|---|---| | INV-5006 | 1 | Marlow Demo Tools | 2009 | **No PO** | 3 × 100.00 = 300.00 | PO 2009 not in PO export | 300.00 (full line) | n/a | Buyer: does PO 2009 exist and was it omitted from the export? Marlow also appears nowhere else in the files. Get the PO or approval. | | INV-5005 | 1 | Harbor Example Parts | 2004 | **Quantity variance**, also **possible duplicate** | 100 × 2.20 = 220.00 | Received 150, already invoiced 100 (INV-5004), available 50 | 220.00 − 50×2.20 = **110.00** | 50 over 50 available (100%) | Receiving: did more cable arrive after R-805 (150)? Supplier: is this a repeat of INV-5004 (same qty, price and amount)? | | INV-5002 | 1 | Harbor Example Parts | 2002 | **Quantity variance** | 100 × 7.00 = 700.00 | Received 100, returned 10, net 90 | 700.00 − 90×7.00 = **70.00** | 10 over 90 net (11.1%) | Supplier: request a credit note or corrected invoice for the 10 returned on 2026-11-13. Receiving: confirm the return. | | INV-5001 | 1 | Northwind Test Supply | 2001 | **Price variance** | 200 × 12.80 = 2,560.00 | PO 12.50; received 120+80 = 200 | 2,560.00 − 200×12.50 = **60.00**; unit +0.30 | (12.80−12.50)/12.50 = 2.4% | Buyer: was a price change to 12.80 agreed? Quantity matches only after summing R-801 and R-802. | | INV-5003 | 2 | Quill Sample Consulting | none | **No PO (freight surcharge, for review)** | 1 × 45.00 = 45.00 | No PO line | 45.00 (full line) | n/a | Buyer/supplier: is freight on a consulting invoice valid? Is there an agreed charge? | **Possible duplicate (INV-5005): unresolved.** - If INV-5005 is a repeat of INV-5004, all 220.00 is at risk. - If it is genuine partial billing, 110.00 is at risk, which is the figure used in the totals. - The totals therefore use the lower figure and do not treat the duplicate question as resolved. **Data problem on INV-5003: unresolved.** - Stated total is 960.00 but the lines add to 945.00, a 15.00 difference. - Ask Quill whether a charge is missing from the invoice detail or the total is wrong. - This 15.00 is shown separately and is not in the 585.00. - Line 1 (consulting, 10 × 90.00) matches the PO. I could not verify that the hours were actually worked, because two-way matching checks the PO only. ## 4. Invoices that look clear **1 of 6:** INV-5004 (100 cable at 2.20, within the 150 received). INV-5001 line 2 (Bolt B) and INV-5003 line 1 also matched, but those invoices have other open exceptions. I can export the full per-line status for all 8 lines, or the exception list, as a CSV. *(Shortened for this page: the remaining sections of the output are not shown.)*
Model: Claude Sonnet · Run on 2026-11-28
AP clerks and finance leads who match invoices by hand in spreadsheets.
AIpedia's editors wrote this agent and reviewed it before it was listed.
Scored by AIpedia's editors when they reviewed the file: usefulness, depth of method, clarity of output. It decides the order on this site until there are sales.
Comparing software for this job? See AI Accounts Payable Automation Tools Comparison 2026
More agents for AI Accounts Payable Automation Tools →Agents for Finance and accounting →
Find invoices that may have been paid twice, including near-matches
Price: ¥1,500
See what it does and cannot doOne purchase covers one person or one organisation. You may edit your copy for that use; you may not resell it or share it outside your organisation. If the file does not do what this page says, tell us, ideally within 14 days, and we will fix it or refund you.
Read the terms of sale and licence →