
Prerequisites
Before activating e-invoicing, complete the following:- Your business TIN (Tax Identification Number) from LHDN.
- MyInvois API credentials — Client ID and Client Secret from the MyInvois developer portal.
- Location details completed — TIN, BRN, MSIC code, and full address — set under Manage → Locations → Edit for each location.
- At least one tax rate configured under Manage → Tax.
E-Invoicing Setup
Enter your credentials
Fill in:
- Client ID — from your MyInvois developer account.
- Client Secret — from your MyInvois developer account.
- Supplier TIN — your company’s TIN registered with LHDN.
Save
Click Save Settings. The system will test the connection and confirm if the credentials are valid.
E-Invoice Documents
The Documents page shows all e-invoices submitted or pending submission. For each invoice you can:- View details — see line items, tax breakdown, and submission status.
- View QR — display or print the QR code for the e-invoice (required to be shown to customers).
- View on MyInvois — open the document directly in the LHDN portal for official verification.
Invoice Statuses
| Status | Meaning |
|---|---|
| Pending | Generated but not yet submitted to MyInvois |
| Submitted | Sent to MyInvois and awaiting validation (usually takes a few seconds) |
| Valid | Accepted and validated by LHDN |
| Invalid | Rejected by LHDN — view the error details to understand the reason |
| Cancelled | Cancelled after submission using the formal cancellation process |
Submitting an Invoice
E-invoices are generated automatically when a ticket is completed and payment is received. If a submission fails due to a network issue or credential problem, it will be retried automatically. You can also trigger a manual resubmit from the Documents page by clicking Resubmit on any Pending or Invalid invoice.Frequently Asked Questions
When does my business need to start submitting e-invoices?
When does my business need to start submitting e-invoices?
Malaysia’s LHDN e-invoice mandate is being rolled out in phases based on annual revenue. Check the LHDN website or consult your accountant for the applicable date for your business size.
What happens if an e-invoice submission fails?
What happens if an e-invoice submission fails?
Failed submissions are retried automatically up to three times. If all retries fail, the invoice moves to Invalid status with an error message. Fix the underlying issue (e.g. incorrect credentials or missing location details) and click Resubmit.
Can I cancel a submitted e-invoice?
Can I cancel a submitted e-invoice?
Yes, but only within the permitted cancellation window defined by LHDN (typically 72 hours after the issue date). Go to the document detail page and click Cancel. After the window closes, cancellations must be handled through a credit note.
Where do I get my MyInvois Client ID and Client Secret?
Where do I get my MyInvois Client ID and Client Secret?
Log in to the MyInvois developer portal (provided by LHDN) and create an API application. The Client ID and Client Secret are generated for you. Keep the Client Secret confidential — treat it like a password.
Related
Locations
Configure TIN, BRN, and MSIC per location
Tax
Set up tax rates for invoice line items
Settings
Manage global e-invoicing credentials
Reports
View tax collected across all transactions