How e-invoicing changes PO, GRN and three-way matching
Three-way matching — reconciling the purchase order, the goods-receipt note and the supplier invoice before payment — is the control at the heart of procure-to-pay. E-invoicing changes what the third document is: no longer a PDF someone eyeballs, but a structured, validated data record with defined fields. That shift makes matching more automatable in principle, but it also breaks workflows built around reading and rekeying paper. This guide maps e-invoice fields to PO and GRN records, works through the matching implications and rejection windows, and shows why structured order data is the fix. It is educational only; consult current LHDN guidance and your tax adviser.
11 min read · Last updated 10 August 2026 · By Lapasar Procurement Technology
In short
E-invoicing turns the invoice in three-way matching from a PDF into structured, validated data whose fields must line up with the purchase order and goods-receipt note. That makes matching more automatable but breaks paper and PDF workflows, so structured order data linking PO, GRN and e-invoice becomes the practical fix.
What changes in three-way matching?
Three-way matching reconciles three documents before an invoice is paid: the purchase order (what was ordered), the goods-receipt note or GRN (what was received), and the supplier invoice (what is being charged). When all three agree within tolerance, payment is released. E-invoicing does not remove this control — it changes the nature of the third document.
Under e-invoicing, the supplier invoice is a structured, validated data record rather than a formatted page. It carries defined fields — seller and buyer identification, tax registration data, line items, quantities, unit amounts, tax treatment and the unique identifier returned at validation. In principle this is good news for matching: structured data can be compared field by field against the PO and GRN automatically, instead of a person reading a PDF and typing numbers into a system.
The catch is that matching now depends on the data lining up. If the PO and GRN are themselves loose — free-text line descriptions, no consistent item references, quantities recorded differently — then a precise, structured e-invoice has nothing precise to match against. E-invoicing raises the bar on the quality of your own order and receipt data.
Mapping e-invoice fields to PO and GRN
Effective matching under e-invoicing is a field-mapping exercise: each element of the e-invoice needs a counterpart in the purchase order and the goods-receipt record so that agreement can be checked automatically.
- Buyer identification ↔ your registered details: the e-invoice carries your tax and registration data, which must match the entity that raised the PO.
- Line items ↔ PO lines: each e-invoice line should map to a PO line via a consistent item reference, not just a free-text description.
- Quantities ↔ GRN: invoiced quantities must reconcile against what the goods-receipt note records as received, not merely what was ordered.
- Amounts and tax ↔ PO pricing: unit amounts and tax treatment on the e-invoice must agree with the contracted pricing on the PO within tolerance.
- Unique identifier ↔ audit trail: the validation identifier and QR code give each matched invoice a verifiable reference for the audit record.
- Adjustments ↔ credit/debit notes: changes after the fact arrive as separate credit or debit notes that must themselves be matched back to the original PO and receipt.
Rejection windows and why paper workflows must adapt
E-invoicing also introduces timing that paper never had. A submitted e-invoice can be rejected at validation, and adjustments happen through defined cancellation windows, credit notes and debit notes rather than by quietly editing a document. For matching, that means a rejected or cancelled e-invoice is a live event: your process has to notice it, hold the match open, and reconcile the eventual corrected document — within whatever windows LHDN defines, which change and should be checked against current guidance.
Workflows built around paper and PDF matching struggle with all of this. A process where someone prints an invoice, ticks it against a PO by hand and files it cannot react to a validation rejection, cannot reliably tie a later credit note to the original, and cannot compare structured fields at scale. The manual approach also degrades exactly where volume is highest — the routine and tail purchases that generate the most documents.
The fix is structured order data end to end: a purchase order with consistent item references, a goods-receipt record captured against those references, and an e-invoice whose fields map cleanly to both. Buying through one managed channel is a direct way to get there, because the PO, receipt and invoice data all originate in a consistent structure. Lapasar supplies goods as a supplier of record with structured, order-linked invoice data and delivery via owned fleet and warehouses across Peninsular Malaysia; it does not validate or file e-invoices with LHDN, and compliance responsibility remains with the taxpayer. This page is educational, not tax advice — confirm specifics with your tax adviser.
Benefits
Field-level automation
Structured e-invoice data can be matched field by field against PO and GRN records automatically, instead of a person reading a PDF.
A verifiable audit reference
The validation identifier and QR code give each matched invoice a checkable reference that strengthens the audit trail.
Cleaner exception handling
When PO, GRN and e-invoice share consistent references, mismatches surface as clear exceptions rather than vague discrepancies.
Corrections that tie back
Credit and debit notes that reference the original order let adjustments reconcile instead of orphaning a payment.
Consistent data from one channel
Buying through one managed channel means PO, receipt and invoice data originate in one structure, so they match by design.
Common challenges
Loose PO and GRN data
Free-text lines and inconsistent item references give a precise e-invoice nothing precise to match against.
Paper and PDF habits
Manual print-and-tick matching cannot react to validation rejections or scale to high document volumes.
Rejection timing
A rejected or cancelled e-invoice is a live event the process must catch and hold open, not a static document to file.
Orphaned corrections
Credit and debit notes that do not reference the original order break the link and complicate reconciliation.
Volume at the tail
Manual matching degrades exactly where document volume is highest — the routine and tail purchases.
Matching before and after
Before e-invoicing, a buyer's finance clerk received a PDF invoice, opened the matching PO on screen, checked the goods-receipt note, and ticked the three off by eye before releasing payment. Small discrepancies were resolved by phone or email, and a correction meant a supplier reissued a fresh PDF. It worked, slowly, and it did not scale — and it left no structured record that a machine could verify.
After moving indirect and tail spend onto one managed channel, the same buyer's purchase orders carry consistent item references, goods receipts are captured against those references, and the supplier of record issues structured, order-linked e-invoice data. Matching becomes a field comparison the system performs, with genuine mismatches raised as exceptions. A later adjustment arrives as a credit note that references the original order and reconciles automatically. Throughout, the organisation keeps compliance responsibility and confirms its treatment with its tax adviser.
Best practices
Standardise item references
Give every PO line a consistent item reference so e-invoice lines and receipts can map to it precisely.
Capture receipts against references
Record goods received against the same references as the PO so quantities reconcile automatically at matching.
Automate the three-way comparison
Replace print-and-tick matching with a system that compares e-invoice fields against PO and GRN and raises exceptions.
Handle rejections as live events
Build a step that catches validation rejections and cancellations and holds the match open until the corrected document arrives.
Source consistent data from one channel
Buying through one managed channel makes PO, receipt and invoice data share a structure, so matching works by design.
Summary
E-invoicing keeps three-way matching but changes the invoice into structured, validated data whose fields must map to the purchase order and goods-receipt note. Done well, that makes matching automatable; done on loose PO and GRN data, it exposes how unmatched your own records really are.
Rejection windows, cancellations and credit or debit notes add timing that paper workflows cannot handle, so structured order data end to end — PO, receipt and e-invoice sharing consistent references — is the practical fix. This page is educational; matching-relevant rules and windows are set by LHDN and change, so check current guidance and consult your tax adviser.
Key takeaways
- E-invoicing keeps three-way matching but turns the invoice into structured, validated data.
- Each e-invoice field needs a counterpart in the PO and GRN for automatic matching.
- Loose, free-text PO and GRN data gives a precise e-invoice nothing to match against.
- Rejections, cancellations and credit notes add timing that paper workflows cannot handle.
- Structured order data end to end — ideally from one channel — is the practical fix.
Frequently asked questions
- How does e-invoicing change three-way matching?
- It keeps the control but changes the third document. The supplier invoice becomes structured, validated data rather than a PDF, so its fields — line items, quantities, amounts, tax treatment and the validation identifier — can be compared automatically against the purchase order and goods-receipt note instead of being read and rekeyed by a person.
- Which e-invoice fields matter for matching?
- Buyer identification must match the entity that raised the PO; line items should map to PO lines via consistent item references; invoiced quantities must reconcile against the goods-receipt note; and unit amounts and tax treatment must agree with contracted PO pricing within tolerance. The validation identifier gives each matched invoice a verifiable audit reference.
- What are rejection windows and why do they matter for matching?
- A submitted e-invoice can be rejected at validation, and corrections happen through defined cancellation windows, credit notes and debit notes rather than by editing a document. For matching, a rejected or cancelled e-invoice is a live event: the process must notice it, hold the match open and reconcile the corrected document. The specific windows are set by LHDN and change, so check current guidance.
- Why must paper and PDF invoice matching workflows adapt?
- Manual print-and-tick matching cannot react to a validation rejection, cannot reliably tie a later credit note to the original order, and cannot compare structured fields at scale. It also degrades where document volume is highest — the routine and tail purchases. Structured order data linking PO, GRN and e-invoice is what makes matching work under e-invoicing.
- How does structured order data fix e-invoice matching?
- When the purchase order carries consistent item references, goods receipts are captured against those references, and the e-invoice's fields map cleanly to both, matching becomes an automatic field comparison with genuine mismatches raised as exceptions. Buying through one managed channel is a direct way to get there because the PO, receipt and invoice data all originate in one structure.
Related topics
Take it further with Lapasar
Structure the data
Templates & frameworks
Compare & go deeper
Explore related across the knowledge graph
Put these ideas to work
Talk to our team about consolidating spend, wholesale pricing, credit terms and delivery across Peninsular Malaysia — or request a walkthrough of the marketplace.
Prefer to talk to a real person?
Our team replies fast on WhatsApp and email — no forms, no waiting.

