Step 1: Installation and Organization Setup

Step 1: Installation and Organization Setup


Introduction

Welcome to the eInvoice Malaysia Plugin for Zoho Books, developed by Ooroboros Sdn Bhd. This guide will walk you through the installation, setup, and usage of the plugin to ensure you maximize its benefits and maintain compliance with Malaysia's Tax Authority, LHDN.


[10 minutes read time]


Generate your Client ID & Secret

  1. Login to your MyTax to your MyTax account. If you do not have this access, please refer to the Pre-requisite Guide before you proceed further. Note: Please make sure to login to the pre production (https://preprod-mytax.hasil.gov.my/) MyTax and MyInvois environments to generate the Client ID and Client Secret if you are still testing the eInvoice plugin. This way all pushed documents will go to the test LHDN environment.
  2. Under Pilihan Peranan, make sure to select your organization then click on MyInvois.
  3. In MyInvois, click on your profile picture on the top right. 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. Click on the Register ERP button. 
  5. In the pop-up, fill in the ERP Name (eg: Zoho Books, Zoho Books HQ, Zoho Books Subsidiary A etc.), 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) and make sure the Primary ERP System boxed is ticked before you click the Register button.
  6. 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.

            Note: 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.

          Finding the plugin from the Zoho Marketplace

  1. In your Zoho Books, go to Settings>Marketplace under the Integrations and Marketplace section
  2. Search for eInvoice Malaysia for Zoho Books
  3. Click on Settings and Navigate to the Marketplace section
  4. Search for "e-Invoice Malaysia" Plugin


     Installing the plugin from the Zoho Marketplace

  1. Click on the plugin to visit the eInvoice Plugin page
  2. Click on Start free trial to begin the 15 day free trial or Buy Now to purchase the plugin directly. 
  3. A new tab will open, select your organization and review the terms and conditions. Once you have reviewed the terms and conditions, tick agree and press Continue and click on Install extension to install the plugin. 
  4. Click Connect and Authorize the connection of the Plugin to your Zoho Books account
  5. Fill in all applicable fields. Note, the fields in red with an "*" are mandatory.

    1. Under Environment ( PROD / SANDBOX ), input SANDBOX for Zoho books to connect to the Test environment of the LHDN MyInvois website. Please ensure to connect to the test environment if you plan to do any testing so that the e-Invoices from Zoho are not submitted as actual live documents in MyInvois. Input PROD for Zoho books to connect to the Live environment

    2. For Individuals, ensure to input the National Registration Identity Card (NRIC) field and for Businesses, please ensure to input the SSM Business Registration Number (BRN) field.

    3. For Tax-Exempt Organizations or if you have tax-exempt items, please complete the following fields with the specified values (If not applicable, please input NA for the same fields):

      1. Scheme IDUN/ECE 5153

      2. Scheme Agency ID6

      3. Tax NameOTH

    4. Please input the Malaysia Standard Industrial Classification (MSIC) Code relevant to your organization. You may refer to the codes in this link: https://sdk.myinvois.hasil.gov.my/codes/msic-codes/

    5. Input the Client ID and Client Secret you generated in the previous section.

  6. Click Install Extension to begin the Plugin Installation

  7. Wait for the loading to finish and you will now be able to see the Plugin installed in the Installed Extensions tab of your Zoho Marketplace


