Back to Blog
Digital Transformation

How to Get Started on MyInvois: MyTax Login, ERP Client ID, Intermediaries and Sandbox

20 June 2026Updated 20 October 20268 min readBy Jia Yun

If your business is in scope for Malaysia’s e-Invoice mandate, the first practical question is usually "how do we register for MyInvois?" The answer surprises people: there is no separate registration step. MyInvois is reached through LHDN’s MyTax portal, and what you can do there follows the roles you hold in MyTax. The real work is not signing up. It is getting the right people the right role, and connecting the system you already invoice from.

A quick check on scope first. Since 1 September 2026, businesses with annual turnover or revenue below RM 3 million are exempt unless a group condition applies. Phase 4 — in practice RM 3 million to RM 5 million — has been mandated since 1 January 2026, with a relaxation period to 31 December 2027. Under RM 3 million? Check whether you are exempt before you start.

Step 1: sign in through MyTax, with the right role

MyInvois is not a separate account. You log in to MyTax (mytax.hasil.gov.my) with your own NRIC or passport number, and open MyInvois from there.

What you see depends on your role. To act for a business you need one of these, applied for and approved in MyTax:

  • Business Owner — for a sole proprietorship
  • Company Director / Organisation Administrator — for a company, partnership, co-operative or other organisation
  • A representative appointed by one of the above, with only the permissions they choose to grant

If you do not have a MyTax account yet, activate one first, then apply for the role. Make sure the business details LHDN holds are up to date before you do — outdated records are the usual reason this step stalls. And if a previous director still holds the Company Director / Organisation Administrator role, they have to end it before a new one can apply.

Step 2: switch to the company profile

Once the role is active, open MyInvois, click the profile icon at the top right and choose Switch Taxpayer. Pick the business or company profile your role covers. The first time you open it, you may be asked to activate the profile.

Check what is there: legal name, TIN, address, MSIC code and contact details. These come from LHDN’s records and appear on every e-Invoice you issue, so a mistake here repeats on every document.

Step 3: decide how invoices will reach MyInvois

There are three realistic routes, and you can mix them:

  • The MyInvois Portal itself. Free, and you key each e-Invoice in by hand. Workable for a handful a month; painful beyond that.
  • Your own POS, ERP or accounting system, connected through the API. Invoices go out from the system you already use, with no retyping.
  • An intermediary. A service provider — often your accounting software vendor or an integration partner — submits on your behalf through its own system.

For most SMEs issuing more than a few invoices a month, one of the last two is the practical answer, and you almost certainly do not need to replace the system you have. We explain what that involves in MyInvois integration when you already have a POS or ERP.

Step 4: register your ERP, or add an intermediary

This is the step people usually mean when they say "registering for the API".

If your own system will connect directly, open the taxpayer profile, go to the Representatives section and choose Register ERP. MyInvois issues a Client ID and Client Secret for that system, which your developer uses to log in to the MyInvois API. There is no limit on how many ERP systems you register, and you can regenerate the Client ID and Secret from the same place if they are ever exposed. Treat the secret like a password: it lets that system submit e-Invoices in your company’s name.

If an intermediary will submit for you, add them as an intermediary in the same Representatives section and set what they are allowed to do. Their system logs in with its own credentials and states which taxpayer it is acting for, so you never hand over your own Client Secret. You can restrict or switch off an intermediary’s access later from your profile.

Permissions matter either way. A representative or intermediary can be allowed to submit, cancel or reject documents, or to manage other representatives. Give each one what it needs and nothing more.

Step 5: prove it in the sandbox

LHDN runs a separate testing (sandbox) environment, reached through preprod-mytax.hasil.gov.my, alongside the live one. Nothing sent there is stored in LHDN’s production records. Roles are applied for separately for the sandbox and for production, so set up both.

Before a single live e-Invoice goes out, use the sandbox to prove:

  • that a normal invoice validates;
  • that a deliberately bad one is rejected, and that the rejection reaches a person on your side;
  • that credit notes, debit notes and refund notes behave;
  • that consolidated e-Invoices work, if you sell over the counter.

Step 6: go live, and decide who watches rejections

Switch to the production credentials and start with a small batch you are watching. Then make one thing explicit: who sees a rejected e-Invoice, where, and how soon. LHDN returns a reason — a mismatched TIN, a missing classification code, a wrong date format — and an integration that only writes it to a log lets problems pile up unseen.

Going live does not mean every sale has to pass through MyInvois before the customer gets a receipt. Retail and F&B counter sales to customers who do not ask for an e-Invoice can go on a monthly consolidated e-Invoice, submitted within seven days after the month ends. Individual e-Invoices are for buyers who ask for one, for B2B sales, and for any single transaction above RM 10,000.

Common hold-ups

  • The role is not approved yet, or still sits with a director who has left.
  • Buyer TINs are missing from your customer records. Start collecting them now; it needs no software.
  • Classification codes have not been mapped to what you sell.
  • Your vendor’s "MyInvois support" is not live yet. Ask whether it is live, in development or not planned.

Where the facts come from

This guide follows LHDN’s MyInvois Portal FAQs and the MyInvois SDK documentation, and reflects publicly available information as of 20 October 2026. Screens and menu names change, so confirm the current steps at myinvois.hasil.gov.my or with LHDN. For the bigger picture — phases, the relaxation period and what we connect — see our e-Invoice / MyInvois page.

Getting connected

Take a free digital checkup → — tell us how you work today and we will tell you what would actually need to change, and roughly what it involves. No sales pressure. If you would rather just ask, message us on WhatsApp.

Questions people ask

Is there a separate MyInvois registration?

No. You sign in to MyInvois through MyTax with your own login, and a business's profile appears once you hold the right role for it: Business Owner for a sole proprietorship, Company Director / Organisation Administrator for a company or organisation, or a representative one of them appoints. You then use Switch Taxpayer to open that profile.

How do I get a MyInvois Client ID and Client Secret?

In the MyInvois portal, open the taxpayer profile, go to the Representatives section and register your ERP or POS system. MyInvois issues a Client ID and Client Secret for it, which your developer uses to log in to the API. You can regenerate them from the same screen.

What is a MyInvois intermediary?

A service provider, such as an accounting software vendor or an integration partner, that submits e-Invoices on your behalf through its own system. You add it in your taxpayer profile and choose its permissions, so you do not have to share your own credentials.

Do I need MyInvois if my turnover is under RM 3 million?

Not since 1 September 2026, unless your business has a non-individual shareholder, holding company, related company or joint venture with turnover of RM 3 million or more. If you already started issuing and meet the exemption criteria, LHDN says you may stop immediately without applying. You can also issue e-Invoices voluntarily.

What is the MyInvois sandbox?

LHDN's testing environment, separate from production and reached through preprod-mytax.hasil.gov.my. Data sent there is not stored in LHDN's production records. Roles are applied for separately for the sandbox and for production, and it is where you prove validations, rejections and consolidated invoices before going live.

How long does it take to get started on MyInvois?

Signing in is quick once your MyTax role is approved and LHDN's records are up to date. The time goes into integration: mapping fields and classification codes, collecting buyer TINs and testing in the sandbox usually takes weeks, not days, so start before you need it.

Not Sure Where to Start? Get a Free Digital Checkup.

Tell us about your business in 5 minutes. We’ll identify your biggest digitalisation gaps — e-Invoice compliance, lead generation, operations — and suggest the right next step. No sales pressure.