Skip to content

Free tool · LHDN e-invoice

MyInvois code lookup

Every code list LHDN uses on an e-invoice, in one search: tax types, document types, payment methods, state codes, classification codes, units, currencies and countries. Type a code or a word, such as "17", "consolidated" or "kilogram".

Tax types

Goes in each line's tax category. A line taxed at 0% under an exemption uses E, with the exemption reason. 06 is for a supplier not registered for sales or service tax.

CodeMeaning
01Sales Tax
02Service Tax
03Tourism Tax
04High-Value Goods Tax
05Sales Tax on Low Value Goods
06Not Applicable
ETax exemption (where applicable)

e-Invoice types

The document type code. Credit, debit and refund notes (02, 03, 04, and 12 to 14 for self-billed) must name the original e-invoice's LHDN UUID. When you issue the e-invoice for your supplier, see our guide to self-billed e-invoices.

CodeMeaning
01Invoice
02Credit Note
03Debit Note
04Refund Note
11Self-billed Invoice
12Self-billed Credit Note
13Self-billed Debit Note
14Self-billed Refund Note

Payment methods

Optional on the e-invoice. Use 08 (Others) for a method not listed.

CodeMeaning
01Cash
02Cheque
03Bank Transfer
04Credit Card
05Debit Card
06e-Wallet / Digital Wallet
07Digital Bank
08Others

State codes

The state of each party's address. 17 (Not Applicable) is for a foreign address, and for the buyer on a consolidated e-invoice.

CodeMeaning
01Johor
02Kedah
03Kelantan
04Melaka
05Negeri Sembilan
06Pahang
07Pulau Pinang
08Perak
09Perlis
10Selangor
11Terengganu
12Sabah
13Sarawak
14Wilayah Persekutuan Kuala Lumpur
15Wilayah Persekutuan Labuan
16Wilayah Persekutuan Putrajaya
17Not Applicable

Classification codes

One per line. 004 is the code for a consolidated e-invoice: every line of one uses it. Several are for self-billed e-invoices: 009, 033 to 037 and 045 (see our guide to self-billed e-invoices).

CodeMeaning
001Breastfeeding equipment
002Child care centres and kindergartens fees
003Computer, smartphone or tablet
004Consolidated e-Invoice
005Construction materials (as specified under Fourth Schedule of the Lembaga Pembangunan Industri Pembinaan Malaysia Act 1994)
006Disbursement
007Donation
008e-Commerce - e-Invoice to buyer / purchaser
009e-Commerce - Self-billed e-Invoice to seller, logistics, etc.
010Education fees
011Goods on consignment (Consignor)
012Goods on consignment (Consignee)
013Gym membership
014Insurance - Education and medical benefits
015Insurance - Takaful or life insurance
016Interest and financing expenses
017Internet subscription
018Land and building
019Medical examination for learning disabilities and early intervention or rehabilitation treatments of learning disabilities
020Medical examination or vaccination expenses
021Medical expenses for serious diseases
022Others
023Petroleum operations (as defined in Petroleum (Income Tax) Act 1967)
024Private retirement scheme or deferred annuity scheme
025Motor vehicle
026Subscription of books / journals / magazines / newspapers / other similar publications
027Reimbursement
028Rental of motor vehicle
029EV charging facilities (Installation, rental, sale / purchase or subscription fees)
030Repair and maintenance
031Research and development
032Foreign income
033Self-billed - Betting and gaming
034Self-billed - Importation of goods
035Self-billed - Importation of services
036Self-billed - Others
037Self-billed - Monetary payment to agents, dealers or distributors
038Sports equipment, rental / entry fees for sports facilities, registration in sports competition or sports training fees imposed by associations / sports clubs / companies registered with the Sports Commissioner or Companies Commission of Malaysia and carrying out sports activities as listed under the Sports Development Act 1997
039Supporting equipment for disabled person
040Voluntary contribution to approved provident fund
041Dental examination or treatment
042Fertility treatment
043Treatment and home care nursing, daycare centres and residential care centers
044Vouchers, gift cards, loyalty points, etc
045Self-billed - Non-monetary payment to agents, dealers or distributors

Common unit of measure codes

LHDN uses the UN/ECE list, 2,162 codes in all: search above for any other. Codes many systems use that are not on it include HR, KG, PCS, KIT, BOX, PAX and LOT.

CodeUnit
C62one
EAeach
H87piece
SETset
PRpair
KGMkilogram
GRMgram
TNEtonne (metric ton)
LTRlitre
MLTmillilitre
MTRmetre
CMTcentimetre
MTKsquare metre
HURhour
DAYday
MONmonth
XBXBox
XCTCarton
XPKPackage
XBGBag
XRORoll
E48service unit
LSlump sum
KWHkilowatt hour

Codes and descriptions are LHDN's, from the MyInvois SDK code lists: 7 tax types, 8 e-invoice types, 8 payment methods, 17 state codes, 45 classification codes, 2,162 unit of measure codes, 180 currency codes, 253 country codes. The notes under each heading are ours, not tax advice. Checked on .

Common questions

What is classification code 004?
Consolidated e-invoice. Every line of a monthly consolidated e-invoice for walk-in sales uses 004, with the buyer as the general public (TIN EI00000000010, ID NA).
What is state code 17?
Not Applicable. Use it for a party with an address outside Malaysia, and for the buyer on a consolidated e-invoice, whose address is NA.
Which tax type code is sales tax?
01 is Sales Tax and 02 is Service Tax. 03 is Tourism Tax, 04 High-Value Goods Tax, 05 Sales Tax on Low Value Goods, 06 Not Applicable and E Tax exemption.
Which unit code do I use for pieces or hours?
LHDN uses the UN/ECE unit codes. A piece is H87 (or C62 for one, EA for each), an hour is HUR, a box XBX and a kilogram KGM. Common shorthand such as PCS, HR, BOX or KG is not on LHDN's list.
Codes filled in for you Most POS and accounting exports carry none of these codes. Our e-Invoice platform adds the classification and tax codes from your product list, and checks state, unit and currency codes before anything reaches LHDN. See the e-Invoice platform → Try the live demo, no sign-up → Rejected already? Look up the error → Need an MSIC code? MSIC lookup →