Skip to content

Three-way matching: how it works and what to do when it fails

Updated 3 Dec 2026 · 4 min read

Short answer

Three-way matching is an accounts payable check that compares three documents before paying a supplier: the purchase order, the goods receipt and the supplier's invoice. If quantities, prices and terms agree within set tolerances, the invoice is approved for payment; if not, it is held as an exception.

On this page
  1. The three documents
  2. The steps
  3. A worked example
  4. Tolerances
  5. Two-way, three-way and four-way matching
  6. Common mismatches and what to do
  7. Services and invoices without a receipt
  8. Three-way matching in SAP
  9. What automation can and can't do
  10. How to measure matching
  11. Common mistakes
  12. Questions

The three documents

Purchase order (PO)

Answers:
What did we agree to buy, at what price?

Goods receipt (GRN)

Answers:
What did we actually receive?

Supplier invoice

Answers:
What is the supplier asking us to pay?
DocumentAnswers
Purchase order (PO)What did we agree to buy, at what price?
Goods receipt (GRN)What did we actually receive?
Supplier invoiceWhat is the supplier asking us to pay?

Pay only when all three tell the same story: ordered, received and billed at the same quantity and price.

The steps

  1. 1Capture the invoice. Record the supplier's invoice with its PO number.
  2. 2Find the PO and receipt. Pull the purchase order and every goods receipt against it.
  3. 3Compare line by line. Item, quantity and unit price on the invoice against the PO and the receipt.
  4. 4Apply tolerances. Accept differences within the set limits; flag the rest.
  5. 5Resolve exceptions. Find the cause and fix it with purchasing, receiving or the supplier.
  6. 6Approve for payment. Release the matched invoice to be paid on its terms.

A worked example

Purchase order

Quantity:
100
Unit price:
50.00
Total:
5,000

Goods receipt

Quantity:
96

Invoice

Quantity:
100
Unit price:
51.00
Total:
5,100
QuantityUnit priceTotal
Purchase order10050.005,000
Goods receipt96
Invoice10051.005,100

Two mismatches. Quantity: the invoice bills 100, but only 96 arrived. Price: 51.00 against 50.00 on the PO, a 2% difference. With a price tolerance of 1%, the invoice is blocked.

The fix: confirm with receiving whether 4 units are still to come, check the contract for any agreed price change, and ask the supplier for a corrected invoice, here 96 × 50.00 = 4,800. If the remaining 4 arrive later, they are received and billed then.

Tolerances

Exact matches are rare: rounding, freight and small price changes are normal. Tolerances set how much difference is accepted automatically, for example a small percentage or a fixed amount per line. Anything outside the tolerance becomes an exception for a person to review. Set tolerances tight enough to catch errors and loose enough that people aren't reviewing rounding.

Two-way, three-way and four-way matching

  • Two-way: PO and invoice only. Common for services and low-risk purchases where there is no receipt.
  • Three-way: PO, goods receipt and invoice. The standard for physical goods.
  • Four-way: adds an inspection or quality check, for goods that must pass inspection before payment.

Common mismatches and what to do

Price variance

Usual cause:
Price changed after the PO, or the wrong price list
Usual fix:
Check the contract; amend the PO or ask for a corrected invoice

Quantity variance

Usual cause:
Partial delivery, or billed before delivery
Usual fix:
Pay for what was received; hold the rest

No goods receipt

Usual cause:
Goods arrived but weren't booked in
Usual fix:
Ask the receiving team to record the receipt

No PO

Usual cause:
Bought outside the process
Usual fix:
Raise a retrospective PO under policy, with approval

Duplicate invoice

Usual cause:
Sent twice, or by email and portal
Usual fix:
Reject the duplicate; tell the supplier
MismatchUsual causeUsual fix
Price variancePrice changed after the PO, or the wrong price listCheck the contract; amend the PO or ask for a corrected invoice
Quantity variancePartial delivery, or billed before deliveryPay for what was received; hold the rest
No goods receiptGoods arrived but weren't booked inAsk the receiving team to record the receipt
No POBought outside the processRaise a retrospective PO under policy, with approval
Duplicate invoiceSent twice, or by email and portalReject the duplicate; tell the supplier

Services and invoices without a receipt

Services have no goods to receive. A service entry, a timesheet or the requester's confirmation that the work was done takes the place of the goods receipt. For low-value, recurring costs such as utilities, many businesses use two-way matching or approve against a contract instead.

Three-way matching in SAP

SAP matches during invoice verification (MIRO): the invoice is compared with the purchase order and goods receipt, and any difference beyond the tolerance limits blocks it for payment. Tolerances are set by tolerance keys, for example PP for price variances and DQ for quantity variances (configured in OMR6). Blocked invoices are reviewed and released with MRBR once the cause is resolved.

What automation can and can't do

Reading invoices and matching them within tolerance is well suited to software, and most ERPs do it. The work that remains is the exceptions: finding out why a price changed, whether a missing receipt means the goods didn't arrive or weren't recorded, and getting a corrected invoice. That needs facts from several people and systems, and someone entitled to decide.

How to measure matching

  • First-time match rate: invoices that match without anyone touching them.
  • Exceptions by cause: price, quantity, missing receipt, no PO, duplicate.
  • Time to resolve an exception, from block to release.
  • Duplicate payments caught before payment.

A low first-time match rate usually points upstream: purchases without POs, prices not updated on POs, or receipts not recorded on time.

Common mistakes

  • Tolerances so wide that real overcharges pass, or so tight that people review rounding all day.
  • Approving blocked invoices in bulk to clear the queue, which defeats the check.
  • Changing the PO to match the invoice without asking why the price changed.
  • No owner for missing receipts, so invoices wait while receiving and finance each assume the other will act.

Questions

Why is three-way matching important?

It stops overpayments, payments for goods never received and duplicate payments, and gives auditors a clear trail for every payment.

Does SAP do three-way matching?

Yes. SAP and most other ERPs compare the invoice with the purchase order and goods receipt during invoice verification and block invoices outside tolerance.

What is the difference between two-way and three-way matching?

Two-way matching compares only the purchase order and the invoice. Three-way matching adds the goods receipt, so you also confirm the goods actually arrived.

How FRU handles this

Purchase order approvals

When a match fails, the work is finding out why. FRU's agents gather the PO, receipt and contract, prepare the fix, and send decisions to the people your rules name.

Paid at go-live.Refunded if targets aren't met.

Get started