LHDN E-Invoice Errors: Fix Invalid TIN, 010 and JWT Errors
Fix LHDN e-invoice errors: "Customer tin is invalid", "Only general TIN (010) is allowed", "Invalid JWT Token" and duplicate rejections, with a lookup table.
Most rejected e-invoices come down to a handful of causes: a wrong tax number, a mismatched ID, or an invoice number that already exists. LHDN returns an error message with each rejection, and every common message has a known fix. Find yours below.
First: know the document statuses
| Status | What it means | Has LHDN received it? |
|---|---|---|
| Created | The customer requested an e-invoice but has not submitted the form | No |
| Submitted | The form was submitted and is waiting for LHDN validation | No |
| Validated | LHDN accepted the document | Yes |
| Invalid | LHDN received it but rejected it because of errors | Yes |
| Cancelled | Your staff cancelled the document | Yes, if it was valid |
Errors below show up as Invalid, or as a message on the customer’s form.
Errors caused by the customer’s details
“Customer tin is invalid” The Tax Identification Number entered is wrong. Ask the customer to check it — it is often a typo or the wrong number from their records — and resubmit.
“Identification number is not valid NRIC-BUYER” The NRIC entered is incorrect. The customer should re-enter it exactly as on their identity card.
“Only general TIN (010) is allowed for NRIC/ARMY” A foreign customer used a passport with the wrong TIN type. They should tick “I am a foreigner” on the form when using a foreign passport.
When LHDN invalidates a customer’s submission, the customer is emailed to correct the form and resubmit — again within 3 days.
Errors caused by your store’s setup
“The authenticated TIN and documents TIN is not matching” and “TIN and identity type combination is invalid” Your company’s TIN and BRN/SSM number in the app don’t match each other or your MyInvois registration. Check the values in your e-invoice app’s setup page against your MyInvois taxpayer profile.
“Duplicated submitted document” An e-invoice with the same invoice number already exists in your LHDN account. Cancel the existing document in the MyInvois portal, then submit again.
If these errors trace back to a store that was set up piecemeal, a rebuild can fix the data at the source. We do ecommerce website development in Malaysia with e-invoicing built in.
Errors that fix themselves
“Invalid JWT Token! Token is blank” The session timed out. Refresh the page and try again.
“We are currently experiencing technical difficulties…” LHDN’s servers are down. Try again later — ideally during Malaysian working hours (GMT+8).
Errors that stop everything
If every submission suddenly fails, check your MyInvois credentials first. An expired Client Secret, or one regenerated for another application, stops all submissions at once. See how to get and manage your MyInvois Client ID and Client Secret.
Quick lookup
| Error message | Who fixes it | Fix |
|---|---|---|
| Customer tin is invalid | Customer and store | Verify the TIN |
| Not valid NRIC-BUYER | Customer | Re-enter the NRIC |
| Only general TIN (010) allowed | Customer | Tick “I am a foreigner” |
| TIN not matching / invalid combination | Store | Check TIN and BRN/SSM in setup |
| Duplicated submitted document | Store | Cancel the existing document in MyInvois |
| Invalid JWT Token | Customer | Refresh and retry |
| Technical difficulties | Nobody | Retry later |
Our e-invoice integrations show LHDN’s error message on the order, so you know which fix applies.
Frequently asked questions
Why does LHDN say “Customer tin is invalid”?
The Tax Identification Number the customer entered is wrong, often because of a typo or the wrong number from their records. The customer should check it and resubmit.
What does “Only general TIN (010) is allowed for NRIC/ARMY” mean?
A foreign customer used a passport with the wrong TIN type. They should tick “I am a foreigner” on the form when using a foreign passport.
What does “Invalid JWT Token! Token is blank” mean?
The session timed out. Refresh the page and try again.
Why are all my LHDN e-invoice submissions suddenly failing?
Check your MyInvois credentials first. An expired Client Secret, or one regenerated for another application, stops all submissions at once.
What is the difference between an Invalid and a Cancelled e-invoice?
Invalid means LHDN received the document but rejected it because of errors. Cancelled means your staff cancelled the document.