Solution showcase · Finance & Accounting

MyInvois API integration, from your ERP to LHDN.

Invoices are issued as usual. Submission, statuses and rejections are handled in the background.

A MyInvois API integration pulls invoices from AutoCount or your ERP, checks the fields MyInvois expects, submits them through the e-invoice API and writes their statuses back. Rejections and missing buyer details go to the person who can fix them.

  • Connected to AutoCount or your ERP
  • Checked before submission
  • Rejections to your team

No upfront consultation fee. Free discovery and a free tailored proposal.

The problem

Every invoice now makes a second trip, to LHDN.

For businesses in scope, invoices have to be submitted to MyInvois and validated. Done by hand, that means exporting, uploading to the portal, reading each result and chasing missing buyer details, one invoice at a time.

Before: the portal, by hand

  1. Export invoices from the accounting system
  2. Upload them to the MyInvois portal
  3. Check each validation result
  4. Chase sales for missing buyer TINs
  5. Copy validation links back to invoices

After: the e-invoice integration

  1. Invoices picked up as they are issued
  2. Required fields and buyer TIN checked
  3. Submitted to MyInvois through the API
  4. Rejected or incomplete invoices fixed by staffYour team
  5. Status and validation link written back

Finance only touches the invoices that need a fix. The rest are submitted and recorded without anyone opening the portal.

How it works

From invoice issued to validated.

What a MyInvois e-invoice integration does after an invoice is issued, and roughly when. The clock times are illustrative; submission rules and timeframes are set by LHDN and change, so we build to the current guideline.

  1. 09:00
    Invoice issued

    Sales admin issues the invoice in AutoCount or your ERP, exactly as today.

    Your team
  2. 09:02
    Checked and submitted

    Required fields, tax codes and the buyer TIN are checked, then the invoice is submitted through the e-invoice API.

    Automated
  3. 09:03
    LHDN returns a status

    Valid or invalid, with the reason. The validation link and ID are written back to the invoice.

    Automated
  4. 09:05
    Rejections routed

    Invalid invoices go to whoever can fix them: sales admin for buyer details, finance for tax codes.

    Your team
  5. Same day
    Fixed and resubmitted

    The corrected invoice goes through the same checks and is submitted again.

    Automated
  6. Window
    Cancellations and corrections

    Cancelled only within LHDN's cancellation window, otherwise corrected by credit or debit note. Check the current guideline.

    Your team

E-invoice requirements are set by LHDN and change over time. We build the integration; how the rules apply to your business is for you and your tax adviser to confirm.

People and automation

The integration submits. Your team fixes what's rejected.

Routine submissions run in the background. Decisions about customers, tax treatment and corrections stay with the people accountable for them.

The integration handles
  • Picking up invoices, credit and debit notes as issued
  • Checking required fields and tax codes
  • Validating buyer TINs before submission
  • Submitting through the MyInvois API
  • Writing statuses and validation links back
Your team handles
  • Missing or wrong buyer details
  • Invoices LHDN marks invalid
  • Cancellations and corrections
  • Consolidated and self-billed invoice decisions
  • How the rules apply, with your tax adviser
The integration never
  • Guesses a buyer's TIN or tax details
  • Cancels a validated invoice on its own
  • Decides how LHDN rules apply to you
Built around your tools

From your books to the LHDN MyInvois API and back.

Invoices keep being issued where they are today. The integration sits between your system and MyInvois and records every submission and response.

Where invoices startAutoCountERPPOS or online store
E-invoice integrationField checksTIN validationRetries and statusesEvery submission and response is logged
LHDNMyInvois APICredentials and certificateMyInvois portal
Your teamRejection queueGmailStatus report

MyInvois requirements and AutoCount's e-invoice features change over time, so we confirm the current API, credentials and your software version during discovery.

AutoCount & e-invoice automation →
Industry benchmarks

What businesses report after moving to e-invoicing.

A published result from a company that automated its e-invoicing, and the scale of MyInvois in Malaysia today.

Data entry and review timeUp to 50% less

A Singapore logistics company after moving to e-invoicing.

Documents ready earlierUp to 7 days

The same company, for some of its documents.

Transactions on MyInvois1 billion+

LHDN reports over 1 billion e-invoice transactions and more than 200,000 taxpayers on MyInvois (February 2026).

What we would measure for you
  • Invoices submitted without a person
  • First-time validation rate
  • Time from issue to validated
  • Rejections by reason
  • Open rejections at month-end
What to consider

What shapes an e-invoice API integration.

Every business issues invoices from a different mix of systems. These factors shape the integration and the effort involved.

Source systems
AutoCount, another ERP, POS or online store, and their versions.
Document types
Invoices, credit and debit notes, refunds and self-billed documents.
Volume and timing
Invoices per day, peaks and consolidated B2C submissions.
Buyer data
How complete customer TINs and registration details are today.
Credentials
API access, digital certificate and any intermediary set-up.
Your tax adviser
How they read LHDN's guideline for your business and documents.
FAQ

MyInvois API integration questions.

Straight answers about scope, data, ownership and support. Can’t find yours? Ask us directly below.

What is a MyInvois API integration?

It is a connection between the system you invoice from and LHDN's MyInvois, so invoices are submitted by API instead of uploaded by hand. Each invoice is checked for required fields, tax codes and the buyer TIN, then submitted, and its status and validation link are written back. Invoices that fail go to the person who can fix them.

Does an e-invoice integration make us compliant?

It handles submission, but compliance stays with your business. LHDN sets the e-invoice requirements and changes them over time, so we build to the current guideline. How the rules apply to your documents, such as consolidated or self-billed invoices, is for you and your tax adviser to confirm.

Does it work with AutoCount or our ERP?

Yes, depending on your AutoCount version and modules. If AutoCount already submits your e-invoices, we can add pre-submission checks, rejection routing and status reporting around it. Other ERPs, POS systems and online stores connect through their API or a regular export, and we confirm your software version during discovery.

What do we need to use the LHDN MyInvois API?

API credentials for MyInvois and, depending on your set-up, a digital certificate or an intermediary. We check which applies to your business, help you put access in place and test submissions in LHDN's sandbox environment before going live, so your first real invoices are not the test.

What happens when LHDN rejects an invoice?

It goes to the person who can fix it, with LHDN's reason attached. Missing buyer details go to sales admin and tax code problems to finance, then the corrected invoice is checked again and resubmitted. Cancellation is possible only within LHDN's cancellation window; after that, a credit or debit note is prepared for your approval.

How is this different from off-the-shelf e-invoice software?

It fits around the systems you already invoice from rather than replacing them. Some e-invoice software in Malaysia asks you to issue invoices inside its own tool, and uploading through the portal by hand means checking each result yourself. This keeps invoicing in AutoCount or your ERP and adds checks, routing and reporting around submission.

How are buyer TINs and personal details protected?

Buyer TINs are checked before submission using LHDN's validation where available, and missing or invalid ones go to sales admin rather than being guessed. Buyer details are handled under PDPA, access is limited to staff who need it, and API credentials are stored securely. Every submission and response is logged.

What does it cost, and how long does it take?

It depends on your source systems, the document types you issue and your invoice volume, so it is quoted privately after a free discovery session. Timelines follow the same factors and how quickly API access is in place. We start with one system and document type, usually sales invoices, then add credit notes, debit notes and other sources.

Next step

Map your e-invoice process.

Tell us where your invoices are issued and how you submit to MyInvois today. We'll show you what the integration would handle and where your team stays in control. No obligation.