Skip to main content
The E-Invoicing module integrates with LHDN MyInvois to generate, submit, and track e-invoices as required under Malaysia’s e-invoice mandate. Businesses above the revenue threshold are legally required to submit e-invoices for all transactions via the MyInvois platform.
E-Invoicing documents list showing invoice statuses including Valid, Pending, and Invalid

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.
Switch from Sandbox to Production only when your integration has been fully tested. Production submissions are legally binding and cannot be reversed without the formal cancellation process. Always test in Sandbox mode first.

E-Invoicing Setup

1

Go to E-Invoicing → Settings

Click Settings under the E-Invoicing section in the left sidebar.
2

Select the Environment

Choose Sandbox for testing or Production for live submissions.
3

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.
4

Save

Click Save Settings. The system will test the connection and confirm if the credentials are valid.
5

Update your location details

Go to Manage → Locations → Edit for each location and fill in the TIN, BRN, MSIC code, and complete address. These are required for every e-invoice submission.

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

StatusMeaning
PendingGenerated but not yet submitted to MyInvois
SubmittedSent to MyInvois and awaiting validation (usually takes a few seconds)
ValidAccepted and validated by LHDN
InvalidRejected by LHDN — view the error details to understand the reason
CancelledCancelled 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.
If invoices are consistently showing as Invalid, check the error message shown on the document detail page. Common reasons include missing or incorrect TIN, invalid MSIC code, or mismatched tax amounts. Fix the issue in Settings or Locations and resubmit.

Frequently Asked Questions

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.
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.
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.
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.

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