Complete integration guide for Malaysia's e-invoicing system mandated by LHDNM. Achieve seamless compliance with our comprehensive tools and detailed documentation, designed to simplify your e-invoicing journey.
LHDNMCertified
PEPPOLReady
All TypesSupported
Aug 2024Mandatory
Reporting Mandates
LHDNM E-Invoicing
MyInvois Compliance
Exchange Networks
MyInvois Portal
PEPPOL Network
Supported Documents
Standard Invoices
Self-Billed Invoices
Credit Notes
Debit Notes
Refund Notes
Introduction to Malaysia E-Invoicing
Malaysia has embarked on a comprehensive digital transformation of its tax administration through the implementation of mandatory electronic invoicing. The Lembaga Hasil Dalam Negeri Malaysia (LHDNM), also known as the Inland Revenue Board of Malaysia (IRBM), has introduced the MyInvois system to modernize invoicing processes, improve tax compliance, and enhance business efficiency.
Key Authorities
Authority
Role
Responsibilities
Lembaga Hasil Dalam Negeri Malaysia (LHDNM / IRBM)
Primary regulatory body for e-invoicing
• Developing and managing the MyInvois Portal • Setting compliance requirements and technical specifications • Managing the phased rollout based on revenue thresholds • Validating and clearing submitted e-invoices • Issuing compliance guidelines and updates
The e-invoicing mandate supports Malaysia's broader digital economy objectives:
Objective
Description
Tax Modernization
Digitize invoicing and tax reporting to improve accuracy and efficiency
Revenue Optimization
Reduce the tax gap through real-time transaction monitoring
Business Efficiency
Eliminate paper-based invoicing and manual reconciliation
Transparency
Enable data-driven policy decisions with real-time economic insights
Cross-Border Readiness
Integration with the PEPPOL network for international interoperability
E-Invoicing Overview
Malaysia's e-invoicing system, known as MyInvois, was introduced by LHDNM with a phased rollout beginning August 2024. The system requires businesses to generate, submit, and manage electronic invoices through the MyInvois Portal or via API integration through accredited Service Providers (SPs).
Phased Rollout
Phase 1 (August 1, 2024): Taxpayers with annual turnover exceeding RM 100 million
Phase 2 (January 1, 2025): Taxpayers with annual turnover exceeding RM 25 million
Phase 3 (July 1, 2025): All remaining taxpayers regardless of revenue threshold
System Architecture
The Malaysian e-invoicing system follows a clearance model:
Component
Description
MyInvois Portal
Central platform operated by LHDNM for invoice validation and clearance
Service Providers (SPs)
Accredited intermediary systems for API-based invoice submission
PEPPOL Network
Cross-border delivery network for international document exchange
UUID
Unique identifier assigned by LHDNM after invoice validation
QR Code
Machine-readable verification code embedded in validated invoices
Document Types
Code
Document Type
Description
01
Invoice
Standard tax invoice
02
Credit Note
Reduces amount of a previously issued invoice
03
Debit Note
Increases amount of a previously issued invoice
04
Refund Note
Document for refund transactions
11
Self-Billed Invoice
Invoice issued by the buyer on behalf of the supplier
Malaysia has implemented a mandatory e-invoicing system through LHDNM's MyInvois program. This section outlines the mandate requirements affecting businesses operating in Malaysia.
LHDNM MyInvois eInvoicing
The Lembaga Hasil Dalam Negeri Malaysia (LHDNM) introduced the MyInvois electronic invoicing mandate with a phased rollout, establishing a clearance-based system for tax compliance.
What is MyInvois?
MyInvois is Malaysia's mandatory e-invoicing platform that requires businesses to generate, submit, and store electronic invoices and related documents (credit notes, debit notes, refund notes, and self-billed documents) through LHDNM-compliant solutions. All invoices must be submitted to the MyInvois Portal for validation before being considered valid tax documents.
Regulatory Framework
Component
Details
Issuing Authority
Lembaga Hasil Dalam Negeri Malaysia (LHDNM / IRBM)
Program Name
MyInvois
Standard
LHDNM e-Invoice SDK Specification
Model
Clearance (Pre-validation)
Phase 1
August 1, 2024 — Turnover > RM 100 million
Phase 2
January 1, 2025 — Turnover > RM 25 million
Phase 3
July 1, 2025 — All remaining taxpayers
Who Must Comply?
Category
Scope
Business Type
All taxpayers conducting commercial activities in Malaysia
Resident Entities
All resident businesses and individuals with taxable income
Transaction Types
B2B, B2C, B2G, and self-billed transactions
Rollout
Phased by annual turnover — from RM 100 million down to all taxpayers
How It Works
The Malaysian e-invoicing system uses a clearance model:
Transaction
Process
Flow
Standard Invoice
Clearance
Invoice is submitted to MyInvois Portal for validation before being shared with the buyer
Self-Billed Invoice
Clearance
Buyer issues and submits the invoice to MyInvois on behalf of the supplier
Consolidated Invoice
Reporting
Aggregated invoice for general public transactions submitted to LHDNM
All invoices require submission through an accredited Service Provider (SP) or directly via the MyInvois Portal.
Document Types
Document Type
Code
Description
Invoice
01
Standard invoice for regular supplies
Credit Note
02
Adjusts a previously issued invoice (reduces amount)
Debit Note
03
Adjusts a previously issued invoice (increases amount)
Refund Note
04
Document for refund transactions
Self-Billed Invoice
11
Invoice issued by the buyer for the supplier
Self-Billed Credit Note
12
Credit note for self-billed transactions
Self-Billed Debit Note
13
Debit note for self-billed transactions
Self-Billed Refund Note
14
Refund note for self-billed transactions
Key Requirements
#
Requirement
Description
1
Accredited SP
Use a Service Provider registered with LHDNM, or integrate directly via MyInvois Portal
2
TIN Registration
Obtain a valid Tax Identification Number (TIN) from LHDNM
3
MSIC Code
Classify business activity using the Malaysia Standard Industrial Classification code
4
Client Credentials
Obtain client_id and client_secret from LHDNM for API access
5
SST Registration
SST number required for SST-registered businesses
6
Real-time Submission
All invoices must be submitted and validated through MyInvois before delivery
Tax Types
Malaysia supports multiple tax types for line items:
Code
Tax Type
Description
01
Sales Tax
Standard sales tax
02
Service Tax
Service tax on applicable services
03
Tourism Tax
Tax on tourism-related services
04
High-Value Goods Tax
Tax on high-value goods
05
Sales Tax on Low Value Goods
Sales tax for low-value imported goods
06
Not Applicable
No tax applies
E
Tax Exemption
Exempt from tax (reason required)
Cancellation Rules
Issued e-invoices can be cancelled within 72 hours of the issuance date and time. After this window, adjustments must be made through credit notes or debit notes.
Implementation
Step
Action
Purpose
1. Obtain Credentials
Request client_id and client_secret from LHDNM
Enable API access to MyInvois
2. Select SP
Choose Flick or another accredited Service Provider
Facilitate API integration
3. Onboard
Register your business with the SP using TIN and business details
Connect to MyInvois Portal
4. Configure
Map internal data to MyInvois format and test in sandbox
Ensure technical compliance
5. Go Live
Begin submitting invoices through the production API
Achieve full compliance
6. Monitor
Track validation status and handle rejections
Maintain ongoing compliance
For official compliance timelines and specifications, refer to the LHDNM MyInvois SDK.
LHDNM MyInvois E-Invoicing with Flick
The LHDNM MyInvois system requires businesses to submit electronic invoices for validation through accredited Service Providers (SPs) or the MyInvois Portal directly.
What is MyInvois?
MyInvois is Malaysia's centralized e-invoicing platform operated by LHDNM (Inland Revenue Board of Malaysia). It validates all electronic invoices before they are considered legally valid tax documents. Flick acts as an accredited Service Provider (SP), handling the submission and validation process on behalf of your business.
The Clearance Model
MyInvois uses a pre-clearance model where every invoice must be validated before delivery:
Buyer submits invoice to MyInvois on behalf of supplier → validated → delivered
Consolidated
Invoice (01)
Aggregated invoice for general public (B2C) transactions → submitted to MyInvois for reporting
Standard Invoice Flow
Supplier creates the invoice with all mandatory fields
Invoice is submitted to MyInvois via Flick's API
MyInvois validates the invoice against LHDNM business rules
If valid, MyInvois returns a UUID and Long ID
Invoice is delivered to the buyer (optionally via PEPPOL)
Buyer can verify the invoice using the QR code
Self-Billed Invoice Flow
Buyer creates a self-billed invoice for the supplier
Invoice is submitted to MyInvois via Flick's API with supplier details
MyInvois validates and issues a UUID
Supplier is notified and can view the document
Service Provider (SP) Integration
Flick is registered as a Service Provider (Flick Solutions Sdn. Bhd.) with LHDNM. To use Flick as your SP, you must:
Prerequisites
Requirement
Description
TIN
Valid Tax Identification Number (excluding Employer's E No.)
BRN
New Business Registration Number
Client Credentials
client_id and client_secret obtained from LHDNM
MSIC Code
5-digit Malaysia Standard Industrial Classification code
SST Number
Required for SST-registered businesses
Obtaining Client Credentials
To obtain client_id and client_secret from LHDNM, submit a request via email to sdkmyinvois@hasil.gov.my with:
Tax Identification Number (TIN) — excluding Employer's (E) No.
New Business Registration Number
Company Name
Company Email Address
Name of SP as Flick Solutions Sdn. Bhd.
Integration Lifecycle
Step
Endpoint
Description
1. Onboard
POST /api/einvoice/onboard
Register your business with Flick as your SP. Provides access token for MyInvois communication.
2. Validate TIN
POST /api/einvoice/validate-tin
Validate buyer's TIN and ID before including in invoice.
3. Submit Invoice
POST /api/einvoice/generate/invoice
Submit a single invoice for validation and clearance.
4. Get Document
GET /api/einvoice/get-document/{uuid}
Retrieve document details and status from LHDNM.
5. Cancel
POST /api/einvoice/cancel
Cancel a validated document (within 72 hours).
Document Delivery
Flick supports multiple transport modes for delivering validated invoices:
Mode
Description
PEPPOL
Deliver via the PEPPOL international e-delivery network
Email
Deliver invoice directly to the buyer's email
Portal
Buyer retrieves from MyInvois Portal
Set the transport_mode header when submitting invoices to specify your preferred delivery method.
Key Components
UUID and Long ID
After validation, MyInvois assigns:
UUID: Unique identifier for the document within the MyInvois system
Long ID: Extended identifier used for document verification and QR code generation
QR Code
Validated invoices include a QR code that allows buyers and authorities to verify the document's authenticity against the MyInvois Portal.
Cancellation Window
Issued e-invoices can be cancelled within 72 hours of the issuance date and time using the Cancel API. After this period, adjustments must be made through credit notes or debit notes.
Standards and Format
Standard
Specification
Format
LHDNM e-Invoice SDK JSON
Encoding
UTF-8
Currency
MYR (default), other currencies supported with exchange rate
This guide covers the complete lifecycle of e-invoicing in Malaysia, from onboarding through to invoice submission, retrieval, cancellation, and webhook integration via the Flick API.
Overview
The LHDNM e-invoicing lifecycle covers the full range of operations:
Stage
Endpoint
Method
Purpose
1. Onboard SP
/api/einvoice/onboard
POST
Register Flick as your Service Provider
2. Validate TIN
/api/einvoice/validate-tin
POST
Validate a taxpayer's TIN before invoicing
3. Submit Invoice
/api/einvoice/generate/invoice
POST
Submit a single invoice
4. Submit Bulk
/api/einvoice/generate/invoice/bulk
POST
Submit multiple invoices at once
5. Consolidated
/api/einvoice/generate/invoice/consolidated
POST
Report consolidated invoices for general public
6. Self-Billed
/api/einvoice/generate/self-billed-invoice
POST
Submit a self-billed invoice
7. Self-Billed Bulk
/api/einvoice/generate/self-billed/bulk
POST
Submit multiple self-billed invoices
8. SB Consolidated
/api/einvoice/generate/self-billed/consolidated
POST
Report consolidated self-billed invoices
9. Get Document
/api/einvoice/get-document/{uuid}
GET
Retrieve document details from LHDNM
10. Cancel
/api/einvoice/cancel
POST
Cancel a document (within 72 hours)
11. Supplier Invoices
/api/einvoice/supplier-invoices
GET
Get invoices issued against you
12. Reject
/api/einvoice/reject
POST
Reject a received document
1. Onboard Flick as Your Service Provider
Register your business with Flick as your intermediary system for MyInvois. This generates an access token for trusted communication on your behalf.
Prerequisites
Valid TIN from LHDNM
client_id and client_secret obtained from LHDNM (see Introduction)
Submit multiple invoices in a single API call. The request body is an array of documents, each following the same schema as a single invoice submission.
Request
Endpoint: POST /api/einvoice/generate/invoice/bulk
Complete collection of LHDNM-compliant invoice examples covering standard invoices, self-billed invoices, consolidated invoices, and various transaction scenarios.