Skip to content

Free webinar, 4 November, 9pm: envoice with Zoho Books and Zoho CRM, live demo by Aplikasi. Register

← All guides

e-Invoice template in Malaysia: the mandatory fields LHDN expects

Updated 12 November 2026

Short answer

A Malaysian e-invoice has no fixed template to download. It is structured data sent to LHDN MyInvois, and LHDN's e-Invoice Guideline lists 55 fields it can carry: about half are required on every e-invoice, some apply only in certain cases, and the rest, including all the payment details, are optional.

Why there is no template to download

An e-invoice is a data file in XML or JSON that your system, or the MyInvois Portal form, sends to LHDN for validation. The PDF your buyer sees is only a visual representation of that data, and LHDN lets businesses keep any visual format they already use. So when people search for an e-invoice template or format, what they need is the list of fields the data must carry. LHDN publishes it as Appendix 1 of the e-Invoice Guideline.

The 55 fields, grouped

The tables below follow Appendix 1 of the guideline (version 4.8). A field LHDN does not label is required. LHDN labels the others Optional, or mandatory only where they apply, such as an SST number for an SST-registered business. MyInvois still checks the format of whatever you send, for example that a unit code is on LHDN's list.

Supplier (you)

FieldWhat it holdsIn Appendix 1
Supplier's nameYour business or personal name as the issuerRequired
Supplier's TINYour LHDN tax identification numberRequired
Registration or ID number12-digit SSM number for a business; MyKad or MyTentera for a Malaysian; passport, MyPR or MyKAS for a non-MalaysianRequired
SST registration numberYour sales tax or service tax registrationIf SST-registered
Tourism tax registration numberFor tourism tax registrants, such as hotel operatorsIf registered
MSIC code5-digit code for your business activityRequired
Business activity descriptionWhat your business doesRequired
AddressRegistered, business or home addressRequired
Contact numberOffice, mobile or faxRequired
EmailYour email addressOptional

Buyer

FieldWhat it holdsIn Appendix 1
Buyer's nameThe person or business receiving the e-invoiceRequired
Buyer's TINThe buyer's LHDN tax identification numberRequired
Registration or ID numberSSM number, MyKad, MyTentera, passport, MyPR or MyKASRequired
SST registration numberThe buyer's SST registrationIf SST-registered
AddressRegistered, business or home addressRequired
Contact numberOffice, mobile or faxRequired
EmailThe buyer's email addressOptional

When a buyer has no TIN you can use, LHDN provides general TINs, such as EI00000000010 for the general public and EI00000000020 for a foreign buyer. Each has strict cases where it is allowed, and since 1 August 2026 a business buyer's TIN must match its SSM number. See how to find a TIN and the buyer details LHDN checks.

envoice New invoice form with the buyer fields: TIN, full name, ID type, ID value with Lookup TIN, phone, email and address
Sandbox demo, example data. The buyer section of the New invoice form in envoice. Required fields carry a red star; Lookup TIN fetches the TIN that matches the ID.

Invoice details

FieldWhat it holdsIn Appendix 1
e-Invoice versionThe e-invoice format version, for example 1.0Required
e-Invoice typeInvoice, credit note, debit note, refund note, or a self-billed versionRequired
e-Invoice code or numberYour own document number, such as INV12345 or CN23456Required
Date and timeWhen the e-invoice is issued; must be the current date and timeRequired
Original e-Invoice reference numberLHDN's unique identifier of the e-invoice a note adjustsNotes only
Issuer's digital signatureSee the note below the tableListed
Invoice currency codeThe currency of the amounts, for example MYRRequired
Currency exchange rateRate used to convert to ringgitNon-ringgit invoices
Frequency of billingDaily, monthly, yearly and so onOptional
Billing periodThe period the invoice coversOptional

Appendix 1 lists a digital signature, but envoice files through version 1.0 of the MyInvois API, which accepts documents without one. You need only your MyInvois Client ID and Client Secret. See digital certificates. The date and time rule matters for old sales: envoice files each document with the time it is actually submitted, so a sale from last week is not rejected for its date.

Line items

FieldWhat it holdsIn Appendix 1
ClassificationLHDN code for the kind of product or serviceRequired
DescriptionWhat you soldRequired
Unit pricePrice of one unitRequired
QuantityNumber of unitsOptional
MeasurementUnit of measure, for example pieceOptional
SubtotalLine amount before tax, charges and discountsRequired
Discount rate and amountDiscount on the line or the whole invoiceOptional
Fee or charge rate and amountExtra charge on the line or the whole invoiceOptional
Tax typeSales tax, service tax, tourism tax and so on, per line and for the invoiceRequired
Tax rateThe percentage or specified rateWhere a rate applies
Tax amountTax payable, per line and for the invoiceRequired
Details of tax exemptionWhy the line is exempt, for example the buyer's sales tax exemption certificate numberIf exempt
Amount exempted from taxTotal tax exempted for sales or service taxIf exempt

