Back to LHDN setup

How to get your LHDN MyInvois credentials

Register an ERP system on the MyInvois portal to get your Client ID and Client Secret.

  1. 1

    Log in to MyTax portal

    Go to mytax.hasil.gov.my and log in. Then click MyInvois in the top navigation bar.

  2. 2

    Go to Representatives → ERP tab → Register ERP

    On the Taxpayer Profile page, scroll to the bottom to find the Representatives section. Select the ERP tab, then click Register ERP at the top right.

  3. 3

    Fill in ERP details and register

    Enter a name (e.g. My Shop System), choose a Client Secret expiration, then click Register.

  4. 4

    Copy your credentials immediately

    You will see your Client ID, Client Secret 1, and Client Secret 2. Copy them now. LHDN will not show them again. Use Client Secret 1 in envoice.my.

Important: Save both Client Secrets somewhere safe. If you lose them, you will need to regenerate and update your settings.