Understanding E-invoicing system in Malaysia

Duitbooks Team··10 min read

Photo by Chander Mohan | Unsplash
Photo by Chander Mohan | Unsplash

The national e-invoicing mandate has completely transformed how commercial transactions are recorded across the country. To support the growth of the digital economy, the Malaysian government made e-invoicing mandatory for all taxpayers, rolling out the system in structured phases starting from August 2024.

The Inland Revenue Board of Malaysia (LHDN) has since released detailed guidelines to help businesses navigate this transition. Far from being just a temporary policy change, e-invoicing is now a permanent pillar of Malaysia's tax structure, impacting every business operating in the country—regardless of size or industry.

The Official Rollout Timeline

E-Invoicing will be implemented in Malaysia in phases on a mandatory basis starting 1 August 2024. The implementation timelines are as follows:

The mandatory rollout followed a structured, phased enforcement schedule based on annual revenue thresholds. Knowing your bracket helps you align your systems before strict penalties apply.

Existing Businesses (Based on FY2022 Audited Financial Statements)

  • 1 August 2024 (Phase 1): Large enterprises with an annual turnover exceeding RM100 million.

  • 1 January 2025 (Phase 2): Mid-to-high tier entities with an annual turnover between RM25 million and RM100 million.

  • 1 July 2025 (Phase 3): Established businesses with an annual turnover between RM5 million and RM25 million.

  • 1 January 2026 (Phase 4): Small-to-mid enterprises with an annual turnover between RM1 million and RM5 million.

Exemption Boundary: Following updated Cabinet directives, businesses with an annual turnover below RM1 million are officially exempt from the mandate. Voluntary participation is highly encouraged but not legally enforced.

New Businesses and Special Entities (Commencing 2023 Onwards)

  • Commencing 2023 to 2025: If your new operation achieves an annual turnover of at least RM1 million, your implementation date is 1 July 2026.

  • Commencing 2026 Onwards: Compliance is required from 1 July 2026 or your exact operation commencement date, whichever is later.

  • The Second-Year Shift: If your new business starts under the RM1 million line but crosses it in a later financial year, your official implementation date moves to 1 January of the second year following the year your turnover hit the RM1 million mark.

What is e-Invoicing?

E-invoicing goes far beyond generating a PDF, emailing an attachment, or scanning a paper receipt. It introduces a Continuous Transaction Control (CTC) model to the Malaysian commercial ecosystem.

An e-invoice is a structured digital data file—strictly formatted in XML or JSON according to LHDN's exact standards—exchanged directly between accounting software systems.

The 3 Core Functions of the Digital Exchange:

  • Real-Time Validation: Before an invoice reaches your buyer, it must be securely transmitted via API to LHDN's MyInvois servers, verified, and stamped with a Unique Identification Number (UIN) and a tracking QR code.

  • Tamper-Proof Ledger Entry: Because adjustments require formal counter-documents (Credit Notes, Debit Notes, or Refund Notes), a transaction cannot be quietly modified or deleted once validated.

  • Automated Processing: Moving to machine-readable code eliminates the need for manual, line-by-line data entry, cutting down administrative errors and simplifying your year-end corporate tax substantiation.

By embedding these structural requirements directly into your daily bookkeeping routines, Duitbooks removes the complexity of data formatting behind the scenes—keeping your operations agile, clear, and perfectly aligned with LHDN rules.

Who should use E-invoice

Every transaction falls into one of three primary categories, each requiring a specific validation path:

  • Business-to-Business (B2B): Transactions between corporate entities. These require full, real-time validation using the buyer's unique Tax Identification Number (TIN) and Business Registration Number (BRN).

  • Business-to-Consumer (B2C): Direct sales to individual consumers (retail, e-commerce, hospitality). If the buyer doesn't request a tax invoice, these can be held for monthly consolidation.

  • Business-to-Government (B2G): Invoicing for public sector contracts, statutory bodies, and government procurement.

