myinvois
Submit an E-Invoice to LHDN MyInvois
Submit an invoice, credit note or debit note to LHDN MyInvois from IntBooks: pre-submission checks, results, the 72-hour rules and fixing rejections.
By IntBooks Editorial Team · Last updated:
This article walks you through submitting a document to LHDN MyInvois from IntBooks. Invoices, credit notes and debit notes all follow the same flow; only the document type changes. At the end you’ll have a validated e-invoice with LHDN’s Unique Identifier Number (UIN) and a QR code your customer can scan.
Prerequisites
Before your first submission, check that:
- Your organisation’s TIN, registration number and MSIC code are filled in. The MSIC code is a 5-digit activity code (MyInvois SDK).
- IntBooks has intermediary permission for your TIN in MyInvois (see MyInvois integration).
- The customer record has the customer’s TIN and registration or ID number (BRN or NRIC).
- The invoice has at least one line item with its tax details.
Step 1: Open the e-invoice dashboard
Go to Invoices → E-Invoice. This page lists your submissions and their statuses, and has the Submit E-Invoice action.
Step 2: Pick the document
Choose Submit E-Invoice and select the invoice, credit note or debit note you want to submit.
Step 3: Review the pre-submission check
IntBooks checks the document before anything goes to LHDN, including required fields and the customer’s TIN and ID number. Fix anything it flags, then continue.
One rule to watch: MyInvois rejects a document whose issue date and time is more than 72 hours before submission (MyInvois SDK FAQ). Submit soon after you issue the invoice.
Step 4: Validate & Submit
Choose Validate & Submit. IntBooks:
- Builds the e-invoice from your document
- Signs it
- Submits it to MyInvois on your behalf
- Checks LHDN’s result in the background
LHDN says validation normally takes under 2 seconds (LHDN General FAQs, Q28). IntBooks picks up the result on its next background check, and the dashboard refreshes while a submission is in progress.
Step 5: Check the result
Open the submission from the list.
Validated
LHDN accepted the document and assigned a UIN. The submission detail shows the UIN, the submitted and validated times, and a QR code for the document’s MyInvois validation link. You can view or download it. Anyone can scan the QR code with an ordinary phone camera or QR app to check the document (LHDN General FAQs, Q88).
Submitted or processing
LHDN hasn’t returned a final result yet. You don’t need to do anything; IntBooks keeps checking.
Rejected or failed
The document didn’t validate. The submission shows LHDN’s error code and message. Common ones:
| Error | What it means | Fix |
|---|---|---|
ERR406 “Buyer TIN is invalid” | The customer’s TIN isn’t recognised | Check the TIN with the customer and correct the customer record |
ERR246 “TIN and identity type combination is invalid” | The TIN and the BRN or NRIC don’t match | Check both numbers together |
CV302 | A code isn’t in LHDN’s code table | Correct the classification, unit or tax type code |
DR304 | A credit or debit note refers to a document that can’t be found or isn’t valid | Check that the original was validated |
DV302 | Duplicate of a recent document | Check the earlier submission before resending |
| ”Issuance date time value of the document is too old” | Issue date more than 72 hours before submission | Reissue with a current date |
Sources: MyInvois SDK validation rules; taxpayer validator errors.
Fix the underlying issue, then submit the document again.
Step 6: Share it with your customer
LHDN lets you share either the validated e-invoice or a readable copy of it, as long as the copy carries the QR code (LHDN General FAQs, Q31–32). Download the QR code from the submission and include it on the copy you send.
After validation: the 72-hour window
- You can cancel a validated e-invoice within 72 hours of validation, from the submission detail. After that, issue a credit or debit note instead (Cancel Document).
- Your customer can request rejection within 72 hours of validation. The document stays valid until you cancel it. If you agree with the rejection, cancel it and issue a corrected e-invoice (Reject Document).
Submitting credit notes and debit notes
The flow is the same. When the original invoice has an LHDN UIN, IntBooks includes it as the original e-invoice reference. Credit notes reduce the amount of the original, and debit notes add to it. Each one gets its own UIN.
What’s next?
- LHDN MyInvois Explained: architecture, codes and errors in depth
- MyInvois integration documentation: how the integration works
- SST-02 step-by-step guide: the separate bi-monthly service tax return, filed with RMCD on MySST