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.
Generate your Client ID & Secret
- 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.
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.
- Under Pilihan Peranan, make sure to select your organization then click on 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.
- Scroll to the bottom of the Taxpayer Profile page to the Representatives section and select the ERP tab.
- Click on the Register ERP button.
- 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)
- make sure the Primary ERP System boxed is ticked
click the Register button.
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.
WARNING: 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
- In your Zoho Books, go to Settings>Marketplace under the Integrations and Marketplace section
- Search for eInvoice Malaysia for Zoho Books
- You may purchase or start a free trial from here
Choosing your plan
- Click on the plugin to visit the eInvoice Plugin page, there are two options:
- Click on Start free trial to begin the 15 day free trial
- Click on Buy Now to purchase the plugin directly.
- A new tab will open.
- select your organization and review the terms and conditions.
- tick agree and press Continue
- click on Install extension to install the plugin.
Installing the plugin from the Zoho Marketplace
- Click Connect and Authorize the connection of the Plugin to your Zoho Books account
Fill in all applicable fields. Note, the fields in red with an "*" are mandatory.
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
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.
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):
Scheme ID: UN/ECE 5153
Scheme Agency ID: 6
Tax Name: OTH
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/
Input the Client ID and Client Secret you generated in the previous section.
Click Install Extension to begin the Plugin Installation
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:
In the Marketplace page, navigate to the "Installed Extensions" tab.
Click "View details" on the e-Invoice Malaysia plugin.
Click on the configure button on the top right.
Click save to complete.
Setup Organization Profile
- Go to Settings > Organization > Profile and enter your organization's Business Registration Number(BRN) from SSM in Company ID field and click Save
- 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
- Navigate to Settings > Preferences > General > Organization Address Format.
- Add the following lines to the bottom of the Organization Address Format
- ➤ BRN: ${ORGANIZATION.COMPANYID_VALUE}
- ➤ TIN: ${ORGANIZATION.COMPANYTAXID_VALUE}
Setting up QR code for Invoice & Credit Note
Invoice settings placeholders
Go to Settings > Sales > Invoices to access Invoice Settings
Toggle Enable on Invoice QR Code.
Select QR Code Type Custom.
click the Configure button.
In the pop-up select Insert Placeholders and select Public Link.
${invoice.cf__com_ghzmyw_public_link} should appear in the custom value field.
Click Update to close the pop- up
Save to save the settings.
Credit note placeholders
- Go to Settings > Sales > Credit Notes to access Credit Note Settings
- Toggle Enable on Credit Note QR Code.
- Select QR Code Type Custom.
- click the Configure button.
- 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.
- Click Update to close the pop- up
- Save to save the settings.
Enable QR in PDF templates
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.
Click on Other Details on the left
tick Show Invoice QR Code
Save.
- 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.
- Click on Other Details on the left
- tick Show Invoice QR Code
- Save.
Updating Customers and Vendors Address Formats
- Navigate to Settings > Preferences > General > Customers & Vendors.
- Add the following lines to the Billing Address field:
- TIN: ${contact.cf__com_qhzmyw_tin}
- ${contact.cf__com_qhzmyw_registration_number_scheme}: ${contact.cf__com_qhzmyw_registration_number}
- Add the following lines to the Shipping Address field:
- TIN: ${contact.cf__com_qhzmyw_tin}
- ${contact.cf__com_qhzmyw_registration_number_scheme}: ${contact.cf__com_qhzmyw_registration_number}
- 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 in Step 2: Updating Customer and Vendor databases