Skip to content
Independent procurement software research. ProcureWave does not sell software. Advertising disclosure
For software vendors →
ProcureWave
Accounts Payable Guide

Three-Way Matching Explained: 2-Way, 3-Way and 4-Way Invoice Matching

How the purchase order, goods receipt and invoice are compared before payment, how to set tolerances and resolve mismatches, what the control prevents and when a lighter check is enough.

Published Nov 27, 2026 12 min read
Three-Way Matching Explained: 2-Way, 3-Way and 4-Way Invoice Matching
Photo by Tiger Lily on Pexels

Three-way matching is the check that an invoice agrees with the purchase order and the goods receipt before anyone pays it. The idea is simple: pay only for what was ordered, at the agreed price, and only once it has arrived. This guide explains how two-way, three-way and four-way matching differ, which fields are compared, how tolerances work, how a mismatch gets resolved, what fraud the control does and does not stop, when it is more control than you need, and how software runs the match.

Key takeaways

  • Two-way matching compares invoice and purchase order. Three-way adds the goods receipt. Four-way adds one more record, which vendors define differently.
  • Line-level matching, with received-to-date and invoiced-to-date quantities, catches more than comparing totals.
  • Set tolerances by category, with a percentage and an absolute cap, and restrict who can change them.
  • Resolve a mismatch by fixing the document that is wrong. Overrides need a reason, an approver and an audit trail.
  • For services, subscriptions, utilities and very small purchases, lighter controls usually cost less.

What three-way matching is

In a purchase-order based process, three records describe the same purchase from three points of view. The purchase order is the buyer's approved commitment: this supplier, these items, this quantity, this price. The goods receipt is the buyer's record of what actually arrived. The invoice is the supplier's request to be paid. Three-way matching compares them before the invoice is approved for payment.

If all three agree, the invoice can be approved by rule, because the spending decision was made when the order was approved and the receipt proves delivery. If they disagree, something went wrong: the supplier billed too much, the delivery was short, the price changed after the order or a record was keyed incorrectly. The match does not decide which record is right. It stops payment and points a person at the difference. Our procure-to-pay guide places this step in the full purchasing cycle; this guide stays with the step itself.

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

Most organizations choose the matching level per category or order type, depending on whether there is something to receive and how much risk the purchase carries.

LevelDocuments comparedWhat it provesTypical use
Two-wayPurchase order and invoiceThe supplier billed what was ordered, at the ordered priceServices, subscriptions and other purchases with nothing physical to receive
Three-wayPurchase order, goods receipt and invoiceThe goods were ordered, received and billed in the same quantities at the agreed pricePhysical goods: stock, equipment, supplies, parts
Four-wayThe three above plus a fourth record, such as an inspection, an order confirmation or a delivery noteThe goods also passed the extra checkRegulated, high-value or quality-critical items

The four-way definition varies by vendor. Workday's training material, as summarized in our Workday Procurement profile, says its four-way matching adds an inspection. Mercanis says its four-way match compares the purchase order, the order confirmation, the goods receipt and the invoice. Vic.ai describes two-way, three-way and four-way matching across purchase orders, invoices, receipts and delivery notes. Each is a reasonable control, but they check different things.

The documents and the fields compared

The three documents carry overlapping data on purpose, so fields can be compared one by one. Our purchase order and invoice guide covers the two commercial documents in depth, and our goods received note guide covers the receipt. For matching, these fields matter:

FieldPurchase orderGoods receiptInvoiceWhat the match checks
SupplierYesYesYesThe same supplier account on all three
PO number and lineYesYesShould be quotedThe invoice points at a valid, open order and, ideally, the specific line
Item or serviceYesYesYesThe item billed is the item ordered and received
QuantityOrderedReceivedBilledBilled is not more than received, and received is not more than ordered
Unit priceAgreedNot usuallyBilledBilled price equals the agreed price, within tolerance
Tax, freight and extrasExpectedNoBilledExtra lines were agreed and tax is calculated correctly
Currency and termsYesNoYesThe invoice uses the ordered currency and payment terms

Header-level matching compares totals. It is quick but loose, because an overcharge on one line can hide behind an under-billed line elsewhere. Line-level matching compares each invoice line with its order line and receipt line. It catches more, but needs suppliers to bill in a way that maps to the order. Workday's training material says matching can be set at header, line or line split level, so the choice is often a configuration setting.

