ZenWeb - Blog - MyInvois Portal vs API: E-Invoicing for Custom Websites

MyInvois Portal vs API: E-Invoicing for Custom Websites

October 31, 2026

Share this post:

MyInvois Portal vs API: E-Invoicing for Custom Websites
TL;DR: The MyInvois Portal is LHDN’s free web form for issuing e-invoices by hand or by Excel batch upload. The API lets your website or system send e-invoices automatically, but needs a developer, an organisation digital certificate and testing. As at October 2026, low-volume sites can run on the MyInvois Portal; sites with many buyer requests or invoices over RM10,000 usually need the API.

If your business sells through a custom-built website, booking system or customer portal, someone will eventually ask: “Do we connect this to LHDN, or just use the MyInvois Portal?” A connection costs money. Manual entry costs staff time. Choosing wrong means paying twice.

This guide is for Malaysian SME owners and marketers who run a bespoke website. It covers how the Portal and the API differ, who must issue e-invoices as at October 2026, what your developer has to build, and how to decide. It comes from ZenWeb, a Malaysian Google Partner agency with 500+ clients, and looks at the website side of the job.

This post is general information, not legal or tax advice. Please confirm your own position with a licensed tax agent or lawyer.

Running a custom website that takes orders or bookings?

We build bespoke sites and web systems that are e-invoice-ready from day one. See our web development service →

First, see how issuing a standard and a consolidated e-invoice looks in the Portal itself.

MyInvois Portal & App to Issue Standard E-invoices & Consolidated E-invoices (EN)

Source video: AutoCount Dealer (SL Software) on YouTube

1. What Is the MyInvois Portal and Who Is It For?

Quick Answer: The MyInvois Portal is LHDN’s own web platform for issuing, viewing, cancelling and rejecting e-invoices. You log in through MyTax, then complete a form for each e-invoice or upload a pre-set Excel sheet in batches. It is free, needs no software, and suits businesses whose own system cannot connect to LHDN.

LHDN’s e-Invoice Guideline (Version 4.8, 30 August 2026) lists two ways to send e-invoices for validation: the Portal and the Application Programming Interface (API). It pairs the Portal with businesses that have no API connection, and the API with high transaction volumes.

  • Two ways to create. One form per e-invoice, or batch upload of LHDN’s Excel template.
  • Near real-time validation. Each e-invoice gets an LHDN Unique Identifier Number, a validation time and a PDF copy with a QR code.
  • A 72-hour window. Suppliers can cancel, and buyers can request rejection, within 72 hours. After that, corrections need a credit, debit or refund note.
  • No charge. LHDN’s e-Invoice FAQs (updated 4 September 2026) say it is free of charge to all taxpayers.
Key takeaway: The Portal is free and complete, but it does not know your website exists. The real cost is staff time re-keying orders.

2. Who Must Issue E-Invoices in Malaysia as at October 2026?

Quick Answer: As at October 2026, businesses with annual turnover below RM3 million are exempt, after the threshold rose from RM1 million on 1 September 2026. Businesses above RM3 million are in scope under the phased timeline. Those in the up-to-RM5 million phase have an interim relaxation period until 31 December 2027.

Check these dates before paying for any integration:

E-invoice key dates for Malaysian businesses
Timeline of Malaysian e-invoice implementation dates, thresholds and relaxation periods from 2024 to 2027.
DateWhat happens
1 Aug 2024Turnover above RM100 million must issue e-invoices
1 Jan 2025Above RM25 million and up to RM100 million
1 Jul 2025Above RM5 million and up to RM25 million
1 Jan 2026Up to RM5 million; single transactions above RM10,000 need their own e-invoice
7 Jul 2026e-Invoice voluntary disclosure programme opens
1 Sep 2026Exemption threshold rises from RM1 million to RM3 million
31 Dec 2027Interim relaxation and voluntary disclosure programme end for the up-to-RM5 million phase

Source: ZenWeb compilation of LHDN e-Invoice Guideline v4.8, Specific Guideline v4.9 and FAQs, as at October 2026. Licence.

