An e-Invoice in Malaysia must carry the data fields set by LHDN (the Inland Revenue Board of Malaysia, IRBM). The e-Invoice Guideline (Version 4.8, 30 August 2026) lists 55 data fields in eight groups. By our count of that list, 27 are always required, 8 are required only in certain situations (for example, an SST number if you are SST-registered), and 20 are optional. Imports, exports and shipments to a different recipient add a few annexure fields on top.
Last checked against LHDN guidance on 24 November 2026: e-Invoice Guideline Version 4.8, e-Invoice Specific Guideline Version 4.9 (7 September 2026) and the MyInvois SDK Invoice v1.1 field list, including SDK release notes up to 25 September 2026.
This guide goes through each group in the order you will meet it on an invoice. If you want the wider picture first, read our overview of how the LHDN e-Invoice system works. If your team prefers Bahasa Melayu, we also have a guide to invois: maksud, contoh dan cara buat.
Mandatory, conditional and optional fields at a glance
| Group | Always required | Required in certain cases | Optional |
|---|---|---|---|
| Supplier | Name, TIN, registration or identification number, MSIC code, business activity description, address, contact number | SST number (SST-registrants), tourism tax number (tourism tax registrants) | |
| Buyer | Name, TIN, registration or identification number, address, contact number | SST number (SST-registrants) | |
| Invoice details | Version, type, code or number, date and time, digital signature, currency code | Original e-Invoice reference number (credit, debit and refund notes), currency exchange rate (non-MYR invoices) | Frequency of billing, billing period |
| Products and services | Classification, description, unit price, tax type, tax amount, subtotal, total excluding tax, total including tax, total payable amount | Tax rate, details of tax exemption, amount exempted from tax | Quantity, measurement, discount and fee or charge fields, total net amount, rounding amount, total taxable amount per tax type |
| Payment | None | None | Payment mode, supplier’s bank account number, payment terms, prepayment amount, date and reference number, bill reference number |
Source: Appendix 1 of the e-Invoice Guideline. The technical field definitions, character limits and UBL mapping are in the MyInvois SDK Invoice v1.1 page.
Supplier Information
The supplier is the business or individual issuing the e-Invoice. These details identify who is billing and which tax account the invoice belongs to.
Mandatory Fields:
- Supplier’s Name: The registered name of your business or, for an individual, your name.
- Tax Identification Number (TIN): The TIN assigned by LHDN.
- Registration/Identification Number: For a business, the business registration number (BRN). For a Malaysian individual, the MyKad or MyTentera number. For a non-Malaysian individual, the passport, MyPR or MyKAS number. LHDN states that businesses registered with SSM should input the new 12-digit BRN.
- MSIC Code: The five-digit Malaysia Standard Industrial Classification code for your business activity.
- Business Activity Description: A short description of that activity (up to 300 characters in the SDK).
- Address: Your registered, business or residential address. The SDK requires address line 0, city, state and country; postal zone and further address lines are optional.
- Contact Number: A phone number in the E.164 format, for example +60 followed by the number.
Mandatory in Certain Cases:
- SST Registration Number: Required if you are registered for Sales and Service Tax. The SDK asks non-registrants to enter “NA”.
- Tourism Tax Registration Number: Required for tourism tax registrants, such as hotel operators and online travel operators. Everyone else enters “NA” under the SDK.
Optional Field:
- Email Address: Many older guides list the supplier’s email as mandatory. In LHDN’s current field list it is optional, although including it makes follow-up easier.
Real-life Example:
Imagine a bakery named “Sweet Treats Sdn Bhd” issuing an e-Invoice. It must include its registered name, TIN, business registration number, MSIC code for bakery operations, a business activity description such as “Manufacture of bread and cakes”, its address and a contact number. It adds its SST number only if it is SST-registered, and may add an email address such as [email protected].
Buyer Information
Accurate buyer details decide whether the invoice validates and whether your customer can claim the expense.
Mandatory Fields:
- Buyer’s Name: The registered name of the purchasing entity or individual.
- Buyer’s TIN: The buyer’s Tax Identification Number.
- Registration/Identification Number: BRN, MyKad, MyTentera, passport, MyPR or MyKAS number, following the same rules as for the supplier.
- Address: The buyer’s official address.
- Contact Number: The buyer’s phone number. For a consolidated e-Invoice, the SDK allows the supplier to enter “NA”.
Mandatory in Certain Cases:
- SST Registration Number: Required if the buyer is SST-registered. The SDK asks the supplier to enter “NA” where the number is not available or not provided.
Optional Field:
- Email Address: Useful for sending the validated e-Invoice, but not required by LHDN.
Practical Advice:
Check the buyer’s TIN and registration number against their official documents before you issue. LHDN has said it validates the TIN together with the business registration number in the Validate Taxpayer’s TIN API from 1 August 2026, and asks suppliers to obtain up-to-date BRN details from buyers (SDK release notes, 12 June 2026). A standard form for collecting these details from customers keeps the data consistent.
Invoice Details
This group describes the document itself, so that LHDN and your buyer can identify it.
Mandatory Fields:
- e-Invoice Version: The version of the e-Invoice document format used.
- e-Invoice Type: Whether the document is an invoice, credit note, debit note or refund note.
- e-Invoice Code/Number: Your own unique reference for the document, up to 50 characters.
- Date and Time of Issuance: The current date and time. The SDK specifies that the date and time must be the current date and time in the UTC timezone, and dates must follow the YYYY-MM-DD format.
- Issuer’s Digital Signature: An electronic signature that supports the integrity and authenticity of the document. The e-Invoice is signed with the issuer’s own digital certificate, or with the service provider’s certificate if you use a service provider. It is not provided by LHDN.
- Invoice Currency Code: The currency of the transaction, for example MYR.
Mandatory in Certain Cases:
- Original e-Invoice Reference Number: Required for credit, debit and refund notes. It is the unique identifier that LHDN assigned to the original document.
- Currency Exchange Rate: Required where the invoice currency is not MYR. Since 1 September 2025, LHDN rejects submissions in another currency that do not include it (SDK release notes).
Optional Fields:
- Frequency of Billing: For example monthly or quarterly. Older guides often list this as mandatory.
- Billing Period: The start and end dates the invoice covers. This is also optional.
Explanation:
The e-Invoice code is your own reference, while the unique identifier is assigned by LHDN. That is why a credit, debit or refund note must point to the LHDN identifier of the original document, not only to your own invoice number.
Product and Service Details
Clear line items prevent disputes and drive the tax calculation. Some fields apply to each line, and others apply to the invoice as a whole.
Mandatory Fields:
- Classification: The category of the product or service, using LHDN’s classification codes.
- Description of Product or Service: Details of the item billed (up to 300 characters in the SDK).
- Unit Price: The price of one unit.
- Tax Type: The tax applied, for example sales tax or service tax, at line and invoice level.
- Tax Amount: The amount of tax payable, at line and invoice level.
- Subtotal: The amount for each item, excluding taxes, charges or discounts. This applies to line items only.
- Total Excluding Tax: The amount payable including applicable discounts and charges, but excluding tax, at line and invoice level.
- Total Including Tax: The amount payable including tax (invoice level).
- Total Payable Amount: The amount payable including tax and any rounding adjustment, excluding amounts paid in advance (invoice level).
Mandatory in Certain Cases:
- Tax Rate: Required where a rate applies, as a percentage or a fixed rate.
- Details of Tax Exemption: Required if a tax exemption applies, for example the buyer’s sales tax exemption certificate number.
- Amount Exempted from Tax: Required if a tax exemption applies.
Optional Fields:
- Quantity and Measurement: Number of units and the unit of measure (UN/ECE Recommendation 20 codes).
- Discount Rate and Discount Amount, Fee/Charge Rate and Fee/Charge Amount: At line and invoice level.
- Total Net Amount, Rounding Amount and Total Taxable Amount Per Tax Type: Invoice level only.
Importance:
Accurate product and service information supports correct taxation. Watch the amount fields in particular: LHDN has announced that all monetary amount fields will be limited to 26 digits, and that the PASSPORT identification type is limited to 12 characters, with both checks taking effect in the production environment on 24 October 2026 (SDK release notes, 6 August 2026).
Sending these invoices to MyInvois by hand?
ASSIST.biz reads your PDF invoices, fills in the LHDN fields and submits them, so you don’t retype anything. Works alongside Xero and QuickBooks.
Tax and Payment Information
Tax details are required. Payment details are optional, but they make reconciliation easier.
Mandatory Tax Fields:
- Tax Type: The kind of tax applied.
- Tax Amount: The total tax calculated, per line and for the invoice. The SDK also asks for the tax amount per tax type.
- Tax Rate: Required where a rate applies.
Optional Payment Fields:
- Payment Mode: The method of payment, such as cash, cheque, bank transfer, credit card or e-wallet.
- Supplier’s Bank Account Number: Where the buyer should pay.
- Payment Terms: The agreed terms between buyer and supplier.
- Prepayment Amount: Money the buyer has already paid in advance.
- Prepayment Date: When that prepayment was received.
- Prepayment Reference Number: A reference for tracing the prepayment.
- Bill Reference Number: Your internal billing reference.
Note:
Earlier versions of this guide listed “Payment Amount”, “Payment Date” and “Payment Reference Number”. In the LHDN field list these are the prepayment fields, and the amount to pay is the Total Payable Amount. All payment fields are optional.
Annexure Fields: Shipping, Imports and Exports
LHDN treats these as an annexure to the e-Invoice. They matter when goods are imported, exported or delivered to someone other than the buyer.
Mandatory for Imports:
- Reference Number of Customs Form No.1, 9, etc.: The identifier on the declaration of goods imported. Separate several reference numbers with commas and no spaces.
Optional Fields:
- Shipping Recipient’s Name, Address, TIN and Registration Number: For goods shipped to a recipient who is not the buyer. These were “mandatory where applicable” in early SDK versions; LHDN changed them to optional on 21 June 2024.
- Incoterms: The international trade rule in force, up to three characters.
- Product Tariff Code: The Harmonized System code, for goods only.
- Free Trade Agreement (FTA) Information: For exports, where applicable.
- Authorisation Number for Certified Exporter and Reference Number of Customs Form No.2: For exports, where applicable.
- Country of Origin: At line level.
Additional Information:
Complete annexure details keep customs paperwork and the e-Invoice consistent with each other.
Recent LHDN Validation Changes to Watch
The field list itself is stable, but the checks on top of it keep tightening. These are the changes in the MyInvois SDK release notes that most often affect invoice data:
- 1 September 2025: invoices in a currency other than MYR are rejected if the currency exchange rate is missing.
- 1 August 2026: TIN and BRN validation in the Validate Taxpayer’s TIN API.
- 15 August 2026: stricter field validation in production, including valid YYYY-MM-DD dates (no “N/A”), a 50-character limit on the e-Invoice code or number, a 3-character limit on Incoterms and a 300-character limit on payment terms.
- 24 October 2026: a 26-digit limit on monetary amount fields and a 12-character limit on PASSPORT identification numbers.
Source: MyInvois SDK release notes, last checked 24 November 2026.
Conclusion
Completing the mandatory fields correctly is what lets an invoice pass MyInvois validation. Start with the always-required fields in the table above, add the conditional ones that apply to your business (SST, exchange rate, tax exemption, imports), and treat everything else as optional unless your buyer asks for it. LHDN reviews its guidance from time to time, so check the current guidelines page before you change your invoice template.
Need Assistance?
Getting these fields right on every invoice is mostly a data problem, and that is what ASSIST.biz e-invoicing for Malaysia is built to handle. ASSISTrex also lets you submit e-invoices through InvoiceNow (SG) and Malaysia e-invoicing (MyInvois); you can read more about ASSISTrex here.
Frequently Asked Questions (FAQ)
What are the mandatory fields in an e-invoice in Malaysia?
LHDN’s e-Invoice Guideline (Version 4.8) lists 55 data fields. Always required are the supplier’s and buyer’s name, TIN, registration or identification number, address and contact number, the supplier’s MSIC code and business activity description, the invoice version, type, code or number, date and time, digital signature and currency code, and for each item the classification, description, unit price, tax type, tax amount, subtotal and totals. Some fields apply only in certain cases, such as the SST number, exchange rate or tax exemption details.
Which e-invoice fields are optional?
Under the same guideline, optional fields include the supplier’s and buyer’s email addresses, frequency of billing, billing period, quantity, measurement, discounts, fees or charges, total net amount, rounding amount, total taxable amount per tax type, and all payment fields (payment mode, bank account number, payment terms, prepayment details and bill reference number). Shipping recipient details are optional too.
Who needs to issue e-invoices in Malaysia now?
Taxpayers are phased in by annual turnover or revenue: more than RM100 million from 1 August 2024, more than RM25 million up to RM100 million from 1 January 2025, more than RM5 million up to RM25 million from 1 July 2025, and up to RM5 million from 1 January 2026. Taxpayers with annual turnover or revenue below RM3,000,000 are exempt, with exceptions such as a subsidiary of a holding company with annual turnover or revenue of at least RM3,000,000 (e-Invoice Guideline Version 4.8, Sections 1.5 and 1.6). Taxpayers in the up-to-RM5 million group also have an interim relaxation period until 31 December 2027, during which they may issue consolidated e-Invoices for all transactions (e-Invoice Specific Guideline Version 4.9, Section 16).
Is there a specific format or template for Malaysia’s e-invoice?
Yes. The MyInvois SDK defines the data structure, which follows UBL 2.1 and is submitted in XML or JSON through the MyInvois Portal or API. Invoice v1.1 is the version with digital signature validation switched on. After validation you share the validated e-Invoice, or its visual representation such as a PDF, with your buyer (e-Invoice Guideline, Section 2.3).
What happens if my e-invoice is missing a mandatory field?
MyInvois runs a core fields validation that checks the document contains the mandatory data fields. LHDN states that submissions that do not meet its validation criteria may be rejected, so the document does not become a validated e-Invoice until the data is corrected and resubmitted.
Do I need an exchange rate if I invoice in another currency?
Yes. If the invoice currency is not MYR, the currency exchange rate must be included, and submissions without it are rejected. LHDN’s Specific Guideline says the rate should follow any legal or tax requirement that applies, such as from the Royal Malaysian Customs Department, and otherwise your internal policy.
Last checked against LHDN guidance on 24 November 2026.
Get set up to send LHDN e-invoices without changing your accounting software
Our team sets up your MyInvois connection in around four working days (sometimes sooner), then you submit your first validated e-invoice. See how it works before you decide.


