Malaysia has introduced an e-invoicing mandate to enhance the efficiency of its tax administration and align with global digital economy practices. The core objective of this mandate is to standardize transaction records by requiring invoices to be issued in a structured digital format. To achieve this uniformity, several key transaction fields must be represented through standardized codes instead of traditional free-text entries. This approach ensures data consistency, reduces errors, and simplifies both submission and validation processes.
The Inland Revenue Board of Malaysia (IRBM) outlines these requirements comprehensively through the e-Invoice Guidelines, the e-Invoice Specific Guideline, and detailed Software Development Kit (SDK) documentation, providing clarity on what suppliers and buyers must input, including essential identifiers such as Tax Identification Numbers (TIN).
Below, we detail these standardized TINs and additional mandatory code categories utilized in Malaysia's e-Invoicing ecosystem.
Using codes instead of actual values are extremely important for standardization and reducing errors. Here is the major role of codes while e-invoicing in Malaysia
Codes serve as standard placeholders or default values in the e-invoicing system when actual data is unavailable or cannot be provided. For example:
Standardized codes play a critical role in ensuring seamless integration between taxpayers' existing Enterprise Resource Planning (ERP) systems or billing solutions and Malaysia’s MyInvois platform via Application Programming Interfaces (API):
Standardized codes are essential for successful validation and compliance checks by IRBM:
The Malaysian e-invoicing system uses several types of General TIN for identification purposes. Under certain circumstances—especially where a Malaysian or non-Malaysian individual/business does not have a valid Tax Identification Number (TIN)—the IRBM has prescribed several “general TIN” values.
These allow taxpayers to complete the required e-Invoice fields when the counterparty’s TIN cannot be obtained. The main general TIN codes are:
No. | General TIN | Applicable to the following transaction |
1. | EI00000000010 | 1. Used as “General Public’s TIN” for Malaysian individuals who only provide MyKad / MyTentera identification number (instead of a registered TIN). |
2. | EI00000000020 | 1. Used where the non-Malaysian individual buyer only provides passport / MyPR / MyKAS number (no TIN). |
3. | EI00000000030 | 1. Used where the non-Malaysian individual supplier only provides passport / MyPR / MyKAS number (no TIN) in a self-billed e-Invoice. |
4. | EI00000000040 | Used as the Buyer’s TIN for transactions with government entities, local authorities, statutory authorities or bodies, and exempt institutions not assigned any TIN. |
There are 9 major fields (listed below) that need to be represented by codes, rather than actual values, out of the 55 fields required for e-invoice generation.
These codes are predefined in the SDK, specifying what code should correspond to each value. This system is typically integrated into the backend of my invoice portal or the e-invoice system used by businesses. For example, if you select "kilogram" as the unit of measurement, it will be converted to "KGM" when generating the required XML or JSON format.
e-Invoice types help identify the document type in the MyInvois system:
Code | Description |
01 | |
02 | |
03 | |
04 | |
11 | |
12 | Self-billed Credit Note |
13 | Self-billed Debit Note |
14 | Self-billed Refund Note |
Classification codes define the category of products or services being billed as a result of a commercial transaction:
Code | Description |
001 | Breastfeeding equipment |
002 | Child care centres and kindergartens fees |
003 | Computer, smartphone or tablet |
004 | |
005 | Construction materials (as specified under Fourth Schedule of the Lembaga Pembangunan Industri Pembinaan Malaysia Act 1994) |
006 | Disbursement |
007 | Donation |
008 | e-Commerce - e-Invoice to buyer / purchaser |
009 | e-Commerce - Self-billed e-Invoice to seller, logistics, etc. |
010 | Education fees |
Note: The complete list includes 45 classification codes as defined by the IRBM in the SDK, each consisting of 3 characters. Here is the full list.
Country codes are used for address information and the "Country of Origin" data field. These follow the ISO-3166 alpha-3 approach:
And other country codes as per ISO standards. Here is the full list.
Currency codes provide information about the currency used and follow the ISO-4217 3-letter code approach:
Other currency codes listed here as per ISO standard.
MSIC codes are 5-digit numeric codes that represent the taxpayer's business nature and activity:
The codes are organized by sectors:
Other sector codes with their corresponding business activities are mentioned in the following list.
Payment modes refer to the chosen mechanism through which funds are transferred from buyer to supplier
Code | Description |
01 | Cash |
02 | Cheque |
03 | Bank Transfer |
04 | Credit Card |
05 | Debit Card |
06 | e-Wallet / Digital Wallet |
07 | Digital Bank |
08 | Others |
Source: Payment Methods
State codes represent the names of states and federal territories in Malaysia. They follow the ISO-3166 approach and include All States and Not Applicable codes.
Code | State |
01 | Johor |
02 | Kedah |
14 | Kuala Lumpur |
Here is the complete list. Click Here
Tax types are used when entering tax information as part of the invoice:
Code | Description |
A | Service Tax |
B | Sales Tax |
C | Tourism Tax |
D | Not Applicable |
E | High-Value Goods Tax |
F | Sales Tax on Low Value Goods |
Source: Tax Types
Unit of measurement types are used as part of the document lines in document submission. These codes follow the UN/ECE Recommendation 20, Revision 17 (2021):
The extensive list includes hundreds of unit codes, such as:
Here is the entire list representing various units of measurement
Malaysia's e-invoicing system requires businesses to use standardized codes for various aspects of the invoice. The Software Development Kit (SDK) provided by the Inland Revenue Board of Malaysia (IRBM) contains detailed code tables that businesses must adhere to when generating e-invoices. Regular updates to these codes are published through the SDK, with the most recent update on February 7, 2025, according to the e-Invoicing portal.
For successful implementation, businesses should ensure they are using the latest versions of these codes and staying updated with any changes announced by the IRBM.