# Malaysia v2: MyInvois Portal registration

Sign in to LHDN's MyInvois Portal, switch to your company, apply for a role if needed and add an intermediary, for Malaysia API v2 (legacy).

> **Legacy API v2**
>
> This page documents API v2 for Malaysia, which is no longer developed. Start new integrations on the current API: see the [Unify API reference](https://docs.complyance.io/api-reference/unify/) and the [Malaysia guide](https://docs.complyance.io/countries/my/).

This guide walks you through registering in the MyInvois Portal, starting with the pre-production environment.

## Sign in and choose your company

### Step 1: Open the portal

Open the pre-production MyInvois Portal: <https://preprod-mytax.hasil.gov.my/>.

![MyInvois Portal sign-in page](https://cdn.prod.website-files.com/6595090b1c3579f5d318fc1b/66ea8a0deae7049845133829_Screenshot%202024-09-18%20at%201.14.02%E2%80%AFPM.png)

### Step 2: Select the ID type and enter your identification number

- On the sign-in page, choose **Identification Card No.** as the **ID type**.
- Enter your **identification number**.

### Step 3: Enter your password

- The password page opens.
- Enter your password to continue.

![MyInvois password page](https://cdn.prod.website-files.com/6595090b1c3579f5d318fc1b/66ea8dd9c0b9ec3cf8bf6b4d_Screenshot%202024-09-18%20at%201.41.43%E2%80%AFPM.png)

### Step 4: Select MyInvois and Preprod

- After you sign in, the home page opens.
- At the top, find **MyInvois**.
- Choose **Preprod** from the dropdown.

![MyInvois menu with the Preprod option](https://cdn.prod.website-files.com/6595090b1c3579f5d318fc1b/66ea9d1ec8d27f8066645a1e_Screenshot%202024-09-18%20at%202.06.08%E2%80%AFPM.png)

### Step 5: Switch taxpayer

- Open the profile icon in the top-right corner.

![Profile icon menu](https://cdn.prod.website-files.com/6595090b1c3579f5d318fc1b/66ebbfa48638757e1449bc1d_Screenshot%202024-09-18%20at%201.45.17%E2%80%AFPM.png)

- From the dropdown, select **Switch Taxpayer**.
- The **Switch Taxpayer** page opens.

![Switch Taxpayer page](https://cdn.prod.website-files.com/6595090b1c3579f5d318fc1b/66ea8f10cd599ffa7f71c5fc_Screenshot%202024-09-18%20at%201.47.35%E2%80%AFPM.png)

### Step 6: Choose your registered company

- On the **Switch Taxpayer** page, select your registered company from the list.
- Click **Switch** to go back to the MyInvois home page.

![Choosing the company name on the Switch Taxpayer page](https://cdn.prod.website-files.com/6595090b1c3579f5d318fc1b/66ea9da4d0647d05ebfdb518_Screenshot%202024-09-18%20at%201.49.02%E2%80%AFPM.png)

If your registered company is not on the **Switch Taxpayer** page, apply for a new role first, as described in the next section.

## Apply for a new role

If the company is not listed under the director’s account in the MyInvois Portal, apply for a new role.

### 1. Sign in to the MyInvois Portal

- Sign in as in steps 1 to 4 above.
- The home page opens.

![MyInvois home page](https://cdn.prod.website-files.com/6595090b1c3579f5d318fc1b/66ea90d5c0b9ec3cf8c33d26_Screenshot%202024-09-18%20at%202.03.44%E2%80%AFPM.png)

### 2. Open your profile

- Click **Profile** in the top-right corner.
- The profile page opens.

![MyInvois profile page](https://cdn.prod.website-files.com/6595090b1c3579f5d318fc1b/66eaa1ca88d3ca49f0324657_Screenshot%202024-09-18%20at%203.13.25%E2%80%AFPM.png)

### 3. Open the Role Application tab

- On the profile page, click the **Role Application** tab.

### 4. Select the application type and role

- Choose **New Application** as the **Type of Application**.
- Select **Director of the Company** or **Organization Administrator** as the **Type of Role**.

![Role application form](https://cdn.prod.website-files.com/6595090b1c3579f5d318fc1b/66eaa23f1a617c864e697893_Screenshot%202024-09-18%20at%203.18.39%E2%80%AFPM.png)

### 5. Add the company TIN and supporting documents

- Enter the registered company’s **TIN**.
- Upload the supporting document for company registration, such as **Section 58**. The file must be smaller than **2 MB**.

### 6. Submit the application

- Tick the confirmation box.
- Click **Submit**.

Your application is reviewed, and you are notified when the role is assigned. If you have problems with the role application, contact your support team.

## Add an intermediary

### Step 7: View the taxpayer profile

- Open the profile icon in the top-right corner again.

![Profile menu with View Taxpayer Profile](https://cdn.prod.website-files.com/6595090b1c3579f5d318fc1b/66ebc088505c04d35530e5c8_66eaa4718eb3db409d7b5980_Screenshot%202024-09-18%20at%203.27.00%E2%80%AFPM.png)

- Click **View Taxpayer Profile**.
- The **Taxpayer Profile** page opens.

![Taxpayer Profile page](https://cdn.prod.website-files.com/6595090b1c3579f5d318fc1b/66eaa5464103d1c1009877fa_Screenshot%202024-09-18%20at%203.30.42%E2%80%AFPM.png)

### Step 8: Add an intermediary

- Scroll down to the **Representatives** section.
- Click **Add Intermediary**.

![Representatives section with Add Intermediary](https://cdn.prod.website-files.com/6595090b1c3579f5d318fc1b/66eaa5c6e0fbdae83496eede_Screenshot%202024-09-18%20at%203.34.28%E2%80%AFPM.png)

### Step 9: Enter the Complyance details

- Enter the details your Complyance customer success manager (CSM) gave you.

![Add Intermediary form](https://cdn.prod.website-files.com/6595090b1c3579f5d318fc1b/66eaa6743ac4154135fb5be7_Screenshot%202024-09-18%20at%203.36.51%E2%80%AFPM.png)

### Step 10: Search and set the e-invoicing period

- Click **Search**.
- Set the **e-invoicing period** for Complyance to **1 year**.
- Click **Continue**.

![E-invoicing period for the intermediary](https://cdn.prod.website-files.com/6595090b1c3579f5d318fc1b/66eaa8a391fd0cc357b0d050_Screenshot%202024-09-18%20at%203.46.43%E2%80%AFPM.png)

The intermediary appears in the **Intermediaries** section.

### Step 11: Alternative: register an ERP

If you cannot set up the intermediary and the problem is not resolved in time, register an ERP instead:

- In the **Representatives** section, register the **ERP** as shown below.

![Registering an ERP in the Representatives section](https://cdn.prod.website-files.com/6595090b1c3579f5d318fc1b/66eaa93cdccdbe469174c73b_Screenshot%202024-09-18%20at%203.48.20%E2%80%AFPM.png)

### Step 12: Get the client ID and secret

- After you enter the required details, you receive a **Client ID** and **Client Secret**.
- The Complyance team uses these details.

### Step 13: Set up production

- Repeat the steps above in the production portal: <https://mytax.hasil.gov.my/>.
- If you have problems, contact your CSM.

For further help, visit the official MyInvois Portal or contact Complyance support at <support@complyance.io>.

Source: https://docs.complyance.io/legacy/v2/malaysia/onboarding-myinvois-portal/
