What is MyInvois? Malaysia's Official E-Invoicing Platform Explained (2026)

Comprehensive guide to MyInvois — LHDN's e-invoicing system. Learn how it works, document formats, validation rules, compliance phases, and how to get your business ready in 2026.

Last updated: March 202611 min readLHDN Official Portal

72 hours

Invoice cancellation window

UBL 2.1

Required format standard

RM1M+

Current compliance threshold

What is

What is MyInvois?

MyInvois is the official e-invoicing platform developed and operated by the Inland Revenue Board of Malaysia (Lembaga Hasil Dalam Negeri, or LHDN). It serves as the national system through which Malaysian taxpayers issue, validate, and store electronic invoices for business-to-business (B2B), business-to-consumer (B2C), and business-to-government (B2G) transactions.

Launched as part of Malaysia's broader digital economy transformation, MyInvois replaces the traditional paper-based and PDF invoicing workflow with a structured, machine-readable digital format. Every invoice submitted through the platform is validated in real time by LHDN, ensuring tax compliance at the point of transaction rather than during retrospective audits.

The platform is accessible at sdk.myinvois.hasil.gov.my for developers seeking API integration, and through the MyInvois web portal for manual submissions. By mandating electronic invoicing, LHDN aims to reduce the tax gap, improve revenue collection efficiency, and align Malaysia with global e-invoicing standards recognised by countries such as Australia, Singapore, and members of the European Union.

As of 2026, the rollout has reached Phase 4, meaning businesses with annual turnover of RM1 million and above must now comply. If you are unsure whether your organisation falls within the current mandate, use our compliance calculator at /calculator to check your deadline instantly.

How MyInvois

How MyInvois Works

The MyInvois submission flow is designed to be straightforward, whether you submit invoices manually through the portal or programmatically via the API.

1

Invoice Creation

Your system generates an invoice in UBL 2.1 format (XML or JSON) with all mandatory fields.

2

Submission to LHDN

The invoice is transmitted to MyInvois via API or entered manually through the portal.

3

Real-Time Validation

LHDN validates structure, TIN numbers, tax calculations, and business rules in seconds.

4

UUID + QR Code Assignment

A Unique Identifier and tamper-proof QR code are assigned to the validated invoice.

5

Distribution to Buyer

The supplier shares the invoice with embedded QR code. Anyone can scan to verify authenticity.

This end-to-end flow ensures that every invoice in the system is legitimate, traceable, and tamper-proof from the moment it is created.

Document Formats

Document Formats: XML and JSON

MyInvois accepts invoices in two structured data formats, both conforming to the UBL 2.1 (Universal Business Language) standard — an internationally recognised specification for electronic business documents.

XML Format: The XML submission follows the OASIS UBL 2.1 schema with Malaysia-specific extensions defined by LHDN. It is the more established format and is widely supported by enterprise ERP systems such as SAP, Oracle, and Microsoft Dynamics.

JSON Format: The JSON submission is functionally equivalent to XML and is often preferred by developers building modern API integrations because of its lighter syntax and native compatibility with web frameworks. Both formats produce identical validation outcomes.

Mandatory fields across both formats include: supplier TIN and registration number, buyer TIN (for B2B transactions), invoice date and currency, line-item descriptions with MSIC classification codes, individual and total tax amounts, and payment terms. Self-billed invoices, credit notes, debit notes, and refund notes each have additional required fields documented in the LHDN e-invoice SDK.

Businesses should work closely with their software vendors — you can browse compliant providers in our vendor directory at /vendors — to ensure that whichever format they adopt includes every mandatory field specified in the latest SDK release.

Real-Time Validation

Real-Time Validation Model

When an invoice is submitted to MyInvois, it passes through a multi-step validation pipeline:

1. Schema Validation — The system checks that the document conforms to the UBL 2.1 schema and that all required fields are present and correctly formatted.

2. TIN Verification — The supplier's and buyer's tax identification numbers are validated against LHDN's taxpayer database to confirm they are active and correctly matched.

3. Tax Calculation Check — Line-item amounts, tax subtotals, and the overall invoice total are recalculated to ensure mathematical accuracy.