How a match runs, step by step

  1. Identify the order. Confirm the PO number on the invoice belongs to an open order for the same supplier. If it is missing, look for the order by supplier, items and amounts. If none exists, the invoice follows the non-PO approval route instead.
  2. Pair the lines. Map each invoice line to an order line. Supplier part numbers often differ from yours, so a cross-reference helps.
  3. Check quantities against receipts. Compare the quantity billed with the quantity received to date, minus anything already invoiced. If 100 units were ordered, 60 received and 40 already invoiced, a new invoice for 30 units is 10 over the receipt.
  4. Check prices. Compare each unit price with the agreed price and apply the price tolerance.
  5. Check extra lines and duplicates. Confirm freight, surcharges and tax, and look for an invoice already on file with the same supplier, number or amount.
  6. Pass or hold. Within tolerance, the invoice is approved by rule. Otherwise it is held with a reason code and routed for resolution.

Timing matters too. Invoices often arrive before the receipt is entered. A sound process holds them as "awaiting receipt" and rechecks automatically when the receipt posts, rather than treating them as errors.

Tolerances and exceptions

An exact match on every field would send invoices to a person over rounding, currency and unit-of-measure conversion or freight. A tolerance is the difference the rules accept without review, and designing it well is one of the most important matching decisions.

Designing tolerance rules

  • Combine a percentage with an absolute cap. "Up to 2 percent, but never more than a fixed amount" stops a small percentage adding up to a large sum on a large invoice. These are examples, not recommendations; set your own from your order values.
  • Treat price and quantity separately. Quantity tolerances are usually tighter, because paying for units that never arrived is a direct loss.
  • Make rules one-directional where sensible. An invoice slightly under the order price costs nothing; one over it costs money.
  • Vary them by category. Items priced by weight or with surcharges may need a different rule from fixed-price catalog items.
  • Control who can change them. Tolerances are a control setting, so changes should be restricted, logged and reviewed.

Common exception types

The usual reasons for a hold are a missing or wrong PO number, a price variance, a quantity variance, a missing receipt and a suspected duplicate. Each has a different owner: buyers own price questions, receiving teams own receipts and accounts payable owns duplicates. Our PO invoice guide takes the payables view of these exceptions, including who clears each type, how to age the queue and how to track the touchless invoice rate.

How a mismatch is resolved

Fix the document that is wrong rather than forcing the invoice through. First decide which of the three records is wrong:

FindingRecord at faultUsual resolution
The supplier billed above the agreed priceInvoiceReject it, or ask for a credit note and a corrected invoice
A price increase was agreed but the order was never updatedPurchase orderThe buyer amends the order, with re-approval if the change exceeds the approver's limit
Goods arrived but no receipt was enteredGoods receipt (missing)Receiving confirms the delivery and posts the receipt, and the match reruns
The receipt has the wrong quantityGoods receiptReceiving corrects it from the delivery evidence
The delivery was short or damagedInvoicePay only for what was accepted and request a credit note for the rest
The invoice copies one already processedInvoice (duplicate)Cancel the copy and record the reason

Three practices keep resolution honest. Re-approve materially amended orders, or the match simply confirms a commitment nobody approved. Correct receipts only from evidence, such as a signed delivery note or a stock count. And keep overrides rare, each with a reason code, an approver with the authority to accept the difference and a log entry. Workday's training material, for example, says invoices with a match exception are held until the exception is resolved or overridden. Then feed recurring causes back upstream: a supplier that keeps billing above order prices needs a pricing conversation, and a site that keeps forgetting receipts needs training.

The controls and fraud prevention it supports

Three-way matching works because separate people create separate records. It depends on segregation of duties: one person requests, another approves the order, someone at the delivery point records the receipt, accounts payable processes the invoice and someone else releases payment. If one person can do all of these, the records can be made to agree and the match proves nothing.

With duties separated, the match helps prevent billing for undelivered goods, prices above the agreed order price, quantities above what was ordered or received, duplicate payments against the same receipt and spending that was never approved, because every matched invoice needs an approved order.