E-invoice workflow: How it works

In the era of e-invoicing, there is a transformative shift in how invoices are created, shared, and stored. Below is a workflow diagram that outlining the steps of the entire e-invoicing process

The 9 key steps

Choosing Your e-Invoicing Model: Portal vs. API

Once you know your timeline, you need to decide how your business will communicate with LHDN's servers. LHDN provides two transmission models: the MyInvois Portal and a Direct API Integration.

Choosing the right fit comes down to a simple balance between your monthly transaction volume and your team's administrative capacity.

1. The LHDN MyInvois Portal (The Manual Route)

The MyInvois Portal is a free, web-based platform provided directly by the government.

  • How it works: Your team logs into the LHDN website and keys in invoice details manually online.

  • Best for: Freelancers, micro-SMEs, or businesses with very low invoice volumes (e.g., fewer than 10 to 15 invoices a month).

  • The Benefit: It requires zero technical setup, no integration, and no upfront software investment.

2. Direct API Integration (The Automated Route)

An API (Application Programming Interface) acts as a secure, instant bridge between your business’s accounting software and LHDN’s MyInvois system.

  • How it works: You configure your system using a Digital Certificate issued by LHDN. When you click "Save" or "Approve" inside your billing ledger, the data flies directly to LHDN in the background.

  • Best for: Growing SMEs, corporate finance teams, e-commerce platforms, and accountants managing multiple client accounts.

  • The Benefit: It completely automates the validation process. There is no double data entry, and invoices are stamped with LHDN QR codes in seconds.

The Reality Check: The 55 Mandatory Data Fields

Understanding the difference between these two models becomes critical when you look at what actually goes into a compliant e-invoice. LHDN’s framework requires up to 55 specific data fields—ranging from complex Tax Identification Numbers (TIN) and MSIC business classification codes to precise line-item tax breakdowns.

If you choose the manual MyInvois Portal, your team must fill out these 55 fields line-by-line, invoice-by-invoice.

The Operational Impact:

  • Time Strain: Typing out dozens of fields for every single sale turns billing into a full-time administrative burden.

  • Human Error: Manual data entry naturally increases the risk of typos, leading to rejected invoices and delayed customer payments.

  • Data Chasing: Your team will need to manually follow up with suppliers and customers just to compile the required tax metadata before you can even draft a bill.

Modernizing Your Accounting: Workflow Transformations under MyInvois

The transition to e-invoicing completely updates how Accounts Receivable (AR) and Accounts Payable (AP) functions operate in Malaysia. Moving forward, the creation, submission, and validation of all core transaction documents—Invoices, Credit Notes, Debit Notes, and Refund Notes—must happen through a secure digital platform via an API or the MyInvois Portal.

Every transaction must strictly follow LHDN's data standards, mapping out mandatory details like Tax Identification Numbers (TIN), exact billing data, and supplier MSIC codes. While this digital shift changes traditional desk habits, it gives businesses far greater transaction visibility, minimizes ledger errors, and provides bulletproof financial control.

1. What is a Consolidated e-Invoice?

For high-volume retail or consumer-facing businesses, generating a standalone digital invoice for every single coffee, shirt, or meal sold would be an operational bottleneck. LHDN addresses this with Consolidated e-Invoicing.

This method allows you to issue standard retail receipts or invoices to individual walk-in customers who do not explicitly request a tax invoice. At the end of the month, your system aggregates these minor transactions—even if they occurred on different dates across different branch locations—into one bulk digital file.

The Strict Timeframe:

You must submit your monthly consolidated e-invoice to LHDN within 7 calendar days after the month ends.

The Expert Angle: Creating individual invoices for every single consumer purchase wastes valuable administrative time and inflates processing costs. Utilizing a consolidated format simplifies your monthly billing routine, protects your team's productivity, and keeps your backend compliance completely silent.

