- Three-way matching compares the purchase order, goods receipt note (GRN) and supplier invoice before you pay.
- It confirms you are paying only for what you ordered, at the agreed price, and actually received.
- It is easy to automate when all three documents arrive as structured data.
Before paying a supplier, every accounts team wants to answer one question: are we paying for exactly what we ordered and received? Three-way matching is the standard control that answers it. This guide explains how it works, the mismatches it catches, and how to automate it.
The three documents
| Document | Created by | Answers |
|---|---|---|
| Purchase order (PO) | Buyer's purchasing team | What did we agree to buy, how many, at what price? |
| Goods receipt note (GRN) | Buyer's stores or warehouse | What actually arrived, how many, in what condition? |
| Supplier invoice | Supplier | What is the supplier billing us for? |
Three-way matching compares them line by line. If all three agree, within an agreed tolerance, the invoice can be approved for payment. If they don't, it goes to review.
What is a GRN?
A goods receipt note is the buyer's record of goods received against a purchase order. It is usually created by whoever unloads and counts the delivery. A good GRN records:
- The PO and supplier delivery note it relates to.
- Items and quantities actually received.
- Items rejected or damaged, and why.
- Date of receipt and who received the goods.
The GRN is what turns "the supplier says they sent it" into "we confirm we got it".
Two-way vs three-way vs four-way matching
- Two-way: PO vs invoice. It checks price and quantity billed against what was ordered, but not whether goods arrived. It is common for services.
- Three-way: PO vs GRN vs invoice. This is the standard for physical goods.
- Four-way: adds a quality inspection report. It is used where goods must pass inspection before acceptance, as in pharma and manufacturing inputs.
How three-way matching works
- Link the documents. Find the PO and GRN(s) the invoice refers to.
- Match each line. Pair invoice lines with PO and GRN lines by item.
- Compare quantities. Invoiced quantity should not exceed received quantity, and received should not exceed ordered.
- Compare prices. The invoiced rate should match the PO rate.
- Check taxes and totals. Tax and invoice totals should be correct for the matched quantities and rates.
- Decide. Approve if everything is within tolerance. Otherwise, hold it for review or reject it with a reason.
Common mismatches, and what they mean
| Mismatch | Likely cause | Typical action |
|---|---|---|
| Invoiced qty > received qty | Short delivery, or billing for a later shipment | Pay for received qty; ask for a revised invoice or credit note |
| Invoiced rate > PO rate | Price change not agreed, or wrong price list | Reject with remarks, or approve the variance explicitly |
| Item on invoice not on PO | Substitute item, or wrong PO referenced | Review with purchasing |
| Received qty > ordered qty | Over-delivery | Accept the excess, or return it |
| Damaged goods on GRN | Transit damage | Pay for good units; raise a purchase return |
Setting tolerances
Insisting on an exact match for every paisa creates needless exceptions. Most businesses set tolerances, for example a small rounding difference on totals or a small percentage on price. Differences inside the tolerance pass automatically. Anything outside goes to review. Set tolerances per supplier or category if needed, and review them periodically.
Why manual matching struggles
When the PO lives in your ERP, the GRN is on paper at the warehouse and the invoice arrives as a PDF, matching means pulling three documents from three places and comparing them by eye. With many line items, item codes that differ between buyer and seller, and partial deliveries, it is slow and error-prone. As a result, many teams only spot-check, and that defeats the purpose of the control.
Automating three-way matching
Automation needs all three documents as structured data, linked to each other:
- The PO is sent to the supplier as a structured
purchase_orderdocument. - The GRN is recorded and shared as a structured
grndocument, referencing the PO. - The invoice arrives as a structured
purchaseorsaledocument, referencing the PO and delivery.
DocBridge supports all three document types, plus delivery notes and purchase returns, in the same exchange workflow. Once they flow as data, matching rules can run automatically, and the receiver can accept the invoice or reject it with a specific remark the supplier sees straight away. See the full document cycle in purchase order to invoice automation.
Conclusion
Three-way matching is one of the most effective financial controls a buying business can run, and one of the most tedious to do by hand. Exchange your POs, GRNs and invoices as structured, linked documents, set sensible tolerances, and let the routine matches happen automatically. Your team's time then goes to the few exceptions that genuinely need a decision.
Frequently asked questions
What is three-way matching?
Three-way matching compares the purchase order, the goods receipt note and the supplier invoice before payment, to confirm that what was ordered, received and billed agree.
What is a GRN?
A goods receipt note (GRN) records the goods actually received against a purchase order — items, quantities and condition — and is created by the buyer's stores or warehouse team.
What is a matching tolerance?
A tolerance is an allowed difference, such as a small rounding or price variance, within which documents are treated as matching. Differences outside it go to review.