The phases come from LHDN’s e-Invoice implementation timeline page. The RM3 million change was announced by the Prime Minister on 30 August 2026, as reported by The Star. Two details matter:

  • The exemption has limits. Guideline section 1.6.10 excludes you if a corporate shareholder, holding company or related company has turnover of at least RM3 million.
  • The relaxation is temporary. Until 31 December 2027, phase 4 businesses may consolidate all transactions, even when a buyer asks for an individual e-invoice.

For the wider small-business picture, read our guide on what small businesses must do for e-invoice.

Key takeaway: Confirm whether you are in scope, and when your relaxation ends, before budgeting for an API build.

3. MyInvois Portal vs API: What Is the Difference?

Quick Answer: Both send the same e-invoice to the same LHDN system for validation. The MyInvois Portal is manual and free. The API is automatic: your website builds the e-invoice in UBL 2.1 JSON or XML, signs it with an organisation digital certificate, and submits it the moment an order is paid. That saves staff time but costs development.

How the two routes compare for a business with its own website or web app:

MyInvois Portal vs API for custom websites
Comparison of the MyInvois Portal and the MyInvois API across seven practical factors for website owners.
FactorMyInvois PortalMyInvois API
How e-invoices are madeTyped into a form or uploaded in ExcelGenerated by your website or system
LHDN feeFreeNo LHDN fee; you pay for build and upkeep
Digital certificateNot needed for Portal entryOrganisation certificate required
Speed per orderMinutes of staff timeSeconds, no staff time
Buyer gets QR copyStaff download and email the PDFWebsite shows or emails it automatically
Testing environmentNot neededPre-production sandbox with separate credentials
Best fitLow volume, mostly consolidatedMany B2B orders or individual requests

Source: ZenWeb summary of LHDN e-Invoice Guideline v4.8 and the MyInvois SDK FAQ, October 2026. Licence.

The MyInvois SDK FAQ states that API submission needs an organisation digital certificate, from a certification authority on MCMC’s list of digital signature licensees.

There is a middle road too: if your website already pushes orders into accounting software, that software may submit e-invoices for you. Our website to SQL Accounting and AutoCount integration guide covers that route.

Key takeaway: The legal result is identical. You choose between paying in staff hours (Portal) or in development and upkeep (API).

4. Is the MyInvois Portal Enough for an Online Store?

Quick Answer: Often, yes, for now. Most consumer orders can go into one consolidated e-invoice per month, submitted within seven calendar days of month end, and that is a single Portal entry. The MyInvois Portal stops being practical when you get many requests for individual e-invoices, or many orders above RM10,000.

Under LHDN’s e-Invoice Specific Guideline (Version 4.9, 7 September 2026), consumer sales where the buyer does not ask for an e-invoice can be consolidated monthly, while single transactions above RM10,000 need their own from 1 January 2026. Our guide to consolidated e-invoices for online sales explains the monthly routine.

So what matters is the number of orders needing their own e-invoice, not total orders. Manual work grows fast:

Staff hours per month keying individual e-invoices
Illustrative staff hours per month for keying individual e-invoices into the MyInvois Portal at four monthly volumes.
Individual e-invoices per monthStaff hoursWorkload
201.3
1006.7
30020.0
1,00066.7

Source: Illustrative scenario by ZenWeb, assuming about 4 minutes per e-invoice keyed in by hand. Licence.

Excel batch upload cuts the typing, but someone still exports orders, cleans data and fixes rejected rows. The tipping point usually comes when e-invoicing needs a part-time person. And because phase 4 businesses may consolidate everything until 31 December 2027, the real pressure for many SMEs starts in 2028.

Key takeaway: If few orders need their own e-invoice, the Portal plus monthly consolidation is a sensible, low-cost start.

5. How Does MyInvois API Integration Work With a Custom Website?

Quick Answer: Your developer registers your website as an ERP system in the MyInvois Portal to get a client ID and secret, installs your organisation digital certificate, builds e-invoices in UBL 2.1 format, tests them in LHDN’s sandbox, then switches to live. Each paid order is submitted, validated and stored with its LHDN identifier.

How to connect a custom website to the MyInvois API

