Skip to content
NewBollard Accounts is live: purchases that post themselves to the ledger

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 Calculator

Our 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.

DocumentWho creates itWhat it provesWhat the match takes from it
Purchase orderThe buyer, before deliveryThe purchase was approved, at an agreed priceUnit price per line
Goods receiptThe store or receiving team, at deliveryThe goods arrived and were acceptedAccepted quantity per line
InvoiceThe supplier, after deliveryWhat the supplier wants to be paidThe 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.

LinePurchase orderReceipt: acceptedInvoicePrice checkQuantity checkShould payOverbilled
Copier paper, case40 × $42.004040 × $42.00PassPass$1,680.00$0.00
Nitrile gloves, case12 × $64.901212 × $68.50Fail: $3.60 overPass$778.80$43.20
Hand sanitiser, case10 × $52.308 (2 rejected)10 × $52.30PassFail: 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.

  1. 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.
  2. 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.
  3. Test quantity against the receipt. Use the accepted quantity, never the delivered quantity. Rejected goods are not billable.
  4. Test price against the PO. Compare unit prices, not line totals, so a price rise can't hide inside a short charge.
  5. 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.
  6. 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.

Open the simulator

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.

MatchInvoice is tested againstCatchesMissesTypical use
Two-wayPurchase orderPrices above the PO and, in many setups, quantities above what was orderedShort deliveries and rejected goods billed at the ordered quantityServices, subscriptions, low-value items with nothing to receive
Three-wayPO and goods receiptAll of the above, plus anything billed beyond what was acceptedGoods that were accepted but later fail a quality checkPhysical goods and stock
Four-wayPO, receipt and inspection recordAll of the above, plus goods that failed inspectionErrors in the documents themselves, such as a wrong PO priceLab 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.

MatchInvoices held for reviewPaid without reviewOverbilling paidUndelivered goods paid
Two-way (invoice vs PO)104216 (68%)$2,667$1,843 on 17 invoices
Three-way (adds the receipt)121199 (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 policy

Why 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.

CauseFails onWho resolves itFix upstream
Price changed but nobody updated the POPriceBuyerPut the agreed price on the PO when it is raised
Short delivery billed in fullQuantityStoreReceive per line and keep the PO balance open
Rejected goods still on the invoiceQuantityStoreRecord rejections at the door, on the line they arrived on
Different units on PO and invoiceBothBuyerOne item master with fixed units of measure
No PO number, or the wrong oneCan't be matchedRequesterTell suppliers that invoices without a PO number go back
Invoice arrives before the receipt is recordedQuantityStoreRecord 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

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.

Run your own numbersThree-Way Match Tolerance Calculator

All guides · All free tools