Skip to main content
Skip to main content

Malaysian Tax ID (TIN) Validator

Validate the authenticity, format, and checksum of Malaysian Tax ID (TIN).

About Malaysian Tax ID (TIN) Validation

The Malaysian Tax Identification Number (TIN) is assigned by the Inland Revenue Board (LHDN) to identify individual and corporate taxpayers. In the MyInvois framework, the TIN is mandatory on all fiscal transactions.

The Malaysian TIN comprises a tax category prefix followed by 10 to 12 numerical digits. Primary prefixes include: `C` (Companies), `OG` (Individuals with business income), `PT` (Partnerships), and `LE` (Employers).

Anatomy & Structure of TIN — Malaysia

The Malaysian Tax Identification Number consists of a letter prefix and digits:

PositionFieldLengthMeaning & RuleExample
1 & 2Taxpayer Type Prefix1–2 lettersSG=Employee, OG=Self-employed, C=Company, PT=Partnership, CS=LLPC
RemainingSequential Tax Number10–11 digitsUnique tax identification number issued by LHDN12345678901

Structural Validation of TIN (LHDNM Act 53)

Validation rules for Malaysian TIN:

Official prefix (SG, OG, C, PT, TC, TP, F, CS) + 10 to 11 numeric digits
  1. 1. Validate letter prefix against official LHDN table.
  2. 2. Check matching length according to prefix type.
  3. 3. Confirm all following characters are numeric digits.

Frequently Asked Questions & Technical Guidelines