Skip to content

Classification Codes

Reference data for LHDN e-invoicing classification codes, unit types, and tax types.

Product Classifications

Product classification codes identify the type of goods or services. Use GET /classifications for the complete list.

Common Classifications

CodeDescription
001Goods - General
002Services - General
003Food & Beverages
004Electronics
005Clothing & Apparel
006Automotive
007Real Estate
008Healthcare
009Education
010Financial Services
011Construction
012Manufacturing
013Agriculture
014Mining & Quarrying
015Utilities
016Transportation
017Tourism & Hospitality
018Professional Services
019IT & Software
020Media & Entertainment
021Telecommunications
022Digital Products

Unit Types

Unit of measurement codes for invoice line items. Use GET /unit-types for the complete list.

Common Units

CodeNameDescription
H87PieceIndividual item
MONMonthMonthly period
DAYDayDaily period
HURHourHourly rate
MINMinutePer minute
SECSecondPer second
KGMKilogramWeight
GRMGramWeight
MTRMetreLength
CMTCentimetreLength
MTKSquare MetreArea
LTRLitreVolume
MLTMillilitreVolume
MTQCubic MetreVolume
SETSetGroup of items
PRPairTwo items
DZNDozen12 items
BOXBoxContainer
PCEPieceSame as H87
C62OneGeneric unit

Tax Types

Tax type codes for invoice line taxes. Use GET /tax-types for the complete list.

Tax Codes

CodeNameRateDescription
01Sales Tax5-10%Standard sales tax
02Service Tax6-8%Service tax
03Tourism Tax10RM/nightTourism levy
04High-Value Tax5-10%Luxury goods
05Sales Tax (Petroleum)VariesPetroleum products
06Not Applicable0%No tax applicable
ETax Exempt0%Exempt from tax

Zero Rate vs Exempt

TypeCodeDescription
Zero Rate06 with taxRate: 0Tax applies at 0%
ExemptENo tax applies

ID Types

Identification types for buyers and sellers. Use GET /id-types for the complete list.

CodeNameDescription
BRNBusiness RegistrationSSM registration number
NRICNational IDMyKad number
PASSPORTPassportPassport number
ARMYMilitary IDArmy ID number

Payment Modes

Payment method codes. Use GET /payment-modes for the complete list.

CodeName
01Cash
02Cheque
03Bank Transfer
04Credit Card
05Debit Card
06E-Wallet
07Other

Currency Codes

ISO 4217 currency codes. Use GET /currencies for the complete list.

Common Currencies

CodeName
MYRMalaysian Ringgit
USDUS Dollar
EUREuro
GBPBritish Pound
SGDSingapore Dollar
JPYJapanese Yen
CNYChinese Yuan
AUDAustralian Dollar
INRIndian Rupee
THBThai Baht

Fetching Reference Data

All reference data is available via API:

javascript
// Get all classifications
const classifications = await api('GET', '/classifications');

// Get all unit types
const units = await api('GET', '/unit-types');

// Get all tax types
const taxes = await api('GET', '/tax-types');

// Get all countries
const countries = await api('GET', '/countries');

// Get all states
const states = await api('GET', '/states');
python
# Get all classifications
classifications = api('GET', '/classifications')

# Get all unit types
units = api('GET', '/unit-types')

# Get all tax types
taxes = api('GET', '/tax-types')

# Get all countries
countries = api('GET', '/countries')

# Get all states
states = api('GET', '/states')
php
// Get all classifications
$classifications = $api->get('/classifications');

// Get all unit types
$units = $api->get('/unit-types');

// Get all tax types
$taxes = $api->get('/tax-types');

// Get all countries
$countries = $api->get('/countries');

// Get all states
$states = $api->get('/states');

Response Format

All reference endpoints return the same format:

json
{
  "success": true,
  "data": [
    {
      "code": "001",
      "name": "Goods - General"
    },
    {
      "code": "002",
      "name": "Services - General"
    }
  ]
}

InvoisX - Malaysia's Leading e-Invoice Platform