Start free with 20 credits — no credit card required.Get started
Accounts payable

Three-Way Matching Explained: PO, GRN, and Invoice

Three-way matching prevents overpayment by verifying the PO, receipt, and invoice agree before you pay a vendor.

AutoDocParse Team3 min read

Three-way matching is one of the most important controls in accounts payable. Before you pay a vendor invoice, finance verifies that three documents agree: the purchase order (what you ordered), the goods received note (what arrived), and the vendor invoice (what you are being charged).

When these documents match, you pay with confidence. When they do not, you hold payment until someone investigates.

The three documents

DocumentCreated byPurpose
Purchase orderYour procurement teamAuthorizes the order — quantities, prices, vendor
Goods received note (GRN)Your warehouse / receiving teamConfirms what was accepted at the dock
Vendor invoiceSupplierRequests payment for goods or services delivered

Read our full guide on what is a goods received note (GRN) for receiving workflow details.

How three-way matching works

  1. PO issued — procurement creates a purchase order with line items, quantities, and agreed prices
  2. Goods received — warehouse completes a GRN noting quantities received vs ordered
  3. Invoice arrives — vendor sends an invoice referencing the PO number
  4. AP matches — finance compares all three: same vendor, same PO reference, matching quantities and totals
  5. Approve or hold — matching invoices go to payment; mismatches go to exception review

Common mismatch scenarios

  • Short shipment — PO ordered 100 units, GRN shows 90 received, invoice bills for 100
  • Price change — PO price differs from invoice (verbal agreement not updated in system)
  • Missing GRN — invoice arrives before receiving team files the receipt
  • Wrong PO reference — vendor cites a different PO number on the invoice

Each scenario should trigger a hold, not an automatic payment.

Manual vs automated matching

Manual matching works for low volume: an AP clerk opens three PDFs side by side and compares line by line. At 50+ invoices per month, this breaks down.

Automated matching extracts structured data from each document type:

AutoDocParse compares extracted fields and routes mismatches to the review queue before data posts to your ERP.

Building a three-way match workflow

If you are starting from scratch, follow our invoice processing automation guide and add these steps:

  1. Require PO numbers on all non-PO invoices above your threshold
  2. Mandate GRN completion before invoice approval
  3. Parse all three document types into structured JSON
  4. Set tolerance rules (e.g. ±$0.01 on totals, exact match on quantities)
  5. Route exceptions to a named reviewer with audit logging

Use our accounts payable automation checklist to track progress.

Free templates to get started

Next steps

Start with 20 free credits per month on AutoDocParse. Upload sample POs, GRNs, and invoices from your top vendors, then measure match rates before scaling. Pair with Zapier or webhooks to push approved matches to your accounting system.

Frequently asked questions

What is three-way matching in accounts payable?+

Three-way matching compares a purchase order, goods received note (or receipt), and vendor invoice before approving payment. All three documents must agree on quantities, prices, and references.

What happens if the three documents do not match?+

AP holds the invoice for investigation. Common causes include partial shipments, price changes, or missing GRN data. The invoice is not paid until discrepancies are resolved.

Can three-way matching be automated?+

Yes. Document parsers extract PO numbers, received quantities, and invoice line items automatically. AutoDocParse flags mismatches with confidence scores and routes exceptions to a review queue.

Ready to automate your documents?

Start free with 20 credits per month. Upload real invoices, receipts, or POs and see extraction with confidence scores in minutes.