It does not catch everything. A fictitious supplier with a fake order and receipt will match if one insider controls all three. A fraudster who changes a real supplier's bank details is paid through a perfectly matched invoice. Invoices without purchase orders never enter the match. Those risks need other controls: restricted access to the supplier master file, verification of bank detail changes, review of new suppliers and approval rules for non-PO invoices.

Some AP automation vendors add such checks alongside matching. Basware says its AI fraud signals run before approval and that it verifies supplier bank accounts with Trustpair, the payment fraud prevention company whose acquisition it completed in October 2026. Yooz describes automated checks for inconsistent vendor banking details, alerts and secondary verification when payment details change, and statistical analysis of irregular vendor payment patterns. Medius sells Fraud and Risk Detection, which its pricing page places in the AP 360 package rather than AP Essentials.

When three-way matching is overkill

Every match costs a purchase order, a receipt and exception handling. For some spend that cost exceeds the risk:

  • Services and subscriptions. There is nothing physical to receive. Two-way matching plus approval from the service owner usually fits better, with a simple service confirmation if you need proof of performance.
  • Utilities, rent and recurring charges. Amounts are set by contract or predictable. Checking against the contract or an expected schedule, with review of unusual amounts, is often enough.
  • Very small purchases. A purchasing card with limits and merchant rules, followed by statement review, may cost far less than a PO and receipt per item.
  • High-volume, trusted supply. Some organizations use evaluated receipt settlement, paying from the receipt and the agreed price without waiting for a supplier invoice. It relies on accurate receipts and an agreement with the supplier.

This is a risk choice, not a rule. Set the matching level by category and value, write it into the purchasing policy and review it yearly alongside the tolerances. Spend that skips the three-way match should still sit under some control, such as card limits, budget reviews or sampling after payment.

How software automates matching

Manual matching means opening three documents, often in three systems, and comparing them line by line. Software captures invoice data from email, PDF, e-invoicing or supplier portals, pulls the order and receipts, applies matching rules and tolerances, routes each exception to the person who can clear it and reruns the match when a receipt posts or an order changes.

Products approach this from two directions. Some are procure-to-pay tools that own the order and the receipt, so all three documents live in one system. Procurify lists purchase orders with receiving controls and automatic invoice capture with two-way and three-way matching. Precoro lists 2-way and 3-way matching on its pricing page and says on its homepage that it catches duplicate invoices before payment, alongside its purchase orders and receipts. Yooz's P2P module tracks goods receipts against purchase orders and matches invoices to orders and delivery receipts using 2-way or 3-way matching, according to its P2P page. Tipalti documents two-way and three-way matching with configurable tolerance thresholds, flags out-of-tolerance items for review and sells a procurement add-on with goods received notes.

Others are AP automation tools that match against orders and receipts held elsewhere, usually in the ERP. Esker Accounts Payable checks each invoice against business rules and matches it to purchase orders and goods receipts, and the vendor positions it for large companies and complex finance organizations. Basware says it matches invoices against purchase orders, receipts and contracts before approval. Medius matches invoice lines against purchase orders, goods receipts and contracts and flags off-contract prices and quantities before payment, according to the vendor. Stampli documents line-level matching against purchase orders and receipts, and says its AI, Billy, flags duplicate invoices; its procurement module, according to the vendor, tracks receipts against the PO and carries discrepancies into invoice matching. Vic.ai says it matches blanket POs and can still find a match when the PO number is missing. Workday Procurement is aimed at organizations that run Workday for finance and want purchasing, receiving and invoice matching in the same system.

These descriptions come from vendor pages, as summarized in the linked ProcureWave profiles checked in November 2026. They are not a shortlist or a ranking. To compare options, browse the invoice automation software and accounts payable software categories, read our comparisons of Stampli vs Tipalti, Basware vs Medius and Precoro vs Procurify, or see our overview of accounts payable automation software.

Questions to ask vendors about matching

  • Does matching run at line level, header level or both, and can we choose by supplier or category?
  • Where do orders and receipts live, how often do they sync, and what happens to an invoice that arrives before the receipt?
  • Can tolerances combine a percentage and an absolute cap, differ for price and quantity, and apply in one direction only?
  • If you support four-way matching, which document is the fourth record?
  • Who can override a match exception, and what is recorded when they do?
  • Please demonstrate with our own invoices: a clean match, a price variance, a short delivery and an invoice with no PO number.

