Skip to content
Arthiva
Blogs News Help Center
Book a demo

Purchasing

2-Way, 3-Way and 4-Way Match: How Invoice Matching Works

← All articles

In this article

  1. The documents involved
  2. 2-way match: invoice against the purchase order
  3. 3-way match: adding the goods receipt
  4. 4-way match: adding inspection
  5. 2-way, 3-way and 4-way side by side
  6. A worked example
  7. Exceptions you will see
  8. How to choose

Invoice matching checks a supplier's invoice against the records that prove the money is owed, before anyone pays it. Two-way, three-way and four-way describe how many of those records take part.

In short: a 2-way match checks the invoice against the purchase order, so you pay the agreed price for no more than you ordered. A 3-way match adds the goods receipt, so you pay only for what actually arrived. A 4-way match adds the inspection record, so you pay only for what passed quality. Each layer catches more mistakes and depends on one more record being kept accurately.

The documents involved

DocumentWho creates itWhat it proves
Purchase orderThe buyerThe price, quantity and terms both sides agreed
Goods receiptReceiving or the warehouseWhat physically arrived, and when
Inspection recordQuality or incoming inspectionHow much of what arrived was accepted
Supplier invoiceThe supplierWhat the supplier is asking to be paid

The invoice is always the document being tested. The other three are the evidence it is tested against.

2-way match: invoice against the purchase order

A two-way match compares each invoice line with the order line it bills for. It asks two questions: is the unit price the one we agreed, and is the quantity within what we ordered?

It catches price increases nobody approved, items that were never ordered, and billing for more than the order allowed.

It misses anything about delivery. A supplier can bill the full order before a single unit ships, or bill 100 units when 80 arrived, and a two-way match will pass it.

It fits services, subscriptions, low-value purchases, and deposits or prepayments, where nothing is expected to have arrived yet.

3-way match: adding the goods receipt

A three-way match keeps both two-way checks and adds a third: has the quantity billed actually been received? The receipt is recorded by the people who unloaded the goods, not by the buyer or the supplier, which is what makes it independent evidence.

It catches short shipments, partial deliveries billed in full, and invoices that arrive before the goods do.

It depends on receiving discipline. If receipts are entered days late, or not at all, correct invoices fail and the accounts payable team learns to override the match. A three-way match is only as good as the receiving record.

It fits most purchases of physical goods, and it is the usual default for inventory and production materials.

4-way match: adding inspection

A four-way match adds the inspection or acceptance record. Goods that arrived but failed incoming inspection, or are still waiting to be inspected, are not payable yet.

It catches paying for rejected parts, which is the case a three-way match cannot see: the goods were received, so the receipt agrees with the invoice, but some of them were unusable.

It fits components with incoming quality control, regulated parts, and high-value materials where a rejected batch is expensive. It only works if inspection results are recorded against the receipt. Turning it on without that record either blocks every invoice or quietly checks nothing.

Some systems use "four-way" for a different fourth document, such as a contract or a separate acceptance step. The idea is the same: one more independent record that has to agree before payment.

2-way, 3-way and 4-way side by side

2-way3-way4-way
Compared with the invoicePurchase orderOrder and goods receiptOrder, receipt and inspection
Main questionDid we agree this price and quantity?Did it arrive?Did it pass?
CatchesWrong prices, unordered items, over-billingAlso short shipments and early billingAlso rejected or uninspected goods
NeedsAccurate purchase ordersPlus timely receiptsPlus recorded inspection results
Typical useServices, low-value spend, depositsPhysical goods and inventoryInspected components, regulated or high-value parts

A worked example

A hardware company orders 100 circuit boards at $12.00, a $1,200 order. 90 boards arrive. Incoming inspection accepts 85 and rejects 5. The supplier then invoices 100 boards at $12.50, for $1,250.

MatchWhat failsSafe to pay
2-wayPrice: $12.50 billed against $12.00 agreed. Quantity passes, since 100 were ordered.$1,200 (100 at $12.00)
3-wayPrice, and quantity received: 100 billed, 90 received.$1,080 (90 at $12.00)
4-wayPrice, quantity received, and quantity accepted: only 85 passed.$1,020 (85 at $12.00)

The same invoice is worth $1,200, $1,080 or $1,020 depending on how much evidence the match uses. Without any match, the company pays $1,250.

Exceptions you will see

  • Freight, tax and other charges. These often sit on the invoice header rather than an order line, so lines can all pass while the total does not. Check the total separately.
  • More than one invoice per order line. Two invoices for 60 units against a 100-unit line each pass on their own and together over-bill by 20. A good match counts everything already billed on the line.
  • Partial deliveries. The match should compare against what has been received so far, and let the rest be billed when it arrives.
  • Currency differences. An invoice in a different currency from the order cannot be compared without an agreed rate.
  • Duplicates. The same invoice number from the same supplier, submitted twice.
  • Tolerances. Some teams accept small price or rounding differences to cut noise. Every tolerance is money paid without a check, so keep them small and visible.

How to choose

  1. Match every invoice that has a purchase order at least two-way. It costs almost nothing once orders are in the system.
  2. Use three-way for physical goods, and fix receiving first if receipts are late or missing.
  3. Add the inspection check where you already inspect incoming goods and record the results. Do not add it as a separate process just to have it.
  4. Match deposits two-way. A prepayment is paid before anything arrives, by agreement, so holding it for a receipt defeats its purpose.
  5. Make failures explainable. A clerk needs to see which line failed, by how much, and against which record. A pass or fail on the whole invoice cannot be worked.

See it in Arthiva

Arthiva Purchasing runs a three-way match on every supplier invoice: price and quantity against the purchase order, counting everything already billed on that line, and quantity against what was received. Where the goods were inspected, it also checks what passed, so rejected goods and goods still in inspection are not payable. Deposits match two-way against the order. Each check is recorded per line with the reason it passed or failed. Explore Purchasing or book a demo.

More articles

Arthiva

One place to run your supply chain.

Book a demo →

Company

HomeBlogsNewsHelp Center

Policies

Privacy PolicyTerms of ServiceCookie Policy

Contact

Email usLinkedIn
© Arthiva, Inc. 2026. All rights reserved.