MyInvois Validation QR Decoder & Builder — LHDN e-Invoice
Decode, validate, and build MyInvois (LHDN) e-invoice validation links — parse the UUID and longId, detect production vs sandbox, and regenerate a QR for print, 100% in your browser.
About MyInvois Validation QR Decoder & Builder — LHDN e-Invoice
Malaysian developers building POS or invoice-print pipelines against LHDN e-invoicing need to work with the MyInvois validation link that appears as a QR on every validated invoice. The link follows a strict grammar — {portalBaseUrl}/{uuid}/share/{longId} — and the QR simply encodes that full URL as plain text. This tool parses the link into its parts, validates the UUID and longId structure, and tells you whether it points to production or the pre-production sandbox.
Three modes. Decode a link: paste the URL and see the environment, the 26-character document UUID, and the longId, with any structural problems flagged — including the common mistake of using the System-API host (api.myinvois.hasil.gov.my) instead of the portal host. Decode a QR image: drop in a screenshot or photo of the QR and it is read locally and parsed the same way. Build: pick the environment, enter the UUID and longId, and get a valid link plus a freshly rendered QR you can download for printing.
Everything runs in your browser — links, QR decoding, and QR generation are all local, and nothing is uploaded. The UUID is validated as 26 uppercase Latin alphanumerics (MyInvois UUIDs are not hyphenated RFC-4122 UUIDs), and the longId is treated as an opaque, case-sensitive token. It validates structure only; scanning the real link is what confirms a document with LHDN.
How to use MyInvois Validation QR Decoder & Builder — LHDN e-Invoice
Pick a mode
Decode a validation link, decode a QR image, or build a link from its parts.
Provide the input
Paste the URL, drop in the QR image, or enter the environment, UUID, and longId.
Read the breakdown
See the environment (production or sandbox), the UUID and longId, and any structural warnings or errors.
Generate a QR
For a valid link, a QR is rendered locally that you can download and print.
Frequently asked questions
Related miscellaneous tools
Malaysia TIN & BRN Format Checker
Validate and decode Malaysian TIN (LHDN) and business registration numbers (SSM) for MyInvois e-invoicing. Checks prefixes, the trailing-zero rule, and the new 12-digit SSM format — 100% in your browser, nothing is uploaded.
QR Code Generator
Generate QR codes with customizable error correction levels, styles, and colors. Supports single and bulk generation with PNG and PDF export options.