Skip to main content

How to Set Up Integration of Xero and LHDN (through Invoici)

Step-by-step guide to integrate Xero with LHDN’s MyInvois portal using Invoici. Learn setup, QR import, and validation testing.

Alfred Ang avatar
Written by Alfred Ang
Updated over 2 weeks ago

Introduction

To comply with Malaysia’s e-Invoicing requirements, your Xero account must be integrated with LHDN’s MyInvois portal. This is done through Invoici, a Peppol-certified access point that connects Xero directly with MyInvois.

This guide walks you through the steps to set up the integration so you can issue, submit, and validate e-Invoices seamlessly.

What is Invoici?

Invoici is a Peppol-certified service provider that acts as the bridge between Xero and LHDN’s MyInvois portal.

  • It enables automatic transmission of e-Invoices from Xero to MyInvois.

  • Generates a Peppol ID for your business to identify transactions.

  • Creates dedicated contacts and classification tracking in Xero for compliance.

  • Ensures your invoices are validated in real-time without manual uploading.

👉 In short: Xero creates the invoice, Invoici submits it, and LHDN validates it.

Why Integration Matters

  • Ensures all e-Invoices created in Xero are automatically submitted to LHDN.

  • Reduces manual work and human error.

  • Provides real-time validation feedback from the MyInvois portal.

  • Keeps your business compliant with Malaysia’s e-Invoicing deadlines.

Steps to Set Up Xero ↔ LHDN Integration via Invoici

Step 1: Register on MyInvois Portal

  • Go to MyInvois Portal -> Ensure Role Selection is correct -> Click on MyInvois

  • Complete your e-invoicing registration with LHDN and ensure you have selected the right Taxpayer Profile.

  • Add Xero as Intermediary

  • You may use the following details to proceed:

    • TIN: C59738971030

    • BRN: 202401051638

    • Name: XERO SOFTWARE (MALAYSIA) SDN. BHD.

  • Chose the date range as below -> Select ALL of permissions -> Click on Add Intermediary

  • Ensure XERO SOFTWARE (MALAYSIA) SDN. BHD. status is Active.

Step 2: Setup Invoici and Connect to MyInvois Portal Import QR Code from MyInvois

  • Click on Connect to Xero

  • Select your Xero Account

  • Click on Allow Access

  • Upload this QR code into Invoici’s setup screen to link your identity (QR Code can be downloaded from MyInvois Portal) OR fill up manually as below:

    • Ensure all necessary details about your business are updated in Xero, such as your business name, Tax Identification Number (TIN Number), Business Registration Number (BRN) . This is important for correct invoicing and reporting.

  • Click on Submit.

  • Invoici will generate a Peppol ID for your company as below.

Step 4: Verify Automatic Setup in Xero

Once integration is successful, Xero will automatically:

  • Create the MyInvois Classification Code tracking category (with 45 predefined codes).

  • Generate dedicated contacts such as (Upon creation of first consolidated e-invoice and consolidated self-billed e-invoice):

    • consolidated@invoi.ci → for consolidated invoices

    • selfbilled@invoi.ci → for self-billed invoices

👉 These contacts ensure the correct routing of invoices to MyInvois.

Common Issues During Setup

❌ Wrong QR code uploaded → always download from the correct MyInvois portal.
❌ Missing TIN/BRN in company profile → ensure details are updated in Xero.
❌ Not mapping classification codes → invoices may be rejected without them.

FAQs

Q: Do I need a Peppol ID to integrate Xero and MyInvois?
A: Yes, Invoici generates this automatically when you connect.

Q: Can I use the same integration for multiple entities?
A: No, each registered entity with LHDN must have its own Xero ↔ Invoici integration.

Q: Is the integration free?
A: Yes it is, Xero subscription already included the integration fees.

How to De-Register or Disconnect Invoici

Sometimes, you may need to disconnect (e.g., if your company changes service providers or stops using Xero for e-Invoicing).

Steps to Disconnect Invoici from Xero

  1. In Xero, go to Settings → Connected Apps.

  2. Find Invoici in the list.

  3. Click Disconnect App.

  4. Confirm the disconnection.

Steps to De-Register Invoici from MyInvois Portal

  1. Log in to your MyInvois portal.

  2. Navigate to Service Provider Management.

  3. Select Invoici as your access point.

  4. Click De-register / Remove Access Point.

  5. Confirm with LHDN (some cases may require support ticket submission).

⚠️ Important:

  • De-registering Invoici means you will no longer be able to submit e-Invoices from Xero automatically.

  • You must either switch to another access point provider or use the MyInvois portal manually.

Conclusion

Integrating Xero with LHDN’s MyInvois portal via Invoici ensures smooth e-Invoicing compliance in Malaysia. Once connected, your invoices will automatically sync, validate, and store correctly, saving time and reducing compliance risks.

Did this answer your question?