A typical build, following the official MyInvois SDK and LHDN’s guideline:

  1. Register the system. In the Portal, use “View and Register ERP” to self-provision a client ID and client secret.
  2. Get the certificate. Buy an organisation digital certificate from an MCMC-licensed authority, in your company’s name, not the developer’s.
  3. Collect the right data. Let checkout or the buyer’s account capture TIN, registration number and address when an individual e-invoice is wanted.
  4. Build the document. Map each order to the UBL 2.1 structure in JSON or XML, covering the 55 required fields, and sign it.
  5. Test in the sandbox. Use the pre-production environment, with its own client ID and secret, until submissions validate cleanly.
  6. Go live and store results. Save the Unique Identifier Number, validation time and QR link against each order, and show the buyer their copy.
  7. Handle the exceptions. Build 72-hour cancellation, credit and refund notes, and a retry queue for LHDN downtime.

Step 3 is where websites usually fall short. A simple e-invoice request form on your website collects buyer details without slowing everyday customers. Refunds need a flow too; see how e-invoice credit notes work for online refunds.

Shops on a platform can compare plug-in routes for linking a WooCommerce store to MyInvois and Shopify e-invoice apps. Bespoke systems, such as custom web applications, normally connect directly.

Key takeaway: The API call is the easy part. The effort goes into clean buyer data, refunds, retries and storing LHDN’s response.

6. What Are the MyInvois API Limits Your Developer Must Plan For?

Quick Answer: The MyInvois SDK sets a maximum of 100 e-invoices and 5 MB per submission, 300 KB per e-invoice, and recommends about 100 requests per minute per client ID. Access tokens last 60 minutes, so a website should reuse them rather than log in for every order.

These limits rarely trouble an SME site day to day. They bite on sale days, at month end, and when code logs in again for every order.

MyInvois API limits to design around
Published MyInvois API submission limits and what each means for a custom website build.
LimitValueWhat it means for your site
E-invoices per submission100Split big batches into groups of 100
Submission size5 MBLong line-item orders may need smaller batches
Size per e-invoice300 KBKeep product descriptions short and clean
Recommended submit rate100 requests per minute per client IDQueue orders on flash-sale days
Access token life60 minutesReuse tokens instead of logging in per order
Cancel or reject window72 hoursAdmin panel needs a cancel button with a reason field

Source: ZenWeb summary of MyInvois SDK documentation and LHDN e-Invoice Guideline v4.8, October 2026. Licence.

The submission figures are on the SDK’s Submit Documents API page. LHDN’s FAQs add that if its system is down, suppliers have 72 hours to issue the e-invoice once it returns. For budgets, see our system integration cost guide.

Key takeaway: Ask any developer how they handle batching, token reuse and LHDN downtime. Vague answers mean failed e-invoices on busy days.

Need your website to issue e-invoices without manual work?

We build e-invoice-ready checkouts, request forms and admin panels. Plan an e-invoice-ready website build →

7. Which Website Situations Point to the Portal or the API?

Quick Answer: Lead-generation sites that invoice offline, and small consumer shops, usually stay on the MyInvois Portal. Subscription sites, B2B ordering portals and sites with frequent orders above RM10,000 usually justify the API, because each sale needs its own e-invoice and manual entry never ends.

  • Lead-generation or brochure site. Enquiries come in; invoices are raised later. The Portal or your accounting software is enough.
  • Small consumer shop on a custom build. Consolidate monthly and handle the odd buyer request by hand.
  • Subscription or membership site. Renewals repeat monthly, so automation pays back fast. See e-invoices for subscription and membership websites.
  • B2B ordering or quotation portal. Corporate buyers expect a validated e-invoice per order, which points to the API.
  • Sales above RM10,000. Each needs its own e-invoice. A few a month is fine by hand; dozens are not.

Purchases count too. Self-billed e-invoices for foreign ad platforms and creators are often issued by hand, even by businesses that automate sales. Read about self-billed e-invoices for Facebook and Google Ads payments and e-invoices for influencer and freelancer payments.

Key takeaway: Many businesses use both: the API for repeat website sales, and the Portal for occasional self-billed and one-off e-invoices.

