Home / Knowledge Centre / e-Invoice QR Code Explained
Knowledge Centre · Basics

How the e-Invoice QR Code Works

Definition: A validated e-Invoice in Malaysia carries a QR code that links back to LHDN's MyInvois system, letting anyone scan it to verify the invoice was genuinely validated and check its core details.

There are actually two different "QR code" ideas that show up in e-Invoice conversations in Malaysia, and mixing them up causes confusion. Here's both, explained clearly.

1. LHDN's official validation QR code

Every e-Invoice validated through MyInvois includes a QR code as part of the document. Scanning it takes you to a page on LHDN's system confirming the invoice's validation status and key details (amount, date, parties involved). This exists so anyone receiving an e-Invoice — a customer, an auditor, another business — can independently confirm it's real and was actually processed by LHDN, not just printed to look official.

2. Customer-facing "after-sale" QR codes

Separately, some billing software — including TxBilling's QR After-Sale e-Invoice Conversion feature — lets a business print a QR code on a normal receipt at checkout. This QR code is not LHDN's validation QR; it's a business-side convenience feature. A customer who realises after leaving the store that they need a proper e-Invoice (for a company claim, for example) scans it to self-serve one, without the counter staff needing to stop and manually process it.

LHDN validation QRAfter-sale conversion QR
Appears onThe validated e-Invoice document itselfA regular receipt, before any e-Invoice is issued
PurposeVerify the e-Invoice is genuineLet the customer request an e-Invoice later
Who provides itLHDN MyInvois (mandatory, standard format)The business's own billing software (optional convenience feature)

FAQ

What is the QR code on an e-Invoice for?

It links to LHDN's MyInvois portal, allowing verification that the invoice was genuinely validated and checking its key details.

Can a QR code be used to get an e-Invoice after a sale?

Yes — some businesses print a separate QR code on the sales receipt that lets the customer request/generate an e-Invoice afterward. This is a business convenience feature, distinct from LHDN's own validation QR code.

Is the after-sale QR code an LHDN requirement?

No — it's an optional feature some billing software offers to make e-Invoice compliance easier for high-volume, walk-in businesses like retail and F&B.

Related reading

WhatsApp Book Demo