Skip to main content

How to Validate an E-Invoice using Xero Malaysia?

Learn how to validate e-Invoices in Xero Malaysia. Step-by-step guide on checking validation status, fixing errors, and ensuring LHDN MyInvois compliance.

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

Introduction

Once you’ve issued an e-Invoice in Xero Malaysia, it must go through validation with the LHDN MyInvois portal.


Validation confirms that your invoice meets the format, data, and compliance standards required by LHDN before it’s officially recognized as a valid tax document.

This guide explains how validation works through Invoici (the Xero-MyInvois integration), how to interpret invoice statuses, and what to do if validation fails.


6 Steps to Understand everything about validating an E-Invoice using Xero Malaysia


Step 1: Issue and Submit the E-Invoice

  • Create your invoice in Xero as usual.

  • Make sure all mandatory fields are complete:

    • Supplier and buyer TIN/BRN in respective Contact

    • MyInvois classification code

    • Invoice Number, Invoice date and currency

  • Click Approve.

  • Email the invoice to myinvois@invoi.ci, where the invoice will be sent to LHDN for validation through Invoici.

💡 Tip: Ensure your company is already integrated with MyInvois. If not, follow our setup guide: How to Set Up Integration of Xero and LHDN (through Invoici).

Step 2: Understand Validation Statuses

After submission, each invoice in Xero will display a validation status showing its progress:

Status

Meaning

What You Should Do

Validated / Approved

Invoice accepted by LHDN.

No further action needed. The validated copy is stored under Files → LHDN Validated E-Invoices.

Pending

Submitted but not yet processed by LHDN.

Wait a few minutes; refresh the invoice page later.

Rejected

Validation failed due to errors (e.g., missing TIN, wrong code).

Check the error details, fix the invoice, and resubmit.

Step 3: Review Validation Details in Xero

To view validation details:

  1. Open the specific invoice in Xero.

  2. Scroll to the bottom and check History and Notes — you’ll see the submission and response log from MyInvois.

  3. If rejected, note the error message (e.g., “Invalid buyer TIN” or “Classification code missing”).

This information helps you identify exactly what needs to be corrected before resubmitting.

Step 4: Fix Common Validation Errors

If your e-Invoice is rejected, here are the most common reasons and solutions:

Issue

Cause

Solution

Missing or invalid TIN/BRN

Customer record not updated.

Edit contact details in Xero with correct TIN/BRN.

Incorrect MyInvois classification code

MyInvois classification code is not mapped in invoice line item.

Assign the proper code in your line item in invoice.

Duplicate invoice number

Same invoice number submitted twice.

  • Check if needed to resubmit due to duplicate invoice number

  • If required to resubmit, change the invoice reference and resubmit.

Step 5: Access the Validated E-Invoice Copy

Once LHDN approves your e-Invoice:

  • The validated version (with QR code and validation URL) is automatically saved in Xero in specific transaction.

  • You may also attach this validated document when sending invoices to customers.

Step 6: Track Validation Performance (Optional)

For businesses handling multiple invoices daily, consider:

  • Creating a tracking category in Xero (e.g., “Invoice Validation Status”).

  • Generating reports to monitor validation turnaround time and rejection rates.

This helps identify recurring issues and improve your internal processes.


Best Practices for E-Invoice Validation in Malaysia

  1. Always verify your TIN/BRN details before submitting.

  2. Ensure each line item has a valid MyInvois classification code.

  3. Submit invoices in real time to avoid backlogs near compliance deadlines.

  4. Regularly check for updates from LHDN or MyInvois on new validation rules.

  5. Keep validated copies safely for audit and tax submission purposes.


Frequently Asked Questions (FAQs) about How to Validate an E-Invoice using Xero Malaysia

Q1: How long does validation take?
Usually within a few minutes. During high traffic (e.g., month-end), it may take longer for LHDN to process.

Q2: Can I issue an e-Invoice without validation?
No. Every e-Invoice must be validated by LHDN to be considered legally accepted.

Q3: What happens if I edit an already validated invoice?
Any changes require you to cancel and reissue a new e-Invoice — edits cannot be made after validation.

Q4: How do I know my invoice was validated successfully?
You’ll see a “Validated / Approved” status in Xero, and a copy will appear under Files → LHDN Validated E-Invoices.

Q5: What should I do if the validation keeps failing?
Check for missing or wrong TIN, classification code, or format. If the issue persists, contact Invoici Support or your Xero advisor for technical review.

Did this answer your question?