
- What is 4-way matching?
- The 4 documents in 4-way matching
- How the 4-way matching process works
- 2-way vs. 3-way vs. 4-way matching in accounts payable
- Benefits of 4-way matching
- Drawbacks of 4-way matching
- When to use 4-way matching
- 4-way matching example in accounts payable
- How to automate 4-way matching
- Simplify invoice matching with Ramp

When you're managing accounts payable (AP), 4-way matching adds an extra layer of verification to help you prevent overpayments, catch invoice discrepancies, and ensure you actually received and approved what you're paying for. You might not need this level of control for every purchase, but it's essential when you're dealing with high-value, high-risk procurement.
What is 4-way matching?
4-way matching is an AP verification process that compares 4 key documents before approving a payment. These documents include:
- The purchase order (PO)
- The goods received note (GRN)
- The inspection report
- The vendor invoice
Each document serves as a checkpoint to confirm you're paying for goods you actually ordered, received, and inspected. It builds on 3-way matching by adding a quality inspection check, so you're not just verifying delivery, you're verifying that what arrived meets your standards.
When you compare these four documents, you catch payment errors, prevent fraud, and maintain control over spending. It also helps you build stronger supplier relationships by ensuring you pay the right amount on time.
The 4 documents in 4-way matching
All 4 documents must align before you release payment. Here's what each one covers.
Purchase order
The purchase order confirms what you agreed to buy, including items, quantities, unit prices, and delivery terms. It's the baseline you'll check every other document against.
Goods received note
The goods received note (also called a receiving report or GRN) documents what was physically delivered to your warehouse. Your receiving team creates it to confirm the shipment matches what was ordered on the PO.
Inspection report
The inspection report is the quality verification document confirming goods passed inspection and aren't damaged. Your quality control team prepares it after examining the delivery against the specifications in your PO or contract. This is the document that distinguishes 4-way matching from 3-way matching.
Vendor invoice
The vendor invoice is the supplier's bill requesting payment for the goods delivered. It's the document you're validating against the other 3, checking that quantities, pricing, and terms all line up.
How the 4-way matching process works
In 4-way matching, each step builds on the last. Here's the process from start to finish.
1. Create and approve the purchase order
Your procurement team initiates the transaction by creating a PO with item details, quantities, agreed pricing, and delivery terms. Once approved, this becomes the authoritative record for the entire transaction.
2. Receive and document the goods
When the shipment arrives, your receiving team logs what was actually delivered and creates a goods received note. They compare what arrived against the PO to flag any short shipments, overages, or delivery issues.
3. Inspect and record quality
Your quality control team verifies that the delivered goods meet the specifications outlined in the PO or contract. They check for damage, defects, or anything that doesn't meet your standards, then document their findings in an inspection report.
4. Receive the vendor invoice
The vendor sends their invoice requesting payment for the goods. It should mirror the PO in quantity and pricing. If there's a mismatch, such as billing for more units or a different price, you'll flag it for review.
5. Match all 4 documents
Your accounts payable team compares quantities, prices, and quality status across all 4 documents. Any discrepancies between what was ordered, delivered, inspected, and invoiced get flagged before payment moves forward.
6. Approve or resolve before payment
If everything matches within your tolerances, you approve the invoice and process payment. If discrepancies exist, you resolve them with the vendor first. You only release funds when all 4 documents align.
Who performs each step?
To make 4-way matching work, you need clear ownership of each verification step. Different departments play crucial roles, ensuring proper segregation of duties and maintaining financial controls throughout the procurement cycle.
| Document | Owner |
|---|---|
| Purchase order | Procurement/purchasing department |
| Goods received note | Warehouse/receiving department |
| Inspection report | Quality control/quality assurance team |
| Vendor invoice | Accounts payable team |
When you assign clear ownership to each document, you create accountability and ensure thorough verification at every stage. This approach strengthens your internal controls and speeds up the payment approval process.
2-way vs. 3-way vs. 4-way matching in accounts payable
You'll need to choose the right matching method based on your transaction size, risk level, and whether quality verification matters. Here's how the 3 methods compare:
| Matching type | Documents compared | Best for |
|---|---|---|
| 2-way matching | PO + Invoice | Services, subscriptions |
| 3-way matching | PO + Invoice + GRN | Standard goods purchases |
| 4-way matching | PO + Invoice + GRN + Inspection report | Quality-critical goods |
2-way matching
A 2-way match compares the PO to the invoice only. It's the simplest form, confirming pricing and quantities without verifying delivery. This works well for services, subscriptions, and other purchases where there's nothing physical to receive or inspect.
3-way matching
A 3-way match adds the GRN to the comparison. It confirms you actually received what you ordered before paying. This is the most common matching method for goods-based purchases.
4-way matching
A 4-way match adds the inspection report for quality verification. It's the most rigorous option. Use it when quality assurance is critical and you need documented proof that goods met your specifications before releasing payment.
Benefits of 4-way matching
4-way matching gives you stronger payment controls than simpler methods. Here's where it adds the most value.
Prevents invoice fraud
Catching mismatches across four documents prevents you from paying for goods you didn't order, didn't receive, or that failed inspection. The extra verification layer makes it much harder for fraudulent or unauthorized invoices to slip through.
Reduces overpayments and duplicate payments
Matching catches billing errors, quantity discrepancies, and pricing mistakes before you release payment. If a vendor invoices for 200 units but your receiving report shows 180 arrived, you'll catch it before overpaying.
Improves vendor quality control
Requiring quality sign-off holds vendors accountable to your specifications. When vendors know payment depends on inspection approval, they're less likely to submit incomplete or substandard deliveries.
Strengthens audit compliance
A 4-document trail provides clear evidence for auditors and supports regulatory requirements. You can use 4-way matching to create audit trails that demonstrate compliance across your supply chain.
Drawbacks of 4-way matching
4-way matching isn't the right fit for every purchase. Here are the trade-offs to consider.
Adds processing time
Reviewing 4 documents instead of 2 or 3 adds extra steps to your AP process. This is especially true if you're doing it manually. Each document needs to be gathered, reviewed, and compared before payment can move forward.
Can delay vendor payments
Waiting for inspection reports may push payments past due dates, potentially affecting vendor relationships. If your quality team is backlogged, invoices sit in limbo even when everything else checks out.
Requires consistent documentation
You need a reliable inspection report process for 4-way matching to work. Not all teams have this infrastructure in place, and inconsistent documentation creates bottlenecks and gaps in your verification workflow.
When to use 4-way matching
Reserve 4-way matching for purchases where quality verification justifies the extra time and resources. Use 2-way or 3-way matching for routine, low-risk purchases to balance control with efficiency.
4-way matching makes the most sense when you're dealing with:
- High-value inventory or raw materials: Large orders where a quality defect could mean significant financial loss—think manufacturing components, construction materials, or specialty equipment
- Regulated industries requiring quality documentation: Healthcare, pharmaceuticals, aerospace, and defense operate under strict compliance standards. The inspection report creates the audit trail regulators expect.
- New or unproven vendor relationships: When you haven't established trust with a supplier, the extra verification step protects you from quality issues before they become costly patterns
- Goods with strict specifications: Precision parts, structural materials, or anything where tolerances matter. A single flawed component could compromise product integrity or safety.
4-way matching example in accounts payable
Say your manufacturing company orders 500 specialty bearings at $120 each, totaling $60,000. Here's how 4-way matching plays out:
- Your procurement team issues a purchase order for 500 bearings with the agreed quantity, price, and delivery terms
- When the shipment arrives, your receiving team counts 500 bearings and logs a GRN confirming the full delivery
- Your quality team inspects the bearings and finds that 30 units don't meet the required tolerance specifications. The inspection report documents 470 accepted units and 30 rejected.
- The supplier sends an invoice for $60,000—billing for the full 500 units
Your AP team matches all 4 documents and catches the discrepancy: The invoice bills for 500 units, but only 470 passed inspection. You contact the vendor to resolve the issue before paying, either adjusting the invoice to $56,400 for the accepted units or arranging replacement parts.
Without the inspection report in the mix, you might have approved the full $60,000 and paid for 30 defective bearings.
How to automate 4-way matching
Manual 4-way matching creates bottlenecks when you need to cross-check data across different systems or chase down missing documentation from other departments. The process is slow, error-prone, and easy to bypass without proper controls.
AP automation software transforms 4-way matching into a practical, scalable process:
- Document capture: OCR and AI-powered data capture digitize POs, GRNs, inspection reports, and invoices, eliminating manual data entry
- Auto-matching: The system compares quantities, pricing, and quality fields across all 4 documents and flags any mismatches in real time
- Exception flagging: Flagged invoices route to the appropriate reviewers based on rules you define, so you don't have to chase approvals manually
- Approval routing: Matched invoices move through your approval workflow automatically, with every step logged for audit purposes
AP automation enforces your matching policy consistently, ensuring no steps are skipped, even when volumes increase. You'll catch discrepancies before payment while keeping invoices moving through approval.
Simplify invoice matching with Ramp
Ramp captures invoices, matches them against POs and receipts, flags discrepancies, and routes approvals so you spend less time on manual verification and more time on work that matters. With 99% OCR accuracy on line-item data and invoice processing that runs 2.4x faster than older AP systems1, you can implement rigorous matching without slowing down your AP process.
Use Ramp Bill Pay as your standalone AP system, or connect it with Ramp's corporate cards, expense reimbursements, and procurement workflows for unified financial oversight. Up to 95% of companies report stronger payables visibility after moving to Ramp1.
Try an interactive demo to see how Ramp can simplify your invoice matching.
1 Based on Ramp's customer survey collected in May '25