8. Can You Claim Tax Deductions or Grants for an E-Invoice Build?

Quick Answer: Possibly. Malaysia has offered MSMEs a tax deduction linked to certain e-invoice implementation costs, and some digitalisation grants cover custom software work. The rules, caps and deadlines differ by scheme and change often, so check the current terms with a licensed tax agent before you sign a development quote.

Our post on the e-invoice integration tax deduction explains which costs may qualify, and our custom software development grants guide covers schemes that may part-fund the build.

On data: LHDN’s FAQs say the Personal Data Protection Act 2010 does not apply to personal data processed for e-invoices sent to the Director General. That covers the e-invoice only. Your tracking pixels and lead forms still fall under PDPA, as we explain in Meta Conversions API and PDPA.


9. Portal or API Checklist: What to Confirm Before You Decide

Quick Answer: Confirm your scope and relaxation date, count orders needing individual e-invoices, and check whether your accounting software already submits to MyInvois. Only then compare a build quote against the monthly staff hours the Portal would cost.

  • Scope. Is your turnover, or your group’s, at least RM3 million?
  • Deadline. Which phase are you in, and when does your relaxation end?
  • Volume. How many orders a month need their own e-invoice, including those above RM10,000?
  • Existing tools. Does your accounting or POS software already connect to MyInvois?
  • Ownership. Are the client ID, secret and certificate in the company’s name?
  • Upkeep. Who handles cancellations, downtime and LHDN’s SDK updates?

Worked example. A Klang Valley furniture retailer with RM4 million turnover gets about 40 individual e-invoice requests a month, plus five orders above RM10,000. At roughly four minutes each, that is about three staff hours a month in the MyInvois Portal, which is reasonable. If it opens a B2B trade portal with 400 orders a month, the same maths reaches about 27 hours, and the API becomes worth pricing.

Key takeaway: Decide on numbers. Start with the Portal when volumes are low, and build your website so an API connection can be added later without a rebuild.

10. Conclusion

Both routes produce the same validated e-invoice. The Portal is free and fine for low volumes, especially while the relaxation period lasts. The API suits websites with steady individual e-invoices, B2B buyers or high-ticket orders, and needs a certificate, sandbox testing and proper error handling. As at October 2026, the RM3 million exemption has taken many SMEs out of scope, so confirm your position with a licensed tax agent first.


11. Frequently Asked Questions

1. Is the MyInvois Portal free to use?

Yes. LHDN’s e-Invoice FAQs say the MyInvois Portal is free of charge to all taxpayers. You log in through MyTax and create e-invoices one by one or by Excel batch upload. The only cost is staff time.

2. Do I need a digital certificate to use the MyInvois Portal?

No, not for normal Portal entry. The MyInvois SDK FAQ says an organisation digital certificate is required for API submission. Buy it from a certification authority on MCMC’s licensee list, in the company’s name.

3. Can a custom website connect directly to LHDN’s MyInvois system?

Yes. LHDN allows direct integration with the MyInvois API, or a connection through Peppol or non-Peppol technology providers. The website is registered as an ERP system to get a client ID and secret, then tested in the sandbox before going live.

4. Is my business exempt from e-invoicing in 2026?

From 1 September 2026, businesses with annual turnover below RM3 million are exempt under LHDN’s e-Invoice Guideline Version 4.8, unless a corporate shareholder, holding or related company reaches RM3 million. Confirm your position with a licensed tax agent.

5. When should a website switch from the MyInvois Portal to the API?

Switch when manual entry becomes a recurring job: many individual e-invoice requests, regular orders above RM10,000, subscriptions or a B2B ordering portal. With the phase 4 relaxation ending on 31 December 2027, many SMEs plan the switch during 2027.

Ready to make your website e-invoice-ready?

Book a free consultation. We will review how your website takes orders and buyer details, then recommend the Portal, your accounting software or an API connection, with a clear scope and budget.

Book my free consultation →

Table of Contents

Table of Contents

Get A Free Proposal

Complete the form and our team will contact you to discuss your goals. Let’s grow your business.