Accounts Payable

3-Way Matching in Invoice Processing: Automate PO–GRN–Invoice Matching

Learn how automated 3-way matching compares purchase orders, goods receipt notes, and vendor invoices. Catch discrepancies automatically before payment.

6 April 202610 min read

What Is 3-Way Matching?

3-way matching is the process of comparing three documents before approving an invoice for payment:

  • Purchase Order (PO) — What you agreed to buy, at what price
  • Goods Receipt Note (GRN) — What you actually received
  • Vendor Invoice — What the vendor is billing you for
  • All three must match within acceptable tolerances before the invoice is approved for payment. This ensures you never pay for:

    • Goods or services you didn't order
    • Quantities greater than what you received
    • Prices higher than what was agreed

    Why 3-Way Matching Matters

    Prevents Overpayments

    Without matching, vendors occasionally invoice for more than the agreed price or for undelivered quantities. Automated matching catches these discrepancies immediately.

    Reduces Fraud

    3-way matching is one of the most effective controls against invoice fraud — both external (fraudulent vendor invoices) and internal (fictitious purchase schemes).

    Accelerates Payments

    When matching is manual, invoices sit in queues waiting for someone to cross-reference documents. Automated matching processes matched invoices instantly, enabling early payment discounts.

    Simplifies Audits

    Every payment has a complete matching audit trail — PO reference, GRN reference, matching result, and approval decision.

    The 3 Documents Explained

    Purchase Order (PO)

    The PO is issued by your procurement team when a purchase is authorised. It specifies:
    • Supplier name and GSTIN
    • Item descriptions and HSN codes
    • Ordered quantities
    • Agreed unit prices
    • Delivery terms and expected date
    • Payment terms

    Goods Receipt Note (GRN)

    The GRN is created by your warehouse or receiving team when goods arrive. It records:
    • PO reference number
    • Items received
    • Quantities received (may differ from ordered)
    • Condition of goods (accepted/rejected)
    • Receipt date

    Vendor Invoice

    The invoice is sent by the supplier requesting payment. It should match the PO and GRN for:
    • Item descriptions and HSN codes
    • Quantities billed (should not exceed GRN quantities)
    • Unit prices (should match PO prices)
    • Tax calculations

    Common 3-Way Matching Discrepancies

    Price Variance

    Vendor invoices at a higher price than the agreed PO price. This may be due to:
    • Price increase without amended PO
    • Different unit of measurement
    • Currency conversion error
    • Deliberate overcharging

    Quantity Variance

    Invoice for more units than received on the GRN. This may be due to:
    • Partial delivery not yet reflected
    • Counting error at receiving
    • Backorder being invoiced before delivery
    • Deliberate overbilling

    Description Mismatch

    Invoice line items don't match PO descriptions. May indicate:
    • Wrong item delivered
    • Substitution without approval
    • Code or SKU mismatch

    How TaskAutomate Automates 3-Way Matching

    Step 1: Extract Invoice Data

    AI extracts all line-item details from vendor invoices — HSN codes, quantities, unit prices, tax rates, and totals.

    Step 2: Link to PO

    TaskAutomate matches the invoice to a purchase order using:
    • PO number referenced on the invoice
    • Vendor GSTIN + approximate amount lookup
    • Manual PO assignment for invoices without PO references

    Step 3: Link to GRN

    The matched PO is linked to GRNs for those line items. If your GRN data is in an ERP, TaskAutomate imports it via API or CSV upload.

    Step 4: Compare All Three

    The system compares:
    • Invoice quantity vs GRN quantity
    • Invoice unit price vs PO unit price
    • Invoice HSN vs PO HSN
    • Invoice total vs calculated total

    Step 5: Categorise Results

    ResultAction
    Full 3-way matchAuto-approve for payment
    Within tolerance (e.g., < 2% variance)Flag for review, suggest approval
    Price variance > toleranceRoute to procurement for PO amendment
    Quantity varianceHold until remaining goods received
    No PO foundRequire manual PO assignment

    2-Way Matching as a Fallback

    For service invoices where a GRN isn't applicable, 2-way matching compares only the PO and invoice. TaskAutomate supports both matching modes:

    • 3-way match — Goods purchases with PO and GRN
    • 2-way match — Service invoices with PO only
    • 1-way match — Pre-approved recurring invoices (utilities, rent)

    Tolerance Settings

    Not every variance needs human review. TaskAutomate lets you configure tolerances:

    • Price tolerance — E.g., allow up to 1% price increase without rejection
    • Quantity tolerance — E.g., allow up to 5% under-delivery before flagging
    • Amount tolerance — E.g., ignore variances under ₹100

    Results: What 3-Way Matching Automation Delivers

    MetricManual MatchingAutomated 3-Way Match
    Time per invoice25-40 minutesUnder 2 minutes
    Overpayment rate0.5-1% of spendNear zero
    Duplicate payment rate0.2-0.5%Zero
    Invoice exception rate15-25% manually reviewed5-8%
    Early payment discounts captured< 20%> 70%

    Implement 3-Way Matching with TaskAutomate

    TaskAutomate's matching engine works with your existing PO and GRN data. Upload your open POs via CSV or connect via API, and matching begins automatically on your next invoice batch.

    Start with a 14-day free trial — no credit card required.

    Ready to Automate Your Invoice Processing?

    Start your 14-day free trial. No credit card required.

    Start Free Trial

    Related Articles