Three-Way Matching in Accounts Payable: Process, Example, and How to Automate It

What three-way matching in accounts payable is, a worked example, 2-way vs 3-way vs 4-way, how it works in SAP, Oracle and NetSuite, and how to automate the exceptions.

Mihir Labh
Mihir Labh
Product Marketing Manager, Mindsprint
Published
June 17, 2026
Read time
8 mins
Updated
August 17, 2026

Three-way matching in accounts payable is a control that approves a supplier invoice for payment only when it agrees with the purchase order and the goods receipt on quantity, price, and description.

It is the check that decides whether an invoice clears on its own or gets held for review. Done well, most invoices clear untouched. Done badly, your team spends the month chasing the ones that do not.

This guide covers what three-way matching is, a worked example, how it differs from two-way and four-way matching, how it works in SAP, Oracle, and NetSuite, and how to automate it as your invoice volume grows.

TL;DR

  • Three-way matching compares three documents before an invoice is paid: the purchase order (PO), the goods receipt, and the supplier invoice. If quantity, price, and description agree, the invoice is approved. If not, it is held as an exception.

  • The three documents are the purchase order (what you ordered), the goods receipt (what was delivered), and the supplier invoice (what you are billed).

  • It stops four payment errors: duplicate invoices, overbilling, invoices for goods never received, and invoices from unauthorized vendors.

  • Two-way matching checks the PO against the invoice, three-way adds the goods receipt, and four-way adds an inspection or quality check.

  • It rarely fails on clean invoices; it fails on the exceptions, partial deliveries, price and quantity variances, unit-of-measure mismatches, and freight or tax lines never on the PO. Tolerances decide how many you review.

  • SAP, Oracle, and NetSuite all run it the same way, matching within tolerance and blocking the invoices that fall outside it until someone resolves them.

  • To automate it, use OCR and straight-through processing for the clean invoices, and AI agents that resolve the exceptions, not just flag them, as volume grows.


