📄 Plain English Guide — No Jargon

What Is E-Invoicing
in Malaysia?

A clear, practical explanation of Malaysia's MyInvois e-invoicing system — how it works, why it exists, what the UIN is, and how it differs from the PDF invoices you used to send.

55Required data fields
72 hrsRejection window
Real-timeLHDN validation
QR codeOn every invoice
7 yearsRecord retention

E-Invoicing Is Not Just a Digital PDF


Many businesses assume "e-invoice" just means sending a PDF invoice by email. It does not. Malaysia's e-invoice system — built on the MyInvois platform operated by LHDN (Lembaga Hasil Dalam Negeri) — requires every invoice to be validated by the government in real time before it is considered legally issued.


When you submit an invoice through MyInvois, LHDN's system checks all required data fields, validates the information, and stamps the document with a Unique Identification Number (UIN) and a QR code. Only then is the invoice considered a valid, legally-binding commercial document.


The goal is to give LHDN full visibility into business transactions to improve tax compliance and reduce the shadow economy — while also giving businesses an auditable, tamper-proof invoicing trail.


When does this apply to me?

How MyInvois E-Invoicing Works

From business transaction to validated tax record — here is the complete journey of a Malaysia e-invoice.

1

Generate the Invoice

Your accounting software (AutoCount, SQL, QuickBooks, Xero, etc.) creates a structured e-invoice in UBL XML or JSON format, populated with all 55 required LHDN data fields. No more free-form PDF templates.

2

Submit to MyInvois

The invoice is submitted to LHDN's MyInvois platform — either via direct API integration from your software, through an approved middleware connector, or manually through the MyInvois web portal.

3

IRBM Validates in Real Time

The IRBM (Inland Revenue Board of Malaysia) system validates every required field in seconds. If the invoice passes, it is stamp-validated. If it fails, the system returns detailed error codes within seconds.

4

Receive Your UIN & QR Code

If validated, LHDN generates a Unique Identification Number (UIN) and embeds a QR code into the invoice. This QR code links to the official LHDN record — buyers can scan it to verify the invoice is genuine.

5

Share With Buyer

The validated, QR-coded invoice is shared with the buyer. The buyer has 72 hours to reject the invoice for legitimate reasons (incorrect details, wrong goods, etc.). After that window, the invoice is permanently valid.

6

Archive for 7 Years

Both seller and buyer must store a copy of the validated e-invoice for a minimum of 7 years. These records must be retrievable for LHDN audit purposes at any time. Cloud accounting software typically handles this automatically.

Important E-Invoicing Concepts Explained

What Is the UIN? (Unique Identification Number)

The UIN (Unique Identification Number) is a unique alphanumeric code assigned by LHDN to every validated e-invoice. Think of it as an official government stamp that certifies the invoice is real, has been tax-checked, and is on record with the Malaysian Revenue Service.

The UIN appears on the printed or shared version of the invoice, usually alongside the QR code. When a buyer scans the QR code, it connects to the official LHDN record corresponding to that UIN — instantly verifying authenticity.

Why it matters: An invoice without a valid UIN is not a legally recognized e-invoice under Malaysian tax law. It cannot be used to support input tax claims or audits.

What Is the 72-Hour Rejection Window?

After receiving a validated e-invoice, a buyer has 72 hours to formally reject it through the MyInvois system for legitimate commercial reasons:

  • Incorrect seller or buyer details
  • Wrong goods, services, or quantities described
  • Duplicate invoice
  • Invoice issued for cancelled transaction

If the buyer does not reject within 72 hours, the invoice is permanently accepted and on record. To correct a rejected invoice, you must issue a new, corrected e-invoice through MyInvois — you cannot simply edit and resend the original.

Important: All rejections must go through MyInvois. Rejecting by email or phone alone does not constitute a valid e-invoice rejection under LHDN rules.

API Integration vs. MyInvois Portal

There are two ways to submit e-invoices to MyInvois:

  • API Integration: Your accounting software connects directly to MyInvois via LHDN's published API. When you generate an invoice in your software, it is automatically submitted, validated, and stamped in real time. This is the recommended approach for businesses issuing more than a handful of invoices per month.
  • MyInvois Portal: You log in to the MyInvois web portal and manually enter or upload invoice data for each transaction. This is suitable for very small businesses with minimal invoice volumes but becomes extremely time-consuming at scale.

Many accounting software providers in Malaysia now offer native MyInvois API integration as a built-in feature or paid add-on.

E-Invoice vs. PDF Invoice — What's the Difference?

Here is a clear comparison to help you understand what changes under the new system:

FeatureOld PDF InvoiceMyInvois E-Invoice
FormatPDF, Word, Excel — any formatStructured UBL XML or JSON
Government validationNone requiredReal-time LHDN validation required
UIN / QR CodeNot presentMandatory — QR links to LHDN record
Tax audit trailBusiness keeps own recordsAutomatically on LHDN record
Rejection processInformal — email or phoneFormal — via MyInvois within 72 hrs
Error correctionResend amended invoiceIssue new validated credit/debit note
Legal recognitionVaries — courts accept most formatsUIN-stamped invoice is legal standard

What Types of Transactions Require E-Invoicing?

Under LHDN's current rules, e-invoicing applies to most commercial transactions issued by businesses within the applicable revenue threshold, including:

  • Sale of goods (domestic)
  • Provision of services
  • Import and export transactions
  • International transactions with foreign buyers
  • B2B and B2G (business-to-government) transactions

B2C (business-to-consumer) transactions below a certain daily consolidated threshold may be handled with a consolidated e-invoice, rather than individual per-transaction validation. Please verify the latest LHDN guidance as rules for B2C are evolving.

Need the full checklist of required invoice fields? See our complete invoice requirements page for all 55 data fields and what each one means for your business.

Let Experts Handle Your MyInvois Setup

From accounting software selection to API integration, field mapping, staff training, and first submission — our team manages the whole process so you can focus on running your business.

Based in Penang, serving the whole Peninsular Malaysia.