Changing Plugin from PreProd to LIVE environments

Changing Plugin from PreProd to LIVE environments

The assigning company representatives must be completed by the registered business owner.
AlertDisclaimer: These instructions are subject to change based on updates or modifications made by LHDN.

Collect data from LIVE MyTax Portal 

Complete tutorial video: 


Login to LIVE MyTax Portal

Once registered, you can access the portal using the following steps:

  1. Click on the "Please choose ID Type" field and select "Identification Card No."
  2. Fill In Your New Identity Number in (NRIC)
  3. Click Submit 

Role Selection for Directors and Representatives

After logging in, you may need to specify your role:

  1. On the main page, under Role Selection click "Individual" 
  2. A popup will appear listing the roles that apply to the user. Select Directors of the Company.
  3. Then select the company name this sandbox registration is for. 
  4. The portal will display the page according to role selected.
  5. Navigate to the "MyInvois" tab. 

In the following page, clicking on the profile picture and "view taxpayer profile".

You should enter a page with your organization's TIN, BRN, MSIC code and other details. 


Assign Representative (Pentadbir) in MyTax Portal


(FOR ORGANIZATION OWNERS ONLY)


Navigate to the user profile (top right icon)
  1. Click on "pelantikan wakil" 
  2. Select from the first dropdown "no. kad pengenalan"
  3. Fill in employee I.C. in the second field. 
    1. When I.C. is complete and correct, Employee details will appear underneath, for double checking. 
  4. Click "Hantar" 
  5. Enter password and "tandatangan" to proceed 
Once the Employee is recognized, they will be listed in the table at the bottom of the page, 
  1. Click "aktif" to activate authorization. 
  2. Click "OK" on the popup window to confirm. 
To remove a representative, simply click the "batal" button on the right side of their row, and they will be removed. 


Generate Client Secrets and IDs 

  1. Login to your MyTax to your MyTax account.
    1. WarningPlease make sure to login to the LIVE (https://mytax.hasil.gov.my) MyTax and MyInvois environments to generate the Client ID and Client Secret
      if you are intending to use the PROD eInvoice plugin environment. Live LHDN Secrets and IDs will not function with SANDBOX Plugin environment and vice versa.
  2. Under Pilihan Peranan, make sure to select your organization then click on MyInvois.
  3. Click on your profile picture on the top right.
    1. In the drop down, ensure your organization is selected and click on View Taxpayer Profile.
  4. Scroll to the bottom of the Taxpayer Profile page to the Representatives section and select the ERP tab.
  5. Click on the Register ERP button. 
  6. In the pop-up, fill in
    1. the ERP Name (eg: Zoho Books, Zoho Books HQ, Zoho Books Subsidiary A etc.)
    2. select the Client Secret expiration (duration the Client Secret is valid for. Once duration is up e.g. 1 year, you need to generate a new Client Secret)
    3. make sure the Primary ERP System boxed is ticked
    4. click the Register button.
  7. A new pop-up will open with the Client ID, Client Secret 1 and Client Secret 2 (either of Client Secrets can be used for the eInvoice).
    Please make sure to copy all 3 lines and store them somewhere safe.
WarningWARNING: Once you click Done, you will not be able to retrieve the Client Secret if you lose it and will have to re-register the ERP.

Changing environments in the eInvoice Plugin

  1. Navigate to the eInvoice Plugin under
    1. Settings > Integrations & Marketplace > Marketplace >  Installed Extensions > eInvoice plugin > View Details > Configure
  2. Under Environment ( PROD / SANDBOX ), 

    1. Change the environment from SANDBOX to PROD 

  3. Under Client Secret and Client ID 

    1. Paste the New Client ID and ONE of the new Client Secrets in the corresponding fields 

  4. Save configuration