Note: To change any of the input configuration fields please follow the following steps:
  1. In the Marketplace page, navigate to the "Installed Extensions" tab.

  2. Click "View details" on the e-Invoice Malaysia plugin.

  1. Click on the configure button on the top right.

  2. Click save to complete.



           Setup Organization Profile

  1. Go to Settings > Organization > Profile and enter your organization's Business Registration Number(BRN) from SSM in Company ID field and click Save
  2. Go to  Settings > Taxes & Compliance > Taxes > Tax Settings and enter your organization's Tax Identification Number (TIN) from LHDN in the TIN field and click Save
  3. Navigate to Settings > Preferences > General > Organization Address Format.
  4. Add the following lines to the bottom of the Organization Address Format
    1. ➤ BRN: ${ORGANIZATION.COMPANYID_VALUE}
    2. ➤ TIN: ${ORGANIZATION.COMPANYTAXID_VALUE}
            

       Setting up QR code for Invoice & Credit Note

  1. Go to Settings > Sales > Invoices to access Invoice Settings

  2. Toggle Enable on Invoice QR Code. Select QR Code Type Custom. Then click the Configure button.

  3. In the pop-up select Insert Placeholders and select Public Link. The value ${invoice.cf__com_ghzmyw_public_link} should appear in the custom value field. 

  4. Click Update to close the pop- up and then click Save to save the settings.

  5. Go to Settings > Sales > Credit Notes to access Credit Note Settings

  6. Toggle Enable on Credit Note QR Code. Select QR Code Type Custom. Then click the Configure button.

  7. In the pop-up select Insert Placeholders and select Public Link. The value ${invoice.cf__com_ghzmyw_public_link} should appear in the custom value field. 

  8. Click Update to close the pop- up and then click Save to save the settings.

  9. Go to Settings > Customization > PDF Templates >Invoices. Click Edit on the Invoice PDF template actively used by your organization to open the Invoice Document Formatting.

  10. Click on Other Details on the left and tick Show Invoice QR Code and then click Save.

  11. Go to Settings > Customization > PDF Templates >Credit Note. Click Edit on the Invoice PDF template actively used by your organization to open the Invoice Document Formatting.

  12. Click on Other Details on the left and tick Show Invoice QR Code and then click Save.


Updating Customers and Vendors Address Formats      

  1. Navigate to Settings > Preferences > General > Customers & Vendors.
  2. Add the following lines to the Billing Addressfield:
    1. TIN: ${contact.cf__com_qhzmyw_tin} | ${contact.cf__com_qhzmyw_registration_number_scheme}: ${contact.cf__com_qhzmyw_registration_number}
  3. Add the following lines to the Shipping Address field:
    1. TIN: ${contact.cf__com_qhzmyw_tin} | ${contact.cf__com_qhzmyw_registration_number_scheme}: ${contact.cf__com_qhzmyw_registration_number}
  4. This ensures that the PDF version of documents (Invoice, Debit Note, Credit Note) includes the eInvoice information for both the Customers and the Vendors.


      Next - Step 2: Update Customer and Vendor Data

    • Related Articles

    • Best Practices for Collecting Customer Information for e-Invoicing Compliance

      As you implement the e-Invoice Plugin for Zoho Books, it is essential to establish a streamlined process for collecting accurate information from your own customers, vendors, and freelancers. This ensures full compliance with Malaysia’s e-Invoicing ...
    • When Must I Issue an e-Invoice in Malaysia Under MyInvois?

      Answer: If you're a Malaysian business or taxpayer under LHDN's MyInvois e-Invoice system, you are generally required to issue an e-Invoice for any transaction that has tax implications — whether for income (sales, services) or certain expenses ...
    • Can I Issue a Self-Billed e-Invoice? And What About Consolidated Ones?

      Introduction The official reference for industries prohibited from issuing consolidated self-billed e-Invoices is found in the: e-Invoice Specific Guideline (Version 4.1) – Section 3.6.5, Page 19 It states: "Kindly note that consolidation does not ...
    • When Can I Use a General TIN in Malaysia’s MyInvois e-Invoice System?

      Answer: General TINs are placeholder Tax Identification Numbers (TINs) issued by LHDN for use in very specific situations — they are not to be used by default. Using them incorrectly may result in rejected e-Invoices or audit issues. Approved General ...
    • Introduction and Welcome Note

      Beginner's Guide to E-Invoicing in Malaysia Introduction to E-Invoicing Hello there! If you're reading this, congratulations! You have taken the first step to implementing e-invoicing for your business. E-invoicing is a digital way of issuing and ...