e-Invoice validation link and QR code checker
Updated 12 November 2026
Short answer
A MyInvois validation link has the form https://myinvois.hasil.gov.my/{UUID}/share/{long ID}, and the QR code on a validated e-invoice carries that same link. The UUID is the document's 26-character ID and the long ID lets anyone with the link view the document. A link on preprod.myinvois.hasil.gov.my comes from LHDN's test system and is not a real tax document. Paste a link below to check its shape.
Paste a link to check its format.
The parts of a validation link
| Part | What it is |
|---|---|
| https://myinvois.hasil.gov.my | LHDN's production MyInvois Portal. Documents here are real tax documents. |
| https://preprod.myinvois.hasil.gov.my | LHDN's test system, used for sandbox testing. Documents here are not real tax documents. |
| UUID | The unique ID LHDN gives the document when it is submitted: 26 capital letters and digits. |
| /share/ | Marks the public validation page, which opens without logging in. |
| Long ID | A long code LHDN adds once the document is validated. With it, anyone holding the link can view the document. |
LHDN's SDK documents the link as the environment address, then the UUID, then share, then the long ID, and says the QR code on the e-invoice can be generated from that link with any QR generator. Scanning a correct QR therefore shows you the validation link and nothing else.
How to read a QR code into the checker
- Open your phone camera and point it at the QR on the e-invoice or receipt.
- Tap and hold the link that appears, and copy it instead of opening it.
- Paste it into the box above. The checker shows the host, UUID and long ID, and flags anything that does not fit.
The check runs in your browser. The link is not opened, saved or sent anywhere.
What the result means
| Result | What to do |
|---|---|
| Looks like a validation link, production host | Open it to see the document and its current status on the MyInvois Portal. |
| Test system (preprod) host | The document was filed in LHDN's test system. Ask the supplier for the e-invoice from production. |
| No /share/ part | The link opens the document for a logged-in MyInvois user only. Ask for the full validation link. |
| UUID only | You can search the UUID on the MyInvois Portal, but a printed QR should carry the full link. |
| Not a MyInvois address | The QR is not LHDN's. It may be the shop's own payment or feedback QR. |
A correct link is not proof the e-invoice is still valid
The checker looks at the shape only. A supplier can cancel a validated e-invoice within 72 hours, and a buyer can reject one in the same window, so open the link to see the current status. Treat a real validation link like the document itself: anyone who has it can see the buyer and the amounts.
Where envoice puts the link
For every e-invoice LHDN validates, envoice keeps the UUID and the validation link and prints the QR on the PDF. You can send the PDF to the buyer by email or WhatsApp from the document page. Buyers who need an e-invoice from a receipt can use your request link; see e-invoice request link and QR code. What else a validated e-invoice must show: e-invoice template and mandatory fields.
Frequently asked questions
What does an e-invoice QR code contain?
The MyInvois validation link: the portal address, the document UUID, the word share and the long ID. Scanning it opens the document's public validation page.
How do I check if an e-invoice is valid?
Scan the QR or open the validation link, and the MyInvois Portal shows the document and its status. This checker only confirms the link has the right shape; it does not open it.
What is preprod.myinvois.hasil.gov.my?
LHDN's test system. A document there was filed for testing and is not a real tax document, so ask the supplier for the production e-invoice.
What is the long ID in a MyInvois link?
A long code LHDN adds to validated documents. It lets anyone holding the link view the document without logging in, so keep real links private.
Is the link I paste sent anywhere?
No. The check runs in your browser and the link is never opened or sent.