Since 1 September 2026, every Malaysian business with annual turnover of RM3 million or more is inside LHDN’s e-invoice mandate — the exemption threshold was raised from RM1 million to RM3 million, exempting more than 1.1 million businesses. The final wave — businesses up to RM5 million — has a penalty-free relaxation period until 31 December 2027, with full enforcement from 1 January 2028. That runway is shorter than it looks: integration, testing, and staff training take months, and from 2028 any single transaction above RM10,000 will need its own validated e-invoice. If your business runs on custom software, the integration question is current, not future.
In short: LHDN e-invoice integration means connecting your billing system to the MyInvois platform so every invoice is validated by LHDN in near real time. Businesses with RM3 million or more in turnover must comply; Phases 1–3 are fully enforced, and the final phase reaches full enforcement on 1 January 2028. Integration paths are the MyInvois portal (manual), middleware, or direct API.
This guide explains where the mandate stands in late 2026, what the MyInvois API actually requires from your software, and how we approach the integration for clients running custom-built systems.
Where the LHDN e-Invoice Mandate Stands in 2026
The rollout that began in August 2024 is now in its final phase, and the plan has shifted three times. The exemption threshold was doubled from RM500,000 to RM1 million effective 1 January 2026, then raised again to RM3 million effective 1 September 2026 (e-Invoice Guideline v4.8, August 2026). Separately, in April 2026 LHDN extended the Phase 4 relaxation period through 31 December 2027 — pushing full enforcement for the final wave to 1 January 2028, a date that still stands in e-Invoice Specific Guideline v4.9 (September 2026).
| Phase | Annual Turnover | Mandatory From | Enforcement Status (October 2026) |
|---|---|---|---|
| 1 | Above RM100 million | August 2024 | Fully enforced |
| 2 | RM25M – RM100M | January 2025 | Fully enforced |
| 3 | RM5M – RM25M | July 2025 | Fully enforced |
| 4 | RM3M – RM5M | January 2026 | Relaxation period until 31 December 2027; enforcement 1 January 2028 |
| 4 (new businesses) | RM3M+, commenced 2023–2025 | July 2026 | Relaxation period until 31 December 2027; enforcement 1 January 2028 |
| — | Below RM3 million | Exempt since 1 September 2026 | With caveats — see the FAQ below |
During the relaxation period, Phase 4 businesses can issue consolidated e-invoices with general descriptions, and penalties are suspended for genuine compliance efforts. After 1 January 2028, non-compliance carries fines of RM200 to RM20,000 per offence, imprisonment of up to six months, or both, under Section 120(1)(d) of the Income Tax Act 1967 — and each invoice issued outside the system can count as a separate offence.
Watch the RM10,000 rule. Since 1 January 2026, any single transaction exceeding RM10,000 requires its own individual, LHDN-validated e-invoice — consolidated e-invoices are not allowed for it (e-Invoice Specific Guideline, Section 3.7). Phase 1–3 businesses must follow it today. Phase 4 businesses still in the relaxation period may issue consolidated e-invoices for all transactions, including these (Section 16.2(a)) — but the rule binds them from 1 January 2028, so any business with big-ticket sales needs individual e-invoice submission working before then.
The practical takeaway: the extended relaxation is breathing room for workflow changes, not a reason to park the project. Integration, testing, and staff training take months — and the RM10,000 rule arriving in 2028 plus B2B customers demanding e-invoices mean most Phase 4 businesses need the capability well before enforcement.
What Is e-Invoice Integration?
E-invoice integration is the connection between your billing software and LHDN’s MyInvois system, where every invoice is submitted as structured data, validated by LHDN, and returned with a Unique Identifier Number (UIN) and QR code before it reaches your customer. Malaysia uses a clearance model — the tax authority validates the invoice during the transaction, not after.
That changes the engineering requirements compared to old-style invoicing:
- Structured data, not PDFs — invoices are submitted as XML or JSON following the UBL 2.1 schema
- 55 mandatory fields — covering seller and buyer details (including TIN), line items, taxes, totals, and payment information
- Real-time validation — your system must handle LHDN’s response, including rejections
- A 72-hour window — buyers can reject and sellers can cancel a validated e-invoice within 72 hours; after that, corrections require credit or debit notes
- QR code embedding — the validated invoice carries a QR code linking to its record on MyInvois
If your invoicing currently lives in a custom ERP, a point-of-sale system, or a billing module we built into your platform, each of those touchpoints now needs a compliant submission path.
Portal, Middleware, or Direct API: Which Path Fits Your Business?
There are three ways to comply, and choosing the wrong one is the most common (and most expensive) early mistake we see.
| Path | How It Works | Best For | Limitation |
|---|---|---|---|
| MyInvois Portal | Manual entry or spreadsheet upload on LHDN’s free portal | Very low volume (a handful of invoices monthly) | Does not scale; double data entry; human error |
| Middleware | Your system sends invoice data to an intermediary that handles MyInvois submission | SMEs on accounting packages or mixed systems | Subscription cost; dependent on vendor roadmap |
| Direct API | Your software calls the MyInvois API directly with LHDN-issued credentials | Custom systems, high volume, real-time workflows | Requires development capability and ongoing maintenance |
For businesses already running custom software, the direct API route usually wins on total cost within two to three years — you control the workflow, there is no per-invoice middleware fee, and the e-invoice step disappears into your existing billing process instead of becoming a separate chore.
This is the same build-versus-subscribe trade-off we covered in custom software vs SaaS for Malaysian businesses — recurring fees buy speed, ownership buys control.
What Direct MyInvois API Integration Requires
The technical requirements are well defined in LHDN’s Software Development Kit (SDK). A compliant integration must handle:
- Digital certificate and authentication — register on MyInvois, verify identity with your TIN and BRN, and authenticate via OAuth 2.0 token flows
- Document assembly — map your invoice data to the UBL 2.1 schema with all 55 fields, including buyer TIN validation
- Submission and response handling — submit via HTTPS, parse the validation response, store the UIN, and embed the QR code on the customer-facing invoice
- Rejection and cancellation flows — handle buyer rejections and seller cancellations within the 72-hour window, plus credit and debit notes after it
- Consolidated e-invoices — for B2C transactions, aggregate receipts into a monthly consolidated submission
- Sandbox testing — validate the full flow in LHDN’s preprod environment before going live
None of this is exotic engineering — but it is unforgiving. A missing field, a malformed TIN, or an unhandled rejection breaks the legal validity of the invoice, not just the user experience.
How We Build e-Invoice Compliance Into Custom Systems
Advisory Apps has delivered 200+ custom systems since 2012, and e-invoice readiness is now a standard requirement in nearly every billing-related build. Two of our production modules do the heavy lifting:
- The Invoice & Quotation Generator module handles document creation, tax calculation, and payment tracking — with the field structure needed for MyInvois submission
- The Accounting & ERP Sync Middleware module bridges cloud apps with on-premise accounting packages like AutoCount, QNE, and SQL Account, so validated e-invoices flow into your books without re-keying
A typical integration project for an existing custom system runs four to eight weeks: an audit of every invoice-generating touchpoint, field mapping against the 55-field schema, API development against the sandbox, then a parallel run before cutover. Businesses with multiple revenue streams — retail POS plus project billing plus subscriptions, for example — need each stream mapped separately, which is where most timelines stretch.
If you are scoping a new system this year, build e-invoice submission in from day one. Retrofitting costs more than designing for it — a pattern we flagged as early as 2024 in how SMEs scope their first app in the e-invoice era.
Common e-Invoice Integration Mistakes
These are the failure patterns we encounter most when businesses come to us mid-integration:
- Treating the relaxation period as a postponement — it is a testing window, not a delay; consolidated submissions still must happen every month, and the RM10,000 individual e-invoice rule applies the moment relaxation ends
- Mapping only the happy path — rejection handling, cancellations, and credit notes are where audits find gaps
- Forgetting non-invoice documents — self-billed e-invoices, refunds, and debit notes are part of the mandate
- Hard-coding against today’s schema — LHDN has revised guidelines multiple times since 2024; your integration needs a maintainable mapping layer
- Ignoring the accounting hand-off — a validated e-invoice that never reaches your ledger creates a reconciliation problem every month-end
Frequently Asked Questions
How long does MyInvois API integration take for a custom system?
Four to eight weeks for a typical single-stream billing system, including sandbox testing and a parallel run. Multi-stream businesses (POS plus B2B invoicing plus online sales) should budget eight to twelve weeks.
My turnover is below RM3 million — can I ignore e-invoicing?
Not automatically. Since 1 September 2026, businesses below RM3 million are exempt — but the exemption does not apply if your business has a non-individual (corporate) shareholder with RM3 million or more in annual turnover, is a subsidiary of a holding company above that threshold, or has a related company or joint-venture partner that meets it (e-Invoice Guideline v4.8, Section 1.6.10). The group structure pulls you into scope even if your own revenue is below RM3 million. And even genuinely exempt businesses face commercial pressure: B2B customers inside the mandate increasingly request e-invoices for their own records.
Does my existing accounting software handle this?
Malaysian packages like AutoCount, QNE, and SQL Account have added MyInvois support — but if your invoices originate in a custom system before reaching accounting, the integration gap is between those two systems. That bridge is exactly what middleware like our Accounting & ERP Sync module is built for.
Key Takeaways
E-invoicing in Malaysia is no longer a future requirement — it is the operating reality for every business with RM3 million or more in turnover. Phase 4 businesses have a relaxation period until 31 December 2027 before penalties of RM200 to RM20,000 per offence — and the RM10,000 individual e-invoice rule — become enforceable on 1 January 2028. For custom software, direct MyInvois API integration offers the lowest long-term cost and the cleanest workflow, but it needs proper field mapping, rejection handling, and sandbox validation — work measured in weeks, not days.
Running a custom system that is not yet e-invoice ready? Book a free consultation with our team — we will audit your invoice touchpoints, map the integration scope against the MyInvois requirements, and give you a realistic timeline to be compliant well before the January 2028 enforcement date. You can also explore our custom system development service to see how we approach builds like this end to end.