Three-way matching: pay only for what was ordered and received
By Safock Procurement Research Team9 min read
Short answer
Three-way matching is an accounts payable control that checks each supplier invoice against the purchase order and the goods receipt before payment. Each line’s unit price must agree with the PO, and its quantity with what was accepted on delivery. Lines that differ by more than the agreed tolerance are held as exceptions until someone resolves them.
Run your own numbers in the free Three-Way Match Tolerance CalculatorOur three-way match simulator ships with a sample quarter of 320 supplier invoices. Twenty-three of them bill for goods that never arrived, worth $2,214. Each one carries the right purchase order and the quantity that was ordered. A two-way match checks the invoice against the PO alone, so at the simulator's default settings it pays $1,843 of that $2,214. A three-way match adds the goods receipt and holds all 23.
That gap is the whole case for the third document.
What is three-way matching?
Three-way matching is the accounts payable check that compares a supplier invoice with two of your own records: the purchase order and the goods receipt. The invoice is paid only when its prices agree with the PO and its quantities agree with what was accepted.
Each document comes from a different person and proves a different thing. That separation is what makes the check worth running.
| Document | Who creates it | What it proves | What the match takes from it |
|---|---|---|---|
| Purchase order | The buyer, before delivery | The purchase was approved, at an agreed price | Unit price per line |
| Goods receipt | The store or receiving team, at delivery | The goods arrived and were accepted | Accepted quantity per line |
| Invoice | The supplier, after delivery | What the supplier wants to be paid | The lines being tested |
The goods receipt is often called a goods received note, or GRN. Our guide to the goods received note covers what to record on it. The match sits near the end of the accounts payable process, between receiving and payment, and it is the last check before money leaves. The wider chain is set out in the procure-to-pay process.
How does invoice matching work, line by line?
Invoice matching pairs each invoice line with its PO line and its receipt line. Then it runs two separate tests: is the unit price at or below the PO price, and is the quantity at or below what was accepted?
Here is an illustrative order for cleaning supplies at one campus of a school group. Two cases of hand sanitiser arrived crushed and were turned away at the door. The gloves were invoiced above the agreed price.
| Line | Purchase order | Receipt: accepted | Invoice | Price check | Quantity check | Should pay | Overbilled |
|---|---|---|---|---|---|---|---|
| Copier paper, case | 40 × $42.00 | 40 | 40 × $42.00 | Pass | Pass | $1,680.00 | $0.00 |
| Nitrile gloves, case | 12 × $64.90 | 12 | 12 × $68.50 | Fail: $3.60 over | Pass | $778.80 | $43.20 |
| Hand sanitiser, case | 10 × $52.30 | 8 (2 rejected) | 10 × $52.30 | Pass | Fail: 2 over | $418.40 | $104.60 |
| Total | $2,981.80 | $3,025.00 | $2,877.20 | $147.80 |
The formula for each line is simple:
Should pay = accepted quantity × PO unit price
Overbilled = invoiced quantity × invoiced price − should pay
Now look at what each kind of check would see.
- A check on totals compares $3,025.00 with the PO's $2,981.80. That is 1.4% over, small enough that many people would wave it through.
- A two-way match compares each line with the PO only. It catches the gloves. It passes the sanitiser, because the invoice quantity of 10 is exactly what was ordered.
- A three-way match catches both lines. The supplier owes a corrected invoice or a credit note for $147.80.
The sanitiser line is the one to notice. The PO was right and the invoice agreed with it. Only the receipt knew that two cases went back on the truck. This is how Bollard's three-way match reads an invoice: the price comes from the PO, and the quantity comes from what goods receiving recorded as accepted.
The invoice matching process in six steps
The invoice matching process has the same six steps on paper or in software. Only the speed changes.
- Find the purchase order. Use the PO number printed on the invoice. An invoice with no PO number can't be matched, so it goes back to the supplier or to the person who ordered.
- Pair the lines. Link each invoice line to its PO line and its receipt line. Check that the units agree: a PO in cases and an invoice in single packs will fail every test.
- Test quantity against the receipt. Use the accepted quantity, never the delivered quantity. Rejected goods are not billable.
- Test price against the PO. Compare unit prices, not line totals, so a price rise can't hide inside a short charge.
- Test the extra charges. Freight and fuel surcharges should follow the terms on the PO, and tax should be at the rate that applies. Treat each as its own line.
- Approve or route. Lines that agree within your tolerance go to payment. The rest become exceptions with an owner: the buyer for price, the store for quantity, the requester for a missing PO.
A tolerance decides how small a difference can be before step 6 treats it as an exception. Setting it is its own decision, with its own trade-offs, and our three-way match tolerance guide works through it on real numbers.
Free tool
Three-Way Match Tolerance Calculator
Upload your own invoice lines as a CSV and see how many invoices a three-way match would hold, and how much overbilling it would stop, at any tolerance.
Runs in your browser. No sign-up.
Two-way vs three-way vs four-way matching
The difference is how many documents the invoice is tested against. A two-way match uses the PO. A three-way match adds the goods receipt. A four-way match adds an inspection or acceptance record as well.
| Match | Invoice is tested against | Catches | Misses | Typical use |
|---|---|---|---|---|
| Two-way | Purchase order | Prices above the PO and, in many setups, quantities above what was ordered | Short deliveries and rejected goods billed at the ordered quantity | Services, subscriptions, low-value items with nothing to receive |
| Three-way | PO and goods receipt | All of the above, plus anything billed beyond what was accepted | Goods that were accepted but later fail a quality check | Physical goods and stock |
| Four-way | PO, receipt and inspection record | All of the above, plus goods that failed inspection | Errors in the documents themselves, such as a wrong PO price | Lab and clinical supplies, engineered parts, anything tested before use |
Microsoft's Dynamics 365 documentation draws the same line between the first two. Its two-way match tests the invoice price against the PO, and its three-way match also tests the invoice quantity against the product receipt (Microsoft Learn). Some teams use "four-way" for a match against a contract instead of an inspection. Check which one a policy means before you adopt it.
Most organisations use more than one level, chosen by what is being bought. Four-way on everything slows payment for no gain. Two-way on physical goods means paying for deliveries nobody checked.
What the receipt adds: 320 invoices compared
To see what the third document is worth, we ran the simulator's sample twice: once as a two-way match and once as a three-way match. The sample is a restaurant group's quarter: 320 invoices, 968 lines and $7,084 of overbilling spread through them. Both runs use the simulator's default tolerances.
| Match | Invoices held for review | Paid without review | Overbilling paid | Undelivered goods paid |
|---|---|---|---|---|
| Two-way (invoice vs PO) | 104 | 216 (68%) | $2,667 | $1,843 on 17 invoices |
| Three-way (adds the receipt) | 121 | 199 (62%) | $795 | $0 |
The three-way match sent 17 more invoices to a person. At the simulator's planning cost of $18 per exception, that is $306 of extra review time. In return, $1,872 less overbilling was paid. Most of the difference is short shipments billed in full, which a two-way match has no way to see.
Try it below on the same 320 invoices. Each setting changes how many a three-way match pays without review, and how much overbilling slips through.
Try it on 320 sample invoices · same maths as the simulator
- Paid automatically
- 62%
- Overbilling paid
- $795
- Review cost
- $2,178
- 121 exceptions
- Total cost
- $2,973
At $18 an exception, the lowest-cost price tolerance on this sample is 4.25% ($2,884 in total).
Open with this policyWhy do invoices fail a three-way match?
Almost every failure is a price that differs from the PO or a quantity that differs from the receipt. The causes behind them are predictable, so most can be fixed before the invoice arrives.
| Cause | Fails on | Who resolves it | Fix upstream |
|---|---|---|---|
| Price changed but nobody updated the PO | Price | Buyer | Put the agreed price on the PO when it is raised |
| Short delivery billed in full | Quantity | Store | Receive per line and keep the PO balance open |
| Rejected goods still on the invoice | Quantity | Store | Record rejections at the door, on the line they arrived on |
| Different units on PO and invoice | Both | Buyer | One item master with fixed units of measure |
| No PO number, or the wrong one | Can't be matched | Requester | Tell suppliers that invoices without a PO number go back |
| Invoice arrives before the receipt is recorded | Quantity | Store | Record receipts on the day of delivery |
The last row matters at month end. Goods received but not yet invoiced are a cost you already owe. Goods received not invoiced explains how to account for them.
What a three-way match can't catch
A three-way match compares documents. If a document is wrong, the match agrees with the wrong number.
- A wrong PO price. If the PO was raised above the contract price, the invoice matches it perfectly. Checking invoices against the contract is a separate control, covered in contract price compliance.
- A receipt copied from the delivery note. If the receiver signs for what the driver says arrived instead of counting it, the short delivery is on the receipt too. Count at the door, line by line.
- The same invoice paid twice. A match that tests each invoice on its own can pass a second copy of one that was already paid. Duplicate invoices shows the checks that find them.
- Collusion. If the person recording receipts works with the supplier, all three documents can agree on goods that never came. That is why the people who order, receive and approve payment should be different people, a control known as segregation of duties.
The match also takes discipline at the sites. A receipt keyed in three days late holds up every invoice behind it. That is when people start approving by email to keep suppliers paid.
Sources
- Microsoft Learn, Accounts payable invoice matching overview (Dynamics 365 Finance documentation)
Frequently asked questions
Who performs the three-way match?+
Accounts payable usually owns the three-way match, because it sits just before payment. The inputs come from other teams: procurement raises the purchase order, and the store or receiving team records the goods receipt. In many organisations software runs the match when the invoice is recorded, and AP staff deal only with the exceptions it raises.
Is three-way matching needed for services?+
Services have no physical delivery to receive, so many organisations use a two-way match between the invoice and the purchase order instead. Others replace the goods receipt with a service confirmation, where the person who commissioned the work signs off that it was done. That sign-off plays the role of a receipt and gives the invoice something to test against.
Does three-way matching prevent invoice fraud?+
It blocks several common frauds and errors, such as billing for goods that never arrived, inflating a price or charging for rejected stock. It is weaker when the documents themselves are made to agree, for example through a false receipt. Pair it with duplicate invoice checks and with different people ordering, receiving and approving payment.
Can you pay part of an invoice that fails the match?+
Some organisations pay the lines that matched and hold the rest. Others require the whole invoice to be corrected first. Either approach can work if it is written into the payables policy. What matters is that the unmatched lines are recorded as open, with a reason, so they are not paid later by mistake.
What if the invoice arrives before the goods receipt?+
Hold it. Without a receipt there is no accepted quantity to test against, so the invoice cannot pass the match. Most teams park it as pending and ask the receiving site to record the delivery. If the goods really have not arrived, the invoice waits until they do, or goes back to the supplier.
Read next
- Three-way match tolerance: how to set it without burying AP in exceptionsExact matching sent 71% of sample invoices to review. How to choose a price tolerance, a dollar cap and quantity rules from what an exception costs you.
- Bollard Accounts: purchases that post themselves to the ledgerOne purchase of 30 chairs, three vouchers, six ledger lines, none typed. What the new Accounts module posts on its own.
- Committed spend and encumbrance accounting: why the budget looks fine until the invoices landThe available budget formula, a worked one-campus example, and what happens to commitments at receipt, invoice and cancellation.