A sale with no buyer TIN that goes into the monthly consolidated e-invoice uses classification 004. LHDN works out the document tax as the sum of the tax on each line, which is why a discount given before tax has to reduce the lines it applies to.

Totals

FieldWhat it holdsIn Appendix 1
Total excluding taxAmount payable after discounts and charges, before taxRequired
Total including taxAmount payable with all taxRequired
Total payable amountTotal with tax and rounding, less any amount paid in advanceRequired
Total net amountAmount after line and invoice discounts and charges, before taxOptional
Rounding amountRounding added to the amount payableOptional
Total taxable amount per tax typeTaxable amount for each tax typeOptional

Payment

FieldWhat it holdsIn Appendix 1
Payment modeCash, cheque, bank transfer, card, e-wallet and so onOptional
Supplier's bank account numberWhere the buyer pays youOptional
Payment termsWhen and how payment is dueOptional
Prepayment amount, date and referenceAny amount the buyer paid in advanceOptional
Bill reference numberYour internal billing referenceOptional

Imports, exports and goods shipped to someone other than the buyer need extra fields in an annex, such as the customs form reference, tariff code and shipping recipient. Those are listed in Appendix 2 of the same guideline.

What the e-invoice carries after LHDN validates it

Once LHDN validates the e-invoice, it is assigned a unique identifier number (the UUID), the date and time of validation, and a validation link. When you share the PDF with your buyer, it must include a QR code that the buyer can use to check the e-invoice and its status on the MyInvois Portal. To see what a link or QR holds, paste it into the validation link and QR checker. A document LHDN rejects gets none of these; see LHDN rejection codes.

A validated e-invoice in envoice showing the document type, totals, UUID, buyer details, line items and audit trail
Sandbox demo, example data. A validated e-invoice in envoice: status VALIDATED, the LHDN UUID, buyer, line items and the View on MyInvois button.

SST invoice format and the e-invoice are not the same thing

An SST invoice follows the Sales Tax Act 2018 and Service Tax Act 2018, which Customs (RMCD) administers. An e-invoice follows LHDN's rules under the Income Tax Act and goes through MyInvois. They are different documents under different laws, and one does not replace the other.

They do meet on the page. LHDN drew up Appendix 1 with the SST Acts in mind, and it shares e-invoice data with Customs. An SST-registered business still shows its SST details: the e-invoice carries your SST registration number, and each line carries its tax type, rate and amount. LHDN also says that if your visual e-invoice includes the particulars the Service Tax Regulations 2018 require, you can use the same document for service tax. Which particulars an SST invoice needs is a Customs rule, so check it with RMCD. For tax codes and rates on the e-invoice, see e-invoice and SST.

How envoice fills these fields

  • Supplier: entered once under Settings > Profile, including your MSIC code and SST registration, and added to every document.
  • Buyer: typed on the invoice form or picked from saved customers, with Lookup TIN to fetch the matching TIN from LHDN.
  • Line items: from your catalog, with the classification code filled in.
  • Invoice details and totals: version, type, number, date and every total are set by envoice when you submit.

Credit, debit and refund notes add the original e-invoice reference for you. See credit, debit and refund notes, the create an invoice guide, and what envoice does.

Start free, no credit card

This is general information, not tax advice. Rules and thresholds are set by LHDN and can change. Confirm your specific situation with LHDN or your tax agent.

Frequently asked questions

Is there an official e-invoice template in Malaysia?

No. An e-invoice is structured data sent to LHDN MyInvois, not a page layout. LHDN publishes the list of fields it must carry in Appendix 1 of its e-Invoice Guideline, and lets businesses keep any visual format for the PDF they share.

How many fields does a Malaysian e-invoice have?

LHDN lists 55, grouped into supplier, buyer, invoice details, line items, totals and payment. About half are required on every e-invoice, some apply only in certain cases, such as an SST number or an exchange rate, and the payment fields are all optional.

Is an SST invoice the same as an e-invoice?

No. An SST invoice follows the SST Acts administered by Customs, while an e-invoice follows LHDN rules and goes through MyInvois. An SST-registered business shows its SST registration number and the tax type, rate and amount per line on the e-invoice, and LHDN says a visual e-invoice that includes the particulars required by the Service Tax Regulations 2018 can also serve for service tax.

What does a validated e-invoice show?

LHDN assigns it a unique identifier number (UUID), the date and time of validation and a validation link. The PDF you share with the buyer must include a QR code the buyer can use to check the e-invoice on the MyInvois Portal.

Do I need a digital signature on my e-invoice?

Not with envoice. The guideline lists a digital signature, but envoice files through version 1.0 of the MyInvois API, which accepts documents without one, so you only need your MyInvois Client ID and Client Secret.

Sources