Fill buyer details from the LHDN Taxpayer QR code
Updated 16 November 2026
Short answer
The Taxpayer QR is a code a business or person generates in the MyInvois Portal to share their registered tax details. In envoice, click Fill from Taxpayer QR and choose a photo or screenshot of it: envoice asks LHDN for the details behind the QR and fills the buyer's TIN, name, ID type and number, email, phone and address for you to check before you submit.
Why use it
Most rejected e-invoices start with a buyer detail typed wrong: one digit off in the TIN, an old company name, a BRN in the wrong format. The Taxpayer QR carries none of that risk, because the details come back from LHDN itself, exactly as the buyer registered them.
What the QR fills
| From LHDN | Goes into |
|---|---|
| TIN | TIN |
| Registered name | Buyer name |
| ID type and number (BRN, NRIC, passport or army) | ID type and ID number |
| SST registration number | SST number (customers book and request page) |
| Email and contact number | Email and phone |
| Address lines, postcode, city, state, country | Address, postcode, city, state and country |
LHDN may list more than one email. envoice puts the first one in the form, and you can change it.
How to use it in envoice
- Ask the buyer for their Taxpayer QR. They can send a screenshot on WhatsApp or show it on their phone for you to photograph.
- In the invoice form, tick the box for an individual e-invoice. In Customers, open a new or existing customer.
- Click Fill from Taxpayer QR and choose the image (JPG or PNG, up to 5 MB). If your scanner gave you the QR text instead, click Paste QR text.
- envoice fills the fields and the (i) next to the button lists which. Check them, then submit the invoice or save the customer as usual.
Nothing is submitted for you. The QR image is read to find the code and is not stored.
Buyers can use it on your request page
If you print a request QR on your receipts, the buyer sees the same button on your request page and can fill in their own details from their Taxpayer QR in one step. See e-invoice request link and QR code.
Taxpayer QR or e-invoice QR
They are different codes. The Taxpayer QR identifies a taxpayer. The QR printed on a validated e-invoice opens that document's validation page. If you upload an e-invoice QR by mistake, envoice says so. To look inside an e-invoice QR, use the validation link and QR checker.
What you need
- Any envoice plan, including Free.
- Your MyInvois Client ID and Client Secret saved in envoice, because the lookup goes to LHDN under your own credentials. See MyInvois Client ID and Client Secret.
- In a test shop, the button answers with a demo taxpayer (Demo Taxpayer Sdn Bhd), so you can try it before going live.
No QR? Look the TIN up from the buyer's ID instead; see how to find a TIN number.
Frequently asked questions
Where does a buyer get their Taxpayer QR?
They generate it in the MyInvois Portal, from their taxpayer profile, and can save it as an image to share.
Is the QR image stored?
No. envoice reads it in memory to find the code, asks LHDN for the details and keeps only what you save in the form.
What if LHDN does not recognise the QR?
envoice tells you. Ask the buyer to generate a new one in MyInvois, or enter their ID and use Lookup TIN.
Does it work with the QR on an e-invoice or receipt?
No. That QR is a validation link for one document, not a taxpayer's details. envoice tells you when the image holds that kind of QR.