MyInvoisUBL 2.1Mandatory FieldsTutorial

55 Mandatory Fields in MyInvois — What They Are and How to Fill Them

Every e-invoice submitted to LHDN requires 55 mandatory fields. Here's a complete breakdown of what each field is and how to fill them correctly.

F
Finvo Team
5 min read

Why 55 fields?

Malaysia's e-invoicing system follows the UBL 2.1 (Universal Business Language) international standard. This standard requires structured data to ensure every invoice is complete, verifiable, and machine-readable.

The 55 mandatory fields cover everything LHDN needs to validate a transaction: who sold what to whom, for how much, with what tax treatment, and when.

The field categories

The 55 fields fall into 6 main categories:

1. Document information (8 fields)

These identify the invoice itself:

#FieldExampleNotes
1e-Invoice Code / NumberINV-2026-0142Your internal invoice number
2e-Invoice Type01 (Invoice)Document type code
3e-Invoice Date2026-02-14Issue date
4e-Invoice Time14:30:00ZIssue time (UTC)
5Currency CodeMYRISO 4217 currency
6Invoice Period Start2026-02-01Billing period start
7Invoice Period End2026-02-28Billing period end
8Invoice Period FrequencyMonthlyBilling frequency description

2. Supplier information (14 fields)

Details about the business issuing the invoice:

#FieldExampleNotes
9Supplier TINC12345678901Tax Identification Number
10Supplier BRN202001234567Business Registration Number
11Supplier SST RegistrationA01-2345-67890123If SST registered
12Supplier NameFinvo Sdn BhdRegistered business name
13Supplier Address Line 1Level 5, Menara XYZStreet address
14Supplier Address Line 2Jalan Sultan IsmailAdditional address
15Supplier CityKuala LumpurCity name
16Supplier State14State code (14 = KL)
17Supplier CountryMYSISO 3166 country code
18Supplier Postal Code50250Postcode
19Supplier Phone+60312345678Contact phone
20Supplier Emailbilling@company.comContact email
21Supplier MSIC Code62011Industry classification
22Supplier Activity DescriptionSoftware developmentBusiness activity

3. Buyer information (10 fields)

Details about the business receiving the invoice:

#FieldExampleNotes
23Buyer TINC98765432101Buyer's TIN
24Buyer BRN201912345678Buyer's BRN
25Buyer SST RegistrationIf applicable
26Buyer NameABC Trading Sdn BhdRegistered name
27Buyer Address Line 1No. 123, Jalan AmpangAddress
28Buyer CityPetaling JayaCity
29Buyer State10State code (10 = Selangor)
30Buyer CountryMYSCountry code
31Buyer Postal Code47301Postcode
32Buyer Phone+60398765432Contact phone

4. Line item details (13 fields per item)

Each line item on the invoice requires:

#FieldExampleNotes
33Item Classification Code022LHDN classification
34Item DescriptionWeb development servicesWhat you're selling
35Unit Price5000.00Price per unit
36Quantity1Number of units
37Measurement UnitC62 (unit)UN/ECE unit code
38Tax Type01 (Sales Tax)Tax type code
39Tax Rate6.00Percentage
40Tax Amount300.00Calculated tax
41Subtotal5000.00Quantity x Unit Price
42Total Excluding Tax5000.00Before tax
43Total Including Tax5300.00After tax
44Discount Amount0.00If applicable
45Discount DescriptionReason for discount

5. Tax summary (5 fields)

Aggregated tax information:

#FieldExampleNotes
46Total Tax Type01Tax type for totals
47Total Taxable Amount5000.00Sum of taxable amounts
48Total Tax Amount300.00Sum of all tax
49Tax Exemption ReasonIf tax exempt
50Tax Exemption Amount0.00Exempt portion

6. Document totals (5 fields)

Final summary amounts:

#FieldExampleNotes
51Total Excluding Tax5000.00Sum of all lines
52Total Including Tax5300.00With tax added
53Total Payable Amount5300.00What the buyer owes
54Total Discount0.00Sum of discounts
55Rounding Amount0.00Rounding adjustment

Common validation errors

When fields are missing or incorrectly formatted, LHDN rejects the submission. The most common errors:

  1. Invalid TIN format — TINs must be exactly the right length and format (e.g., "C" prefix + digits)
  2. Missing MSIC code — The supplier's industry classification is often forgotten
  3. Wrong state code — Using state names instead of numeric codes
  4. Invalid currency for exchange rate — Non-MYR invoices need a currency exchange rate block
  5. Tax calculation mismatch — The tax amount must exactly equal rate x taxable amount

Related Articles