E-INVOICE / ERP INTEGRATION
Middleware Software for E-Invoicing:
Connect Your ERP to LHDN.
Through AutoCount.
Running SAP or another ERP? Middleware software lets that system pass invoice data to AutoCount, which validates, submits and tracks each e-Invoice with LHDN MyInvois. Your team keeps its current workflow while compliance runs in the background.

Fewer manual steps. Clear validation. Traceable submissions.
01 / THE BASICS
What Is E-Invoice Middleware Software?
LHDN accepts e-Invoices through two channels: the free MyInvois Portal or an API connection from your own system. Middleware software sits between your ERP and MyInvois, so your ERP only needs to hand over clean invoice data.
With AutoCount as the middleware software layer, your SAP or ERP sends data into AutoCount Accounting. The AutoCount e-Invoice Platform (AIP) then formats, submits and stores the LHDN result.

| Option | How it works | Usually suits |
|---|---|---|
| MyInvois Portal | Staff key in or upload invoices on LHDN’s free portal. | Low invoice volumes |
| Direct API from your ERP | Your ERP connects to MyInvois itself; your IT team maintains it as rules change. | Large in-house IT teams |
| Middleware software via AutoCount | Your ERP passes data to AutoCount; AIP handles submission, validation and tracking. | SMEs that want minimal ERP changes |
02 / WHO NEEDS IT
Does Your Business Need E-Invoice Middleware?
Start with LHDN’s own rules. Its e-Invoice implementation timeline (updated 30 August 2026) exempts taxpayers with annual turnover or revenue below RM3 million. Businesses above that follow the phased dates.
Exempt but still invoicing large customers? LHDN encourages voluntary adoption, and buyers may ask for validated e-Invoices. Confirm your position with your tax adviser.
03 / HOW IT WORKS
How Middleware Software Works: 6 Essential Steps
Each invoice follows the same path, whether your team types it into AutoCount or your ERP sends it automatically.
If MyInvois is temporarily unavailable, AutoCount says uploaded invoices stay in a queue and are retried until LHDN validates them. Learn more about AutoCount AIP features.
04 / INTEGRATION OPTIONS
Two Ways to Connect SAP or ERP Software to AutoCount
Both middleware software methods use the AutoCount API. The right one depends on how your ERP is built and how often data must move.
OPTION A
API integration
- Your ERP references AutoCount assemblies through the .NET Framework.
- Deep, transaction-level integration.
- Requires the AutoCount API Module licence.
OPTION B
Plug-in integration
- A plug-in runs alongside AutoCount Accounting.
- Batch-updates transactions or master data into the account book.
- Suits scheduled, high-volume transfers.

05 / DATA IMPORT
Prefer Files? Import Invoice Data by CSV
If your ERP exports files, middleware software can work from CSV. Auto import picks up CSV files from a local or FTP folder on a schedule, logs any errors and moves processed files to a backup folder.
Manual import lets staff load a CSV into AutoCount when needed, then file the source document themselves. See AutoCount data import for details.
Send validated e-Invoices the way customers prefer
LHDN validates the e-Invoice, but the supplier is responsible for sharing it with the buyer.
- Export a PDF with the validation QR code
- Send by WhatsApp for quick delivery
- Email in batches with the EasyEmail plugin

07 / BEFORE GO-LIVE
Plan for Codes, Master Data and Exceptions
| Challenge | What to agree before go-live |
|---|---|
| New customer codes | Validate and sync new customers between ERP and AutoCount before invoicing. |
| New item codes | Create items in both systems at once so stock and reports stay accurate. |
| Buyer TIN and details | Decide who collects and checks buyer tax details. |
| Rejected or cancelled e-Invoices | Assign who reviews LHDN responses and issues corrections. |
| Sharing documents | Choose PDF, WhatsApp or email delivery for each customer group. |
E-Invoice Middleware Software: Common Questions
01What is middleware software in e-invoicing?⌄
It is software that connects your ERP or billing system to LHDN MyInvois. It formats invoice data, submits it and brings the validation result back.
02Can AutoCount act as e-invoice middleware for SAP or another ERP?⌄
Yes. Your ERP can pass data to AutoCount by API, plug-in or CSV import, and AIP handles MyInvois submission. SL Software confirms the exact scope for your ERP.
03Do I need middleware if I use the MyInvois Portal?⌄
Not necessarily. The portal is free and workable for low volumes. Businesses issuing invoices from an ERP, or in high volumes, usually find middleware software or API-based submission more practical.
04Is my business required to issue e-Invoices?⌄
LHDN’s timeline, updated 30 August 2026, exempts taxpayers with annual turnover or revenue below RM3 million. Check your figures against LHDN’s page or with your tax adviser.
05What happens if MyInvois is down?⌄
AutoCount states that uploaded invoices stay in a queue and are resubmitted until LHDN validates them.
06Does LHDN send the e-Invoice to my buyer?⌄
No. The supplier shares the validated e-Invoice. AutoCount supports PDF export, WhatsApp and email through the EasyEmail plugin.
Plan Your ERP to MyInvois Integration
List your ERP, invoice volume and preferred method (API, plug-in or CSV). That gives SL Software a clear starting point for a middleware software proposal.
Developers can review the official LHDN MyInvois SDK.