Sources

Product facts come from the linked ProcureWave profiles, which cite each vendor's official pages and were checked in November 2026. Vendor pages referenced:

Frequently asked questions

What is three-way matching in accounts payable?

Three-way matching checks that a supplier invoice agrees with the purchase order, which says what was agreed, and the goods receipt, which says what arrived. The invoice passes only if supplier, items, quantities and prices line up within your tolerances; otherwise it is held as an exception.

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

Two-way matching compares the invoice with the purchase order only. Three-way matching adds the goods receipt, so it also confirms the goods arrived before they are paid for. Two-way suits services and subscriptions; three-way suits physical goods.

What is four-way matching?

It adds a fourth record to the three-way check, and vendors do not all mean the same one. Workday's training material describes an inspection, Mercanis names the order confirmation and Vic.ai lists delivery notes. Ask each vendor which document its fourth check uses.

What happens when an invoice does not match?

It is held and routed to whoever can fix the cause: a buyer for an outdated order, the receiving team for a wrong receipt, or the supplier for a credit note. Overrides should need a reason and an authorized approver. Our PO invoice guide covers running the exception queue at volume.

Does three-way matching prevent invoice fraud?

It blocks billing for undelivered goods, overcharging and duplicate payment, as long as different people order, receive and pay. It does not catch a fake supplier with a matching order and receipt, a changed bank account or an invoice with no purchase order, which need supplier master data and bank detail controls.

Software in this article

Basware

by Basware

Invoice lifecycle platform for AP automation, global e-invoicing and compliance, with a natively integrated e-Procurement module, aimed at large and global finance teams.

Quote-based Cloud Mid-market, Enterprise
View profile

Esker Accounts Payable

by Esker

Cloud AP automation from Esker for large, multi-entity finance teams: AI invoice capture, PO matching, approval workflows, e-invoicing compliance and payments.

Quote-based Cloud Enterprise
View profile

Medius

by Medius

Cloud AP automation and spend management suite for midsize and large companies, with invoice capture, payments, procurement, sourcing, contracts and expenses.

Quote-based Cloud Mid-market, Enterprise
View profile

Mercanis

by Mercanis

AI source-to-pay platform from Berlin covering intake, RFx sourcing and negotiation, supplier management, contract extraction, P2P matching and spend analytics.

Quote-based Cloud Mid-market, Enterprise
View profile

Precoro

by Precoro

Cloud procurement and AP software for mid-sized and multi-entity businesses, covering requests, POs, invoice matching, payments and budgets.

Published pricing Cloud Small business, Mid-market
View profile

Procurify

by Procurify Technologies Inc.

Procure-to-pay platform for growing mid-sized organizations, linking purchase requests, approvals, POs, invoice matching, payments and spending cards.

Quote-based Cloud Mid-market
View profile

Stampli

by Stampli

Procure-to-pay platform built around AP automation, with procurement, vendor management, payments and expenses that work on top of the existing ERP.

Quote-based Cloud Mid-market
View profile

Tipalti

by Tipalti

Cloud finance automation platform for mid-market companies, covering accounts payable, global supplier payments, mass payouts, procurement, expenses, cards and treasury.

Published pricing Cloud Mid-market
View profile

Vic.ai

by Vic.ai

AI accounts payable platform for invoice processing, PO matching and approvals, with VicPay bill pay and vendor portal, VicCard corporate cards and analytics.

Quote-based Cloud Mid-market, Enterprise
View profile

Workday Procurement

by Workday, Inc.

Procure-to-pay application in Workday Spend Management: guided buying, catalogs and punchout, requisitions, POs, receiving, supplier invoices with 2-, 3- and 4-way matching.

Quote-based Cloud Mid-market, Enterprise
View profile

Yooz

by Yooz

Cloud AP and procure-to-pay automation covering invoice capture, coding, approvals, PO matching, budgets and optional payments, priced by document volume.

Published pricing Cloud Small business, Mid-market
View profile

Comparing Invoice Automation Software?

Invoice capture, matching, approval and e-invoicing for accounts payable. Browse 75 research-based profiles by pricing model, deployment and company size.

Explore Invoice Automation Software