FAQs
5-way matching adds a fifth document—typically a contract or master service agreement—to verify negotiated pricing and terms before payment. It's less common than 4-way matching and generally reserved for complex vendor relationships where contract terms differ from standard PO pricing.
Match the received portion against the corresponding PO line item and create separate documentation for what arrived. When the remaining goods show up, repeat the receiving and inspection process. Reconcile everything before paying the full invoice, or pay in installments as each delivery clears all 4 checkpoints.
Most AP teams set tolerances as a small percentage (typically 1%–5%) or a fixed dollar amount to account for rounding, shipping variances, or minor price fluctuations. Set your threshold based on your transaction volume and risk tolerance. Tighter tolerances catch more discrepancies but generate more exceptions to review.
“In the public sector, every hour and every dollar belongs to the taxpayer. We can't afford to waste either. Ramp ensures we don't.”
Carly Ching
Finance Specialist, City of Ketchum

“Compared to our previous vendor, Ramp gave us true transaction-level granularity, making it possible for me to audit thousands of transactions in record time.”
Lisa Norris
Director of Compliance & Privacy Officer, ABB Optical

“Ramp gives us one structured intake, one set of guardrails, and clean data end‑to‑end— that’s how we save 20 hours/month and buy back days at close.”
David Eckstein
CFO, Vanta

“Ramp is the only vendor that can service all of our employees across the globe in one unified system. They handle multiple currencies seamlessly, integrate with all of our accounting systems, and thanks to their customizable card and policy controls, we're compliant worldwide. ”
Brandon Zell
Chief Accounting Officer, Notion

“When our teams need something, they usually need it right away. The more time we can save doing all those tedious tasks, the more time we can dedicate to supporting our student-athletes.”
Sarah Harris
Secretary, The University of Tennessee Athletics Foundation, Inc.

“Ramp had everything we were looking for, and even things we weren't looking for. The policy aspects, that's something I never even dreamed of that a purchasing card program could handle.”
Doug Volesky
Director of Finance, City of Mount Vernon

“Switching from Brex to Ramp wasn't just a platform swap—it was a strategic upgrade that aligned with our mission to be agile, efficient, and financially savvy.”
Lily Liu
CEO, Piñata

“With Ramp, everything lives in one place. You can click into a vendor and see every transaction, invoice, and contract. That didn't exist in Zip. It's made approvals much faster because decision-makers aren't chasing down information—they have it all at their fingertips.”
Ryan Williams
Manager, Contract and Vendor Management, Advisor360°



