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.
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.
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:
| Feature | Old PDF Invoice | MyInvois E-Invoice |
|---|---|---|
| Format | PDF, Word, Excel — any format | Structured UBL XML or JSON |
| Government validation | None required | Real-time LHDN validation required |
| UIN / QR Code | Not present | Mandatory — QR links to LHDN record |
| Tax audit trail | Business keeps own records | Automatically on LHDN record |
| Rejection process | Informal — email or phone | Formal — via MyInvois within 72 hrs |
| Error correction | Resend amended invoice | Issue new validated credit/debit note |
| Legal recognition | Varies — courts accept most formats | UIN-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.