Industries Blocked from Consolidation

To maintain tight tax visibility, LHDN completely prohibits certain sectors from utilizing consolidated filing. If your business operates in any of the following industries, you must issue a unique, individual e-invoice for every single transaction, regardless of the amount or whether the buyer asks for one:

  • Automotive sales and servicing

  • Aviation (flight tickets and private charters)

  • Luxury goods and jewelry

  • Construction contracts

  • Licensed betting and gaming

  • Payments made to agents, dealers, or distributors

  • Electricity service providers

  • Telecommunication postpaid plans, internet subscriptions, and device sales

  • The RM10,000 Threshold: Any single B2C transaction across any industry that exceeds RM10,000 cannot be consolidated.

Note for Construction Material Sellers: Wholesalers and retailers of construction materials are permitted to use consolidated e-invoices, except for transactions exceeding RM10,000 or where the buyer explicitly requests an individual tax invoice.

2. What is a Self-Billed e-Invoice?

Self-billing redefines the traditional buyer-and-seller relationship. In specific commercial scenarios where the seller cannot log into the Malaysian MyInvois framework, the compliance responsibility flips to the buyer. Instead of waiting for a vendor invoice, you (the buyer) assume the role of the issuer. You compile the supplier's details, submit the invoice to LHDN for validation, and use the approved digital document as your official proof of expense to claim year-end tax deductions.

When Must You Self-Bill?

You are legally required to initiate a self-billed workflow under the following circumstances:

  • Foreign Suppliers: Sourcing goods, software, or digital services from international vendors who operate outside the Malaysian tax network.

  • Intermediary Commissions: Distributing payouts to local agents, dealers, or distributors.

  • E-Commerce Settlements: Transactions managed by digital marketplace platforms on behalf of merchants.

  • Profit Distributions: Paying out corporate dividends to shareholders.

  • Non-Business Individuals: Acquiring assets or services from casual, unregistered individual sellers.

  • Insurance Payments: Claims, compensations, or benefit payouts distributed by insurers.

  • Capital Adjustments: Payments linked to share buybacks, capital reductions, or liquidation proceeds.

  • Commercial Interest: Paying interest to entities, excluding standard public-facing financial institutions, employee-employer setups, foreign payors, or centralized domestic corporate treasury services.

🏢 Real-World Example: If a property development company pays a RM20,000 commission to an independent freelance property agent, the agent cannot issue an official LHDN e-invoice. To legally claim that RM20,000 as a business expense, the property development firm acts as the issuer, generates a self-billed e-invoice using the agent's MyKAD or individual TIN, and submits it to LHDN for validation.

3. Evaluating Your e-Invoicing Readiness

Achieving smooth compliance requires looking beyond basic software configurations. Your management team should actively audit four core operational pillars:

  • Regulatory Clarity. Are your finance teams fully aware of the specific LHDN guidelines governing your particular industry rules, such as the strict restriction against consolidation or specific self-billing requirements?

  • Platform Architecture. Have you selected the right transmission model for your volume? If you run a high-volume setup, is your accounting software natively linked to an API, or will your team face severe administrative lag trying to type out transactions on the manual MyInvois portal?

  • Staff Upskilling. Has your internal bookkeeping team been thoroughly trained on the strict mechanics of the new system—including handling LHDN's tight 72-hour error cancellation windows?

  • Network Collaboration. Have you structured a clear communication plan to update your master data records, ensuring your suppliers and corporate customers provide verified TIN and business registration details before billing loops begin?

Simplifies E-invoice and your Operation with Duitbooks

Duitbooks builds these advanced workflows directly into your daily bookkeeping ecosystem. The software automatically flags self-billed vendor profiles, filters your retail receipts to generate compliant monthly consolidated files before the 7-day deadline, and handles the intricate 55-field LHDN data mapping behind the scenes. You process your business as usual—Duitbooks protects your tax deductions in a single click.