4. Business Rule Validation — Additional rules are applied, such as verifying that MSIC codes are valid, that the invoice date is within acceptable ranges, and that duplicate submissions are flagged.

If the document passes every check, MyInvois assigns a Unique Identifier (UUID) and returns a success response. The UUID serves as the canonical reference for the invoice across all LHDN systems.

If validation fails, the system returns structured error codes indicating precisely which fields failed and why. Common rejection reasons include invalid or inactive TIN numbers, missing mandatory fields, incorrect tax calculations, and MSIC code mismatches. Organisations should implement programmatic error handling in their integration layer to parse these responses and trigger corrective workflows automatically.

QR Code

QR Code Requirement

Every validated e-invoice must carry a QR code that links directly to its verification page on the MyInvois portal. This QR code functions as a tamper-proof digital seal, enabling any party — buyers, auditors, bank officers, or tax authorities — to scan and confirm that the invoice was legitimately issued and validated by LHDN.

The QR code is generated server-side by the MyInvois system upon successful validation and is included in the API response payload. Businesses must embed this QR code on any printed or PDF version of the invoice shared with counterparties.

For B2C transactions, the QR code is especially important. Consumers can scan the code on a receipt or simplified invoice to verify that the transaction has been reported to LHDN. This transparency helps prevent tax evasion at the point of sale and gives consumers confidence that the business is operating compliantly.

Note that the QR code is not optional — invoices distributed without it are considered incomplete under the LHDN e-invoicing framework.

72-Hour Cancellation

72-Hour Cancellation Rule

MyInvois provides a 72-hour cancellation window after an e-invoice has been validated. During this period, the supplier may cancel the invoice — for example, if it was issued to the wrong buyer or contains incorrect line items. The buyer may also reject the invoice within the same window if they believe it is inaccurate.

Once the 72-hour period elapses without cancellation or rejection, the invoice is locked and becomes part of the permanent tax record for both parties. After this point, corrections can only be made by issuing a credit note (to reduce the amount) or a debit note (to increase it). Both credit and debit notes must themselves be submitted through MyInvois and validated in the same manner as a standard invoice.

This rule means businesses need robust internal review processes. Invoices should be checked promptly after submission, and staff must understand that the cancellation window is strict — there are no extensions. Organisations that issue high volumes of invoices should consider building automated alerts that flag newly submitted invoices for review within the first 24 hours.

🚨 Critical

Once an e-invoice is validated by LHDN, it can only be cancelled within 72 hours — and only if the buyer agrees. After 72 hours, you must issue a credit note instead.

Who Must

Who Must Comply?

All businesses and self-employed individuals registered with LHDN are being brought into the MyInvois mandate through a phased rollout based on annual turnover:

- Phase 1 (1 August 2024): Taxpayers with annual turnover exceeding RM100 million. - Phase 2 (1 January 2025): Taxpayers with annual turnover between RM25 million and RM100 million. - Phase 3 (1 July 2025): Taxpayers with annual turnover between RM5 million and RM25 million. - Phase 4 (1 January 2026): Taxpayers with annual turnover between RM1 million and RM5 million.

Importantly, the originally planned Phase 5 for taxpayers below RM500,000 has been cancelled. Instead, the government doubled the exemption threshold from RM500,000 to RM1 million, meaning businesses with annual turnover below RM1 million are not required to issue e-invoices at this time.

Prime Minister Anwar Ibrahim also extended the relaxation period for Phase 4 taxpayers to a full 12 months — until 31 December 2026. During this relaxation window, Phase 4 businesses can familiarise themselves with the system without facing penalties for errors. Full enforcement, with penalties ranging from RM200 to RM20,000 per non-compliant invoice, begins on 1 January 2027.

Individuals are required to issue e-invoices for any single transaction exceeding RM10,000, regardless of total annual turnover.

Foreign entities with operations or income sourced from Malaysia may also be subject to compliance requirements. For a detailed breakdown of all deadlines, see our dedicated guide at /guides/e-invoicing-deadline-malaysia.

⚠️ Important Deadline

Phase 4 businesses (RM1M–RM5M) entered soft launch on 1 January 2026. Full enforcement with penalties begins 1 January 2027.

