LHDN MyInvois: the complete integration reference for Malaysian businesses.
Lembaga Hasil Dalam Negeri (LHDN) operates MyInvois, Malaysia's mandatory e-invoicing platform. Rollout is in four phases by annual revenue band. This page translates the spec into the practical questions every implementing team actually asks.
8
LHDN UBL 2.1 document types covered
Live
integration REST API
Live
signed webhook delivery
4
self-billed document types
Rollout by annual revenue band.
LHDN phases e-Invoice implementation by annual turnover or revenue. Taxpayers below RM1 million are currently exempt, subject to the detailed eligibility rules in LHDN guidance.
- 01
Phase 1: RM100M+, live since 1 August 2024
- 02
Phase 2: RM25M to RM100M, live since 1 January 2025
- 03
Phase 3: over RM5M to RM25M, from 1 July 2025
- 04
Phase 4: up to RM5M, from 1 January 2026; below RM1M exempt
Three things have to happen for every invoice.
- 01
Validate against the LHDN field spec
Every UBL 2.1 invoice must carry the required structural fields (invoice number, type, date, currency, line items, totals) and the right LHDN reference fields (TIN, MSIC code, tax classification). Failures fail closed: LHDN rejects the document rather than warn.
- 02
Submit to the LHDN API
Authenticate with OAuth2 client_credentials, scope `InvoicingAPI`, and POST the document to the LHDN submission endpoint. The platform returns a UUID immediately and a Long ID once validation completes server-side.
- 03
Track + cancel within LHDN's window
Status flows from new → processing → submitted → approved or rejected. LHDN documents a limited cancellation procedure, but MyInvoisBridge does not implement invoice cancellation; use the applicable note-document workflow in the platform.
The 8 UBL 2.1 document types LHDN accepts.
Every commercial document flowing through MyInvois maps to one of eight type codes. Codes 01 to 04 are issued by the supplier. Codes 11 to 14 are self-billed: issued by the recipient on the supplier's behalf, a workflow most tax agents and large procurement teams need.
We run the LHDN side. You keep your system.
MyInvoisBridge sits between your ERP, POS, or accounting platform and the LHDN API. Create invoices in the dashboard, or send them from your software with the REST API (Pro plan). We handle the rest: UBL 2.1 generation, validation, OAuth2, submission, and status polling. Self-billed document types are supported on the Pro plan. (CSV import is on the roadmap.)
Last updated · July 2026
Independent reference. MyInvois is operated by LHDN. We are not affiliated with LHDN.