In this article

    SprintAP

    Invoice Processing Automation

    Eliminate manual invoice handling, automate capture, coding, approvals, and posting while reducing errors and accelerating cycle times.

    What is three-way matching in accounts payable?

    Three-way matching is an accounts payable control that verifies an invoice against two independent records before any payment is released. It compares the purchase order (what was ordered and approved), the goods receipt (what was physically received), and the supplier invoice (what is being billed).

    When quantity, unit price, and line description agree across all three within tolerance, the invoice is approved. When they do not, it is placed on hold and worked as an exception.

    The control works because the three documents come from three different sources. Purchasing raises the PO, the receiving team logs the goods receipt, and the vendor issues the invoice.

    No single person controls all three. That is a basic separation of duties, and it makes a fake or inflated invoice far harder to pay.

    The three documents in a three-way match

    • Purchase order (PO). Created by the buyer and sent to the vendor. It is the authorization: the agreed items, quantities, unit prices, and terms.

    • Goods receipt, also called the receiving report or delivery note. Logged by the warehouse when the shipment arrives. It is the proof of what was actually delivered, and in what quantity and condition.

    • Supplier invoice. The vendor's request for payment. Its line items and pricing must reflect what was ordered and received.

    Three-way matching example

    The clearest way to understand the control is to walk one invoice through it.

    • Purchase order: 100 units of Part A at $10 each, total $1,000.

    • Goods receipt: 100 units received and logged.

    • Supplier invoice: 100 units at $10 each, total $1,000.

    All three agree on item, quantity, and price. The invoice passes and is scheduled for payment with no human review.

    Now change one field. If the invoice bills 100 units at $11, there is a $100 price variance, and the invoice is held until someone approves the higher price or the vendor sends a corrected invoice.

    If the goods receipt shows only 90 units received but the invoice bills 100, there is a quantity variance, and the invoice is held until the last 10 units arrive or the invoice is adjusted.

    That held invoice is what accounts payable calls an exception. Exceptions are where almost all of the time and cost in matching actually go.

    2-way vs 3-way vs 4-way matching: what is the difference?

    Three-way matching is the standard for physical goods, but it is not the only option. The right level depends on what you are buying and how much risk it carries.

    Match type

    Documents compared

    Best for

    The trade-off

    Two-way

    PO + invoice

    Services and low-risk spend with no physical delivery

    Faster, less overhead, but no proof the goods arrived

    Three-way

    PO + goods receipt + invoice

    Physical goods and most purchase orders

    The standard control; needs a goods receipt logged

    Four-way

    PO + goods receipt + inspection or quality check + invoice

    Regulated, high-spec or high-value goods

    Strongest assurance, but slowest; needs an inspection step

    Most teams do not apply one level to everything. They use three-way matching for physical goods and higher-value POs, two-way matching for low-risk services and recurring spend, and four-way matching for regulated or high-specification items that need an inspection sign-off.

    Why is three-way matching important?

    • It prevents overpayment. It catches invoices that bill for more units, higher prices, or extra charges than were ordered or received.

    • It detects fraud. It blocks fictitious invoices, ghost shipments, and fake billings, because a fake invoice has no matching PO and no goods receipt behind it.

    • It reduces errors. It catches honest mismatches in quantity, price, or product before the payment goes out, not after.

    • It builds accountability. Each document comes from a different source, which reduces the risk of collusion and gives you clean evidence for the audit.

    The three-way matching process, step by step

    Here is the full sequence, from purchase order to payment.


    Three way matching image 1

    • A purchase order is raised and approved, then sent to the vendor.

    • The goods arrive and the receiving team logs a goods receipt against that PO.

    • The supplier invoice arrives and is captured, by hand or with OCR, and coded to the PO.

    • The system compares the invoice line by line against the PO and the goods receipt on quantity, price, and description.

    • If every line is within tolerance, the invoice is posted and scheduled for payment with no human touch. This is straight-through processing.

    • If any line is outside tolerance, the invoice is blocked and routed to the right owner as an exception, then paid once the variance is resolved.

    Common three-way matching errors (and why matches fail)

    In practice, the invoices that stall are rarely fraudulent. They are ordinary invoices that trip a real-world edge case. The most common causes:

    • Quantity variance. A partial delivery, an over-shipment, or a goods receipt not yet posted, so the received quantity does not equal the billed quantity.

    • Price variance. The vendor billed a different unit price than the PO, often because a price change was never updated on the purchase order.

    • Unit-of-measure mismatch. The PO is in cases and the invoice is in individual units, or the reverse, so the quantities look wrong even when the delivery was correct.

    • Missing goods receipt. The invoice arrives before the warehouse logs the receipt, so there is nothing to match against yet.

    • Extra lines not on the PO. Freight, tax, surcharges, or handling fees that were never ordered and have no PO line to match.

    • Wrong or missing PO reference. The invoice cites the wrong purchase order, or none at all, so the match cannot even start.

    • Duplicate invoice. The same invoice submitted twice, which matching should catch before it is paid again.

    Three-way match tolerances and how to handle exceptions

    No two documents ever agree to the last cent, so matching runs on tolerances: the small variances you accept without a review. Set them well and clean invoices flow through untouched. Set them badly and you either leak overpayments or drown in holds.

    • Set tolerance limits. Agree an acceptable variance for minor differences, for example under 2 percent or a small fixed amount, so a few cents of rounding does not trigger a review.

    • Isolate quantity variance. If the invoiced quantity is higher than the goods receipt, hold the invoice until the warehouse logs the rest, rather than paying for goods you have not received.

    • Resolve price variance at source. If the price exceeds the PO, ask the vendor or buyer for a revised invoice or a credit memo instead of quietly paying the difference.

    • Route the right alert. Send unexpected upcharges to the buyer or department head who can approve or reject them, not to the AP clerk who cannot.

    • Track vendor patterns. Log recurring mismatches to spot unreliable suppliers or outdated price sheets, then fix the root cause instead of reworking the same exception every month.

    One first-hand note from running multi-country accounts payable: the cost that surprises finance teams is never the per-invoice matching rate. It is the exception rate, the share of invoices that do not match first time and have to be chased and cleared by a person. That is the number worth measuring, and the number worth automating.

    Challenges and limitations of three-way matching

    Three-way matching is a strong control, but it has real costs worth planning for.

    • It is time-consuming when manual. Comparing three documents line by line slows invoice processing and does not scale as volume climbs.

    • Exceptions delay payments. Frequent mismatches need investigation, which holds up payments and creates vendor friction if they are not cleared quickly.

    • Automation takes upfront effort. AP automation software and managed services cost money and setup time, though they usually pay back through fewer errors, less rework, and captured early-payment discounts.

    Three-way matching in SAP, Oracle, and NetSuite

    The concept is identical across ERPs, but the mechanics and the words differ, which matters when you configure it or troubleshoot a blocked invoice.

    SAP

    In SAP, invoice verification happens in MIRO, and the goods receipt and invoice both clear through the GR/IR (goods-receipt / invoice-receipt) account. SAP uses tolerance keys to decide what passes:

    • Key BR handles an invoice receipt that arrives before the goods receipt.

    • Key BW handles the reverse, a goods receipt before the invoice.

    • Key DW blocks a line when there is no goods receipt at all.

    An invoice outside tolerance is blocked and sits in MRBR until someone releases it. Tolerances are configured under SPRO, then Materials Management, Logistics Invoice Verification, Invoice Block, Set Tolerance Limits.

    Oracle

    Oracle Fusion and EBS apply matching rules and tolerances at the invoice level, placing holds automatically when a line falls outside them. The invoice cannot be paid until the hold is reviewed and released, the same block-and-release pattern as SAP under different names.

    NetSuite

    NetSuite matches the vendor bill against the purchase order and the item receipt, using tolerance thresholds you set for quantity and price. Bills within tolerance post automatically, and those outside it are flagged for review.

    The common failure across all three is not the software. It is tolerance settings that are too tight, so the team is buried in holds, or too loose, so overpayments slip through. Getting that right matters more than any single feature.

    When to use three-way vs two-way matching

    Requiring three-way matching on every invoice slows down spend that carries almost no risk. Match the control to the purchase.

    • Use three-way matching for physical goods, inventory, and higher-value purchase orders, where confirming what was actually received is the whole point.

    • Use two-way matching for low-risk services and recurring spend with no delivery to receive, such as subscriptions, utilities, or professional fees.

    Volume and geography change the calculus too. A team processing a few hundred invoices a month can hold exceptions by hand. One processing thousands cannot.

    International vendors also add freight, duty, and tax lines that were never on the PO, so your matching rules and tolerances have to account for them, or every cross-border invoice becomes an exception.

    How to automate three-way matching

    Manual matching does not scale. Modern AP automation removes the data entry and comparison work through a few standard mechanics:

    • OCR data extraction reads the invoice and pulls out the header and line-item details.

    • Automated data routing pushes that data into your ERP, such as SAP or Oracle.

    • Algorithmic verification cross-references the line items across the PO, the receipt, and the invoice.

    • Straight-through processing pays the clean matches without human eyes.

    • Exception flagging isolates the failing matches and routes them to an AP specialist.

    There are three broad ways to put those mechanics to work, and most teams move up this ladder over time.

    • ERP-native matching with OCR. Your ERP captures the invoice, reads the line items, and auto-matches the clean ones for straight-through processing. A sensible starting point for a single-ERP environment with clean data.

    • AP automation software. Tools such as BILL, Tipalti, Medius, and AvidXchange add capture, tolerance rules, exception queues, and approval workflows on top of the ERP. They match well, but the exceptions still land in a human queue.

    • Agentic managed AP. AI agents that do not just match the invoice but also work the exception: they chase the missing goods receipt, read the credit memo, check the price against the contract, and propose the fix, with your team on oversight. Mindsprint SprintAP runs this way across multiple ERPs, for teams where exception volume, not matching itself, is the bottleneck.

    The test for any of these is simple. It should shrink the share of invoices that need a human, and shorten the time to clear the ones that still do.

    Conclusion

    Three-way matching is not complicated in theory. It is the discipline of paying only for what you ordered and received, checked across three documents that come from three different sources.

    In practice, the whole game is the exceptions. The clean invoices look after themselves. The cost, the delay, and the vendor friction all sit in the invoices that do not match first time, which is why tolerances and exception handling matter more than the match itself.

    So the path is straightforward. Match the control to the risk, three-way for physical goods and two-way for low-risk services. Tune your tolerances so clean invoices flow through and only real variances stop. Then automate, starting with OCR and straight-through processing, and moving to agents that resolve exceptions once volume, not matching, becomes the bottleneck.

    Get those three right and three-way matching stops being a bottleneck. It becomes what it is meant to be: a quiet control that pays the right invoices and holds the rest.

    Share

    Frequently Asked Questions

    What is an example of a 3-way match?

    A purchase order for 100 units at $10 each, a goods receipt confirming 100 units were delivered, and a supplier invoice for 100 units at $10. All three agree on item, quantity, and price, so the invoice is approved and paid. If only 90 units had been received, the invoice would be held as an exception until the mismatch was resolved.

    What are common 3-way matching errors?

    The most common are quantity variances from partial or over-deliveries, price variances where the invoice does not match the PO price, unit-of-measure mismatches, missing goods receipts when the invoice arrives first, extra lines such as freight or tax that were never on the PO, and duplicate invoices.

    What is the 3-way method in accounting and how does it work?

    The 3-way method, or three-way match, approves a supplier invoice only when it agrees with the purchase order and the goods receipt on quantity, price, and description. Accounts payable compares the three. If they match within tolerance, the invoice is paid; if not, it is flagged for review.

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

    Two-way matching compares only the purchase order and the invoice. Three-way matching adds the goods receipt, so it also confirms the goods were actually delivered before payment. Two-way is faster but a weaker control; three-way is the standard for physical goods.

    What happens when a three-way match fails?

    The invoice is blocked and cannot be paid until the variance is resolved. It becomes an exception, is routed to the right owner, and is released once the discrepancy is fixed, for example by receiving the missing goods, correcting the price, or obtaining a credit memo.

    Can three-way matching be automated?

    Yes. ERP systems and AP automation software capture invoices with OCR, match them against the PO and goods receipt automatically, and pass clean invoices straight through to payment. Agentic AP goes further by also resolving the exceptions rather than only flagging them.

    Still have questions?

    Email us and our AP automation experts will get back to you shortly.

    Email Icon
    Send Email

    What is an example of a 3-way match?

    A purchase order for 100 units at $10 each, a goods receipt confirming 100 units were delivered, and a supplier invoice for 100 units at $10. All three agree on item, quantity, and price, so the invoice is approved and paid. If only 90 units had been received, the invoice would be held as an exception until the mismatch was resolved.

    What are common 3-way matching errors?

    The most common are quantity variances from partial or over-deliveries, price variances where the invoice does not match the PO price, unit-of-measure mismatches, missing goods receipts when the invoice arrives first, extra lines such as freight or tax that were never on the PO, and duplicate invoices.

    What is the 3-way method in accounting and how does it work?

    The 3-way method, or three-way match, approves a supplier invoice only when it agrees with the purchase order and the goods receipt on quantity, price, and description. Accounts payable compares the three. If they match within tolerance, the invoice is paid; if not, it is flagged for review.

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

    Two-way matching compares only the purchase order and the invoice. Three-way matching adds the goods receipt, so it also confirms the goods were actually delivered before payment. Two-way is faster but a weaker control; three-way is the standard for physical goods.

    What happens when a three-way match fails?

    The invoice is blocked and cannot be paid until the variance is resolved. It becomes an exception, is routed to the right owner, and is released once the discrepancy is fixed, for example by receiving the missing goods, correcting the price, or obtaining a credit memo.

    Can three-way matching be automated?

    Yes. ERP systems and AP automation software capture invoices with OCR, match them against the PO and goods receipt automatically, and pass clean invoices straight through to payment. Agentic AP goes further by also resolving the exceptions rather than only flagging them.

    Book Demo

    See Sprint AP in action

    Walk through a live workflow — from invoice receipt to payment posting.

    Mindsprint exists to responsibly engineer the next generation of enterprises, driven by insight, innovation, and passion. With a proven track record spanning two decades, we are the partner of choice for high-impact, AI-driven technology solutions for clients across the globe in industries such as retail, agriculture, manufacturing, healthcare, and life sciences among others.
    Our offerings include enterprise technology applications, business process services, cybersecurity solutions, and automation-as-a-service, delivered with a strong commitment to responsible innovation.
    Headquartered in Singapore, Mindsprint has a global workforce of 3,200+ professionals across the US, UK, Middle East, India, Australia, and Africa.

    Choose your innovation pathway, be it digital transformation strategy, IT consulting services, intelligent enterprise operations, cybersecurity, or the latest technology trends. Let us start a conversation. Let our minds sprint towards true digital transformation

    Get in touch