Malaysia is phasing in mandatory e-invoicing through LHDN’s MyInvois system. Many accounting packages now include a connector. But if you invoice from a custom system, POS or spreadsheet, you need an integration of your own.
This is a practical checklist. It is not tax advice: confirm your obligations and timeline with LHDN and your tax adviser.
Portal or API?
MyInvois offers two main ways to submit e-invoices:
- The MyInvois portal: manual entry or batch upload. Fine for low volumes.
- The API: your system submits invoices automatically. Needed once volumes grow or invoices are generated by software.
If staff are already re-typing invoices, the API pays for itself quickly.
What an integration involves
1. Data mapping
Your invoices must include the fields MyInvois requires: supplier and buyer details such as TIN and registration numbers, item classification codes, tax details and totals. Most of the work is finding where each field lives in your current system, and filling the gaps.
2. Document generation and signing
Invoices are submitted in a structured format and must be digitally signed with a certificate. The integration generates the document, signs it and submits it.
3. Validation and status
After submission, MyInvois validates the document. A successful validation returns a unique identifier and a link, typically shown as a QR code on the invoice. A good integration:
- stores the identifier against your invoice
- shows the QR code on the PDF you send customers
- handles cancellations and credit notes properly
4. Error handling
Rejected submissions are where finance teams lose time. Catch errors before submission where possible, show clear messages, and retry automatically when the failure is temporary.
5. Consolidated e-invoices
For many small transactions where buyers do not ask for an individual e-invoice, such as retail sales, consolidated e-invoices may apply. Your system needs to group and submit them correctly.
Test in the sandbox first
LHDN provides a sandbox environment. Run real invoice data through it, including edge cases such as discounts, multiple tax types and foreign buyers, before switching to production.
How the work runs
For a single invoicing system: a short review of your data, the integration and validation, then sandbox testing. Start well before your phase begins.
We connect custom systems, POS and spreadsheet billing to MyInvois. See MyInvois e-invoicing, or ask us about your setup.