Three-Way Matching in Accounts Payable: How It Works

Jul 9, 2026

Convert a purchase order to Excel, CSV, or JSON

PDF, JPG, PNG, BMP, HEIC, TIFF

Submit your purchase orders

Three-way matching in accounts payable is the control that compares three documents before an invoice is paid: the purchase order, the goods receipt, and the supplier invoice. When the quantities, prices, and line items agree across all three, the invoice is approved for payment. When they do not, it becomes an exception the AP team investigates before releasing any money. The check exists to stop overpayments, duplicate payments, and invoices for goods that never arrived.

Last updated July 2026.

Matching only works when the purchase order data is clean and structured. If your POs arrive as PDFs, you can upload one above and get the PO number, supplier, and every line item back as Excel, CSV, or JSON in seconds, so your AP team matches against real data instead of re-keying a printout.

What is three-way matching in accounts payable?

Three-way matching is an accounts payable verification step that cross-checks the purchase order, the goods receipt, and the supplier invoice before payment. The AP team confirms the invoice bills for what was ordered (the PO) and what was actually delivered (the receipt), at the agreed price. If all three line up within tolerance, the invoice is cleared to pay. It is the single most common internal control AP teams use to protect cash.

The three documents being matched

Each document answers a different question, and the match only holds when all three agree:

  • Purchase order: what was ordered, at what quantity and price. It sets the benchmark and is created when the purchase is approved.
  • Goods receipt: what was actually delivered and its condition, recorded by the receiving team when the shipment arrives. This is the goods receipt note.
  • Supplier invoice: what the vendor is charging for, and the document that triggers payment.

Match the invoice to the PO alone and you have a two-way match. Add the goods receipt and you have a three-way match, which is stronger because it confirms delivery, not just the order. The full comparison is covered in two-way vs three-way matching.

How does the three-way match process work, step by step?

The three-way match runs in four stages, from purchase order to approved payment:

  1. Purchase order is issued. Once a requisition is approved, the PO records the items, quantities, and agreed prices, setting the benchmark every later document is checked against.
  2. Goods are received and recorded. When the shipment arrives, the receiving team counts and inspects it and logs a goods receipt, noting any shortage or damage.
  3. Invoice arrives. The supplier sends an invoice listing items, quantities, and prices they expect to be paid for.
  4. AP matches all three. The AP team compares quantity, price, and line items across the PO, the receipt, and the invoice. A clean match is approved; a mismatch outside tolerance becomes an exception to resolve.

What are matching tolerances?

Matching tolerances are the small variances an organization allows to pass without manual review, such as a percentage or a dollar amount. They stop tiny rounding differences and freight rounding from holding up otherwise valid invoices. A common setup allows a quantity or price variance of around two percent, or a few dollars, before the invoice is flagged. Tolerances balance control against speed: too tight and AP drowns in exceptions, too loose and real errors slip through.

Common three-way match exceptions

Most of an AP team's matching time goes to the invoices that do not match cleanly. The usual causes are worth knowing because each has a different fix:

  • Price variance: the invoice unit price differs from the PO price, often a missed contract update or a manual keying error.
  • Quantity variance: the invoice bills for more units than were received, or a partial delivery has not been fully recorded.
  • Missing goods receipt: the invoice arrives before receiving has logged the delivery, so there is nothing to match against yet.
  • Line-item mismatch: the invoice describes items differently from the PO, so the lines do not map one to one.

A large share of these trace back to bad data at the start: a PO that was keyed by hand, or line items that were never captured cleanly. Getting accurate purchase order line items into your system early removes a lot of downstream matching pain.

Three-way matching in procurement

Procurement and accounts payable share the three-way match, and the handoff between them is where it succeeds or fails. Procurement owns the purchase order and the terms; receiving owns the goods receipt; AP owns the invoice and the final match. When any of those records is incomplete or entered late, the match stalls. Strong procurement teams standardize PO formats and make sure line-item detail, not just header totals, reaches AP, because header-only data cannot support a line-level match.

Where document capture speeds up matching

The match itself is a comparison your ERP or AP system performs. What slows it down is getting clean data into that system in the first place, especially when POs and invoices arrive as PDFs. Automated extraction reads the PO into structured fields, PO number, supplier, quantities, unit prices, and line totals, so the values are ready to match instead of waiting in a keying queue. Teams that also want to remove manual work on the invoice side often automate their accounts payable invoice processing so both documents reach the match as data. For AP-specific PO capture, see purchase order extraction for accounts payable.

To be clear about scope: PurchaseOrders captures match-ready purchase order data. It does not perform the three-way match itself, which stays in your ERP or AP automation platform where the approval controls and audit trail live.

Frequently asked questions

What are the three items matched in a three-way match?

A three-way match compares the purchase order, the goods receipt, and the supplier invoice. The purchase order shows what was ordered and at what price, the goods receipt shows what was actually delivered, and the invoice shows what the supplier is charging. When quantity, price, and line items agree across all three within tolerance, the invoice is approved to pay.

What is the difference between a two-way and three-way match?

A two-way match compares only the purchase order and the invoice. A three-way match adds the goods receipt, so it also confirms the items were actually delivered before payment. Three-way matching is stronger for physical goods, while two-way matching is often used for services where there is no delivery to receive.

Why is three-way matching important in accounts payable?

Three-way matching protects cash by catching overpayments, duplicate invoices, price and quantity errors, and billing for goods that never arrived. It is a core fraud and error control, and it gives auditors evidence that every payment was tied to a real, approved, delivered order. For most AP teams it is the last checkpoint before money leaves the business.

Can three-way matching be automated?

Yes. AP automation and ERP systems can match a purchase order, receipt, and invoice automatically and only route the exceptions to a person. The prerequisite is clean, structured data from all three documents. Automated extraction handles the capture step by turning PDF purchase orders and invoices into fields the matching engine can compare.

What happens when an invoice fails the three-way match?

When an invoice fails, it becomes an exception and payment is held until the discrepancy is resolved. The AP team investigates the cause, a price difference, a quantity gap, or a missing goods receipt, and either corrects the record, requests a credit, or short-pays to the agreed amount. Only once the variance is explained or fixed does the invoice move to payment.