MyInvois Submission

MyInvois Submission Methods Compared

MyInvois Portal (Manual)

Best for low volume (<50 invoices/mo)

Log in to the MyInvois web portal and enter invoice details manually or upload a file.

  • No development required
  • Free to use
  • Immediate access
  • Time-consuming at scale
  • Prone to data-entry errors
  • No automation
Recommended

MyInvois API (Automated)

Best for medium-high volume

Your accounting or ERP system sends invoices directly to LHDN via the MyInvois API in UBL 2.1 format.

  • Fully automated
  • Real-time validation
  • Scales to any volume
  • Requires development effort
  • Ongoing maintenance

Peppol Access Point

Best for B2G + international

A certified Peppol Access Point transmits invoices to MyInvois on your behalf via the Peppol network.

  • International interoperability
  • Cross-border e-invoicing
  • Future-proof
  • Requires certified provider
  • Additional per-document fees

ℹ️ Key Information

Peppol is increasingly important for businesses trading with government agencies. MDEC is now Malaysia's official Peppol Authority.

Benefits for

Benefits for Malaysian Businesses

Adopting MyInvois delivers tangible advantages that extend well beyond regulatory compliance:

- Faster tax refunds: With real-time visibility into validated invoices, LHDN can process tax refund claims significantly faster than under the traditional audit-based approach.

- Reduced paperwork and costs: Electronic invoicing eliminates the need to print, post, and physically archive paper invoices. Organisations save on storage, stationery, and administrative labour.

- Improved cash flow visibility: When all invoices are digitised and centrally accessible, businesses gain clearer insight into receivables and payables, enabling more accurate cash flow forecasting.

- Lower audit risk: Because invoices are pre-validated at the point of submission, the likelihood of discrepancies during tax audits drops considerably — meaning fewer disputes and lower penalty exposure.

- International interoperability: MyInvois is aligned with UBL 2.1 and the Peppol framework, making it easier for Malaysian businesses to exchange compliant invoices with trading partners in Peppol-enabled countries across Asia-Pacific and Europe.

- Fraud prevention: Real-time validation and QR code verification make it extremely difficult to circulate fake invoices or engage in fraudulent tax-claim schemes.

Getting ready now — before the enforcement deadline of 1 January 2027 — gives your organisation time to test, train staff, and resolve integration issues without the pressure of penalties.

Tip

Low-volume businesses can use the free MyInvois web portal at no cost. For higher volumes, browse certified software vendors in our vendor directory.

FAQ

Frequently Asked Questions

MyInvois is Malaysia's official e-invoicing platform operated by the Inland Revenue Board (LHDN). It validates electronic invoices in real time to ensure tax compliance for B2B, B2C, and B2G transactions.
MyInvois is mandatory for all businesses with annual turnover of RM1 million and above as of January 2026. The originally planned Phase 5 was cancelled, and the exemption threshold was doubled to RM1 million. Full enforcement with penalties begins 1 January 2027.
MyInvois accepts invoices in XML and JSON formats, both conforming to the UBL 2.1 (Universal Business Language) standard with Malaysia-specific extensions defined by LHDN.
Yes. Suppliers can cancel a validated e-invoice within 72 hours of issuance. After that window closes, adjustments must be made by issuing a credit note or debit note through MyInvois.
During the relaxation period (until 31 December 2026 for Phase 4 taxpayers), LHDN is not imposing penalties. From 1 January 2027, non-compliance attracts fines of RM200 to RM20,000 per invoice.
Not necessarily. Low-volume businesses can use the free MyInvois web portal. For higher volumes, you will need either direct API integration or a middleware solution from a certified vendor. Browse options in our vendor directory at /vendors.
No. MyInvois is LHDN's national e-invoicing platform, while Peppol is an international e-invoicing network. However, MyInvois supports Peppol-based submissions through certified Access Points, allowing businesses to use one channel for both domestic and international invoicing.

Ready to Find Your E-Invoicing Solution?

Use our readiness calculator to get matched with LHDN-compliant vendors tailored to your industry and business size.

EInvoicingMalaysia.com is an independent directory. We are not affiliated with LHDN or the Malaysian government.