The basics

What is three-way matching in accounts payable?

Three-way matching is an accounts payable control that compares three documents before an invoice is paid: the purchase order, the goods receipt and the supplier invoice. The invoice is approved for payment only when all three agree on what was ordered, what was delivered, and what is being charged.

The idea is simple: you should only pay for what you ordered, at the price you agreed, and only for what actually arrived. Each of the three documents answers one part of that question, and a three-way match checks that their answers line up.

In three-way match accounting, the comparison is done line by line: quantities, unit prices and totals on the invoice are checked against the corresponding lines on the purchase order and the receiving record. When everything agrees, or differs by less than an agreed tolerance, the invoice can move straight to payment. When it doesn't, the invoice becomes an exception to be resolved before anyone pays it.

Three-way matching sits at the heart of accounts payable automation. It depends on accurate data from invoice processing, and its result decides what reaches invoice approval.

The three documents

What gets matched in a three-way match

Each document is created by a different person at a different time, which is exactly why comparing them is such an effective control.

01 — Purchase order

What you agreed to buy

Raised by the buyer before the purchase. It sets out the items, quantities, unit prices and terms, and represents the business's approval of the spend.

02 — Goods receipt

What actually arrived

Recorded by whoever receives the delivery, often the warehouse or the requester. Also called a receiving report, it confirms which items and quantities turned up.

03 — Supplier invoice

What you're being asked to pay

Sent by the supplier to request payment. It lists the items, quantities and prices they're billing for, and should reference your PO number.

The process

How the three-way match process works

Whether it's done in a spreadsheet or by software, an accounts payable three-way match follows the same steps.

STEP 01

Capture the invoice

Read the invoice with AI-powered OCR, and extract its PO reference, line items, quantities and prices.

STEP 02

Find the purchase order

Locate the PO the invoice refers to, and pair each invoice line with the matching PO line.

STEP 03

Find the goods receipt

Pull the receiving records for that PO to see what was actually delivered, and when.

STEP 04

Compare line by line

Check quantity and price on each line across all three documents, applying any tolerances.

STEP 05

Clear or flag

Lines that agree are cleared. Lines that don't become exceptions, with the difference identified.

STEP 06

Resolve & approve

Someone decides what to do with each exception, and the matched amount is approved for payment.

Worked example

A three-way match example

A packaging supplier sends an invoice for $5,800.00 against purchase order PO-3182. Here's what a line-by-line three-way match finds.

Line Purchase order Goods receipt Invoice Result
Corrugated boxes 5,000 × $0.84 5,000 received 5,000 × $0.86 Price +$100.00
Packing tape 200 × $3.10 200 received 200 × $3.10 Match
Pallet wrap 40 × $22.00 32 received 40 × $22.00 Qty +$176.00
Totals $5,700.00 — $5,800.00 Payable: $5,524.00

Illustrative example. Figures are made up to show how a three-way match works.

What the match tells you

Packing tape agrees across all three documents, so it clears. The other two lines are exceptions, and each one is a different kind of problem.

Corrugated boxes were all delivered, but invoiced at $0.86 instead of the agreed $0.84, a price variance of $100.00. Unless a price change was agreed, you'd pay the PO price and query the difference with the supplier.

Pallet wrap was invoiced in full, but only 32 of 40 rolls were received, a quantity variance of $176.00. You'd pay for the 32 that arrived and hold the rest until the balance is delivered or credited.

The result: of the $5,800.00 invoiced, $5,524.00 is payable now, and $276.00 is held with a clear reason attached. A 2-way match against the PO alone would have caught the price variance, but not the short delivery. That's the gap the goods receipt closes.

Matching types

2-way vs. 3-way vs. 4-way matching

Three-way matching isn't the only option. The right level depends on what you're buying and how much assurance you need.

  Documents compared What it proves Typically used for
2-way match Invoice + purchase order You're billed for what you ordered, at the agreed price. Services, low-value or low-risk purchases.
3-way match Invoice + purchase order + goods receipt …and the goods actually arrived in the quantity billed. Physical goods bought on a PO. The most common standard.
4-way match Invoice + PO + goods receipt + inspection record …and the goods passed quality inspection. Regulated or quality-critical materials.
Exceptions

Common three-way match exceptions and how to resolve them

Quantity variance

The invoice bills for more than the goods receipt shows. Usually a partial or split delivery. Pay for what was received and hold the rest until the balance arrives or the supplier issues a credit.

Price variance

