Skip to Content

PeppolSync feature

Error Diagnostics

The error diagnostics feature in PeppolSync uses its intelligence engine to provide immediate pre-submission validation against Peppol standards and LHDN rules, and if an invoice is rejected, it quickly returns the LHDN error codes and human-readable messages to pinpoint the exact data field issue for rapid correction and successful resubmission.

Book a Free DemoAll features

What it does

Validation details

Clearly displays all data inconsistencies identified during the pre-validation stage, highlighting the exact field errors within the transaction record before formal submission.

LHDN error messages

Captures the official LHDN MyInvois rejection codes and translates them into clear, actionable error messages, allowing users to quickly diagnose and fix the specific compliance issue.

Common reasons LHDN rejects e-invoices

The LHDN SDK FAQ lists recurring causes of rejection. PeppolSync's pre-validation and error messages are designed to surface these before or right after submission:

  • Invalid structure: usually caused by elements in the wrong sequence in the document.
  • TIN format: individual TINs use the IG prefix; for non-individual TINs, remove any zeros directly after the prefix; non-individual TINs always end with a zero.
  • Inactive or invalid codes: for example, the state code 00 is no longer valid for issuing e-invoices through the API or batch upload.
  • Several tax types on one line: these are expressed by repeating the TaxSubtotal element within the line item.

From error code to fix

When MyInvois marks a document Invalid, PeppolSync reads the official error and shows a plain-language explanation on the invoice, pointing to the field that needs correcting. Your team fixes it in the ERP and resubmits.

Frequently asked questions

Check the format: individual TINs now start with IG, and non-individual TINs should have no leading zeros after the prefix and always end with zero. You can also confirm a TIN through the MyTax portal or the Validate Taxpayer's TIN API.

According to the LHDN SDK, it usually means the elements in the document are in the wrong order. PeppolSync builds the document structure for you, so this is mainly a concern for hand-built integrations.

No. PeppolSync shows the error on the invoice inside your ERP.

Official sources: MyInvois SDK FAQ.

See how PeppolSync fits your ERP

Book a free demo and our team will walk you through LHDN e-Invoice submission with PeppolSync.