Skip to main content
Skip to main content

Malaysian e-Invoicing UUID (LHDN) Validator

Validate the authenticity, format, and checksum of Malaysian e-Invoicing UUID (LHDN).

About Malaysian e-Invoicing UUID (LHDN) Validation

Malaysia's e-Invoicing mandate is administered by the Inland Revenue Board of Malaysia (LHDN) via the MyInvois portal under Section 82 of the Income Tax Act 1967. The phased mandate spans 2024 to 2026 across B2B, B2C, and B2G operations.

Each invoice submitted to LHDN APIs requires a Universally Unique Identifier (UUID v4 in `8-4-4-4-12` hex format) and a SHA-256 cryptographic digest computed over the canonical UBL 2.1 XML / JSON payload for timestamping and non-repudiation.

Anatomy & Structure of e-Invoicing (MyInvois) — Malaysia

The Malaysian e-Invoicing model combines tax and corporate identification:

PositionFieldLengthMeaning & RuleExample
Part 1Supplier/Buyer TIN11–13 charsOfficial Tax Identification Number issued by LHDNC12345678901
Part 2Entity BRN / NRIC12 digitsSSM corporate registration number or MyKad civil ID202301012345

MyInvois Cross-Validation (LHDN 2024)

Compliance rules for Malaysian e-Invoicing:

Validation of TIN (LHDN prefix) + Validation of BRN (12-digit SSM)
  1. 1. Validate integrity of the Tax Identification Number (TIN).
  2. 2. Validate the 12-digit Business Registration Number (BRN).
  3. 3. Verify consistency between taxpayer category and registration.

Frequently Asked Questions & Technical Guidelines