The unit price on the invoice differs from the PO. Check whether a price change was agreed; if not, pay the PO price and query the difference.

Missing goods receipt

The goods may have arrived, but nobody recorded it. The fix is usually a nudge to the receiver and, longer term, better receiving discipline.

Missing or incorrect PO reference

Without the right PO number, the invoice can't be matched at all. Ask the supplier to reissue, or identify the PO internally before matching.

Setting sensible tolerances

A tolerance is the difference you're willing to accept without review, such as a small rounding difference on a unit price, for example. Set tolerances too tight and trivial variances flood your team; set them too loose and real overcharges slip through. Many teams set tolerances per category and review them as they learn where variances really come from.

Automated three-way matching

Manual vs. automated three-way matching

Three-way matching is one of the most valuable controls in AP and, done by hand, one of the most tedious. It's also one of the easiest to hand to software.

  Manual matching Automated with Leveled
Finding documents Look up the PO and receiving records for every invoice. The PO and goods receipt are found for you.
Comparing Line by line, by eye or in a spreadsheet, often only the total. Every line compared on quantity and price.
Coverage Under pressure, teams spot-check or match on totals only. Every invoice matched, every time.
Exceptions Flagged as "doesn't match", leaving someone to work out why. Explained in plain language: which line, what's different.
Resolution Email chains between AP, the requester and the supplier. Approve the matched lines and hold the rest in one reply.
Three-way matching with Leveled

Every line matched. Every exception explained.

Leveled three-way matches every invoice the moment it arrives. Matched invoices move on by themselves; the ones that don't come back to you as a message, with the answer already worked out.

Line-level matching

Not just the total. Every line.

Matching on totals hides problems that cancel each other out. Leveled compares each invoice line against the PO and the goods receipt, on both quantity and price.

  • ✓ Quantity checked against what was received
  • ✓ Price checked against what was agreed
  • ✓ Matched invoices clear without a click
Exceptions, resolved in the thread

It tells you why, and what to do.

"800 of 1,000 received" is more useful than a red flag. Leveled explains each mismatch in plain language and proposes a resolution you can accept in one reply.

  • ✓ Approve matched lines, hold the rest
  • ✓ Open a short-pay with the supplier on request
  • ✓ Every decision kept as the audit record
FAQ

Frequently asked questions

What is three-way matching in accounts payable?

Three-way matching is an accounts payable control that compares three documents before an invoice is paid: the purchase order (what was ordered), the goods receipt (what was delivered), and the supplier invoice (what is being billed). The invoice is only approved for payment when all three agree, within any tolerances you’ve set.

What are the three documents in a three-way match?

The purchase order, raised by the buyer to authorise the purchase; the goods receipt or receiving report, recorded when the goods arrive; and the vendor invoice, sent by the supplier to request payment.

What is the difference between 2-way, 3-way and 4-way matching?

A 2-way match compares the invoice with the purchase order only. A 3-way match adds the goods receipt, confirming the goods actually arrived. A 4-way match adds an inspection or quality record, confirming the goods passed inspection. Each extra document adds assurance and a little more work.

Why is three-way matching important?

It stops you paying for goods you didn’t order, didn’t receive, or were charged the wrong price for. It also catches duplicate and fraudulent invoices, and gives auditors clear evidence that every payment was checked against an order and a delivery.

What happens when a three-way match fails?

The invoice becomes an exception and is held until someone resolves the difference, for example by accepting a small price change, waiting for the rest of a delivery, approving only the matched lines, or asking the supplier for a credit note. Leveled explains the mismatch line by line and proposes a next step.

What is a matching tolerance?

A tolerance is the size of difference you’re willing to accept without review, such as a small rounding difference on a unit price. Tolerances let trivial variances clear automatically while real problems are still flagged.

Can three-way matching be automated?

Yes. Automated three-way matching reads the invoice, finds the related purchase order and goods receipt, and compares them line by line. Leveled does this for every invoice that arrives, lets matched invoices move forward on their own, and explains the ones that don’t match.

Does three-way matching work for services or non-PO invoices?

Three-way matching needs a purchase order and a receipt, so it fits goods bought on a PO best. Services are usually matched against a confirmation that the work was done, and non-PO invoices (utilities, subscriptions) go through an approval workflow instead.

Start the thread

Bring us one invoice.
Watch it match itself.

In a 30-minute session, upload a real vendor invoice into a Leveled thread, or point us at your AP inbox. You'll see it captured, matched, and ready to approve before the call is over.

We'll reply within one business day. No spam, ever.