1---2name: malaysia-einvoice3description: > Use this skill whenever asked about Malaysia e-invoicing, MyInvois system, LHDN/LHDNM/IRBM e-invoice, Inland Revenue Board Malaysia, UBL 2.1 for Malaysia, e-invoice mandatory timeline, RM threshold phases, MyInvois portal, MyInvois API, e-invoice validation, digital signature for Malaysian e-invoice, self-billed invoice, consolidated invoice, B2B/B2C/B2G e-invoice Malaysia, or any question about generating, submitting, validating, or troubleshooting Malaysian e-invoices. Also trigger when advising on compliance phases, relaxation periods, exemptions, or technical integration with IRBM. ALWAYS read this skill before touching any Malaysia e-invoice work.4license: AGPL-3.0-or-later (code) / OpenAccountants Guide License v1.0 (c5---67# Malaysia E-Invoice (MyInvois) Skill v1.089> **General reference only.** This skill is general tax/accounting reference material for AI-assisted workflows. It has not been reviewed for any specific person's facts, documents, elections, deadlines, residency, filing status, or local procedures. Do not rely on it to file, pay, amend, or take a tax position without review by a qualified professional in the relevant jurisdiction.1011---1213## Section 1 -- Quick Reference1415| Field | Value |16|---|---|17| Country | Malaysia |18| Currency | MYR (Malaysian Ringgit) |19| E-Invoicing System | MyInvois |20| Governing Body | Inland Revenue Board of Malaysia (IRBM / LHDNM / LHDN) |21| Key Legislation | Income Tax Act 1967 (Section 82C); Income Tax (Issuance of Electronic Invoice) Rules 2024 [P.U.(A) 265] |22| Schema Standard | UBL 2.1 (Universal Business Language) |23| Format | XML or JSON |24| Model | Continuous Transaction Control (CTC) — validation before use |25| Implementation Start | 1 August 2024 (Phase 1) |26| Current Status | Phase 4 active (RM1M-RM5M from 1 Jan 2026); full enforcement from 1 Jan 2027 |27| Portal | myinvois.hasil.gov.my |28| SDK Documentation | sdk.myinvois.hasil.gov.my |2930### Implementation Timeline3132| Phase | Annual Revenue (FY2022) | Mandatory From | Relaxation Ends | Full Enforcement |33|---|---|---|---|---|34| Phase 1 | > RM100 million | 1 August 2024 | 31 January 2025 | Active |35| Phase 2 | RM25M -- RM100M | 1 January 2025 | 30 June 2025 | Active |36| Phase 3 | RM5M -- RM25M | 1 July 2025 | 31 December 2025 | Active |37| Phase 4 | RM1M -- RM5M | 1 January 2026 | 31 December 2026 | 1 January 2027 |38| New businesses (2023-2025, ≥RM1M) | RM1M+ | 1 July 2026 | 31 December 2026 | 1 January 2027 |3940### Exemption Threshold4142- Businesses with annual turnover below RM1 million are currently exempt43- Revenue determination based on FY2022 Audited Financial Statements (or tax return if no audit required)44- For new businesses commencing from 2026 onwards: mandatory from 1 July 2026 or commencement date (unless first-year revenue < RM1M)4546---4748## Section 2 -- Mandate Scope4950### Who Must Comply5152- All taxpayers carrying on a business in Malaysia whose annual turnover/revenue meets the threshold for their implementation phase53- Covers: companies, sole proprietors, partnerships, LLPs, cooperatives, associations, trusts, and other entities54- Revenue measured from Statement of Comprehensive Income in FY2022 Audited Financial Statements5556### Transaction Coverage5758| Transaction Type | E-Invoice Required |59|---|---|60| B2B (business to business) | Yes — individual e-invoice per transaction |61| B2G (business to government) | Yes — individual e-invoice per transaction |62| B2C (business to consumer) | Yes — individual e-invoice for transactions > RM10,000 (from 1 Jan 2026); consolidated for smaller |63| Cross-border (exports) | Yes — e-invoice required |64| Self-billed transactions | Yes — buyer issues self-billed e-invoice |65| Foreign income receipts | Yes — self-billed e-invoice by Malaysian recipient |6667### Document Types6869| Type Code | Document | Description |70|---|---|---|71| 01 | Invoice | Standard tax invoice |72| 02 | Credit Note | Adjustment reducing amount |73| 03 | Debit Note | Adjustment increasing amount |74| 04 | Refund Note | Refund document |75| 11 | Self-Billed Invoice | Buyer-issued invoice |76| 12 | Self-Billed Credit Note | Buyer-issued credit note |77| 13 | Self-Billed Debit Note | Buyer-issued debit note |78| 14 | Self-Billed Refund Note | Buyer-issued refund |7980### Consolidated E-Invoice (B2C)8182- Permitted for B2C transactions where individual e-invoice is not required83- Must be issued within 7 calendar days after month-end84- Aggregate all transactions for the period into a single submission85- From 1 January 2026: individual e-invoice mandatory for B2C transactions exceeding RM10,0008687---8889## Section 3 -- Technical Format9091### UBL 2.1 Structure9293| Aspect | Detail |94|---|---|95| Standard | Universal Business Language 2.1 (ISO/IEC 19845) |96| Submission Format | XML or JSON (both accepted) |97| Root Element (XML) | `<Invoice>` |98| UBL Namespace | urn:oasis:names:specification:ubl:schema:xsd:Invoice-2 |99| CAC Namespace | urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2 |100| CBC Namespace | urn:oasis:names:specification:ubl:schema:xsd:CommonBasicComponents-2 |101| Document Version | v1.1 (current as of 2026) |102| Character Encoding | UTF-8 |103104### Data Structure Categories (55 Fields in 8 Groups)105106| Category | Fields Included |107|---|---|108| 1. Address | Street, city, state, postal code, country |109| 2. Business Details | TIN, BRN/SST number, MSIC code, tourism tax number |110| 3. Contact Number | Telephone, email |111| 4. Invoice Details | Version, type, code/number, date, time, currency, tax calculation |112| 5. Parties | Supplier and Buyer identification |113| 6. Party Details | Names, addresses, contact information |114| 7. Payment Info | Payment mode, terms, prepayment details |115| 8. Products/Services | Description, quantity, unit price, tax type, tax rate, tax amount, subtotal |116117### Digital Signature Requirement118119- Every e-invoice must include an issuer's digital signature120- Certificate obtained from IRBM-approved certificate authority (PosDigicert or equivalent)121- Signature embedded in UBL `cac:Signature` element122- XAdES format for XML; equivalent JSON structure for JSON submissions123124---125126## Section 4 -- Mandatory Fields127128### Invoice Header129130| UBL Path | Field Name | Description | Example |131|---|---|---|---|132| cbc:InvoiceTypeCode/@listVersionID | e-Invoice Version | Current version | 1.1 |133| cbc:InvoiceTypeCode | e-Invoice Type Code | Document type | 01 |134| cbc:ID | e-Invoice Code/Number | Unique reference | INV-2026-001 |135| cbc:IssueDate | Issue Date | UTC date | 2026-05-22 |136| cbc:IssueTime | Issue Time | UTC time | 15:30:00Z |137| cbc:DocumentCurrencyCode | Currency Code | ISO 4217 | MYR |138| cac:Signature | Digital Signature | Issuer signature | (embedded) |139140### Supplier (cac:AccountingSupplierParty)141142| Field | Description | Mandatory |143|---|---|---|144| TIN | Tax Identification Number | Yes |145| BRN / NRIC / Passport | Registration/ID number | Yes |146| SST Registration Number | Sales & Service Tax number | If registered |147| Tourism Tax Registration | Tourism tax number | If applicable |148| MSIC Code | Malaysian Standard Industrial Classification | Yes |149| Name | Legal name | Yes |150| Address | Full address (street, city, state, postal code) | Yes |151| Contact (Phone) | Telephone number | Yes |152| Contact (Email) | Email address | Yes |153| Country | Country code | Yes (MY) |154| State | State code (per IRBM code table) | Yes |155156### Buyer (cac:AccountingCustomerParty)157158| Field | Description | Mandatory |159|---|---|---|160| TIN | Tax Identification Number | Yes |161| BRN / NRIC / Passport | Registration/ID number | Yes |162| SST Registration Number | Sales & Service Tax number | If applicable |163| Name | Legal name or individual name | Yes |164| Address | Full address | Yes |165| Contact (Phone) | Telephone number | Yes |166| Country | Country code | Yes |167168### Line Items (cac:InvoiceLine)169170| Field | Description | Mandatory |171|---|---|---|172| Item Classification Code | IRBM classification code | Yes |173| Item Description | Product/service description | Yes |174| Unit Price | Price per unit | Yes |175| Quantity | Number of units | Yes |176| Measurement (Unit) | Unit of measure | Yes |177| Subtotal | Line amount (Qty × Unit Price) | Yes |178| Tax Type | Tax category (01=SST, 02=Service Tax, E=Exempt, etc.) | Yes |179| Tax Rate | Applicable percentage | Yes (if taxable) |180| Tax Amount | Calculated tax | Yes (if taxable) |181| Total Excluding Tax | Line total before tax | Yes |182| Total Including Tax | Line total with tax | Yes |183184### Totals185186| Field | Description |187|---|---|188| Total Excluding Tax | Sum of all line totals before tax |189| Total Tax Amount | Sum of all tax amounts |190| Total Including Tax | Grand total |191| Total Payable Amount | Amount due from buyer |192193---194195## Section 5 -- Transmission Method196197### Submission Channels198199| Channel | Description | Use Case |200|---|---|---|201| MyInvois Portal | Web-based manual submission | Low volume (< 50 invoices/month) |202| System-to-System API | Direct API integration | Medium-to-high volume |203| ERP/Accounting Software | Pre-built integration via middleware | Enterprise |204205### API Endpoints (Production)206207| Endpoint | Method | Purpose |208|---|---|---|209| /api/v1.0/login/taxpayer | POST | Authenticate via OAuth 2.0 (client credentials) |210| /api/v1.0/login/intermediary | POST | Authenticate as intermediary system |211| /api/v1.0/documentsubmissions | POST | Submit e-invoice(s) for validation |212| /api/v1.0/documents/{uuid}/details | GET | Retrieve validated document |213| /api/v1.0/documents/{uuid}/cancel | PUT | Cancel an e-invoice |214| /api/v1.0/documents/{uuid}/reject | PUT | Reject received e-invoice (buyer) |215| /api/v1.0/documents/search | GET | Search submitted documents |216| /api/v1.0/documents/{uuid}/qrcode | GET | Get QR code for document |217218### Base URLs219220| Environment | URL |221|---|---|222| Production | https://myinvois.hasil.gov.my |223| Sandbox | https://preprod-api.myinvois.hasil.gov.my |224| SDK Portal | https://sdk.myinvois.hasil.gov.my |225226### Authentication227228- OAuth 2.0 Client Credentials flow229- Client ID and Client Secret obtained from MyInvois portal230- Token validity: 1 hour231- Intermediary systems can act on behalf of multiple taxpayers232233### Validation Flow2342351. Supplier generates e-invoice in UBL 2.1 XML/JSON format2362. Supplier signs the document with digital signature2373. Submit to IRBM via API or portal2384. IRBM validates structure, data, digital signature2395. If valid: IRBM assigns unique identifier + validation timestamp2406. Validated e-invoice shared with buyer (via MyInvois or direct)2417. Buyer has 72 hours to reject (if disputed)242243---244245## Section 6 -- Validation Rules246247### IRBM Validation Checks2482491. **Schema validation** — Conforms to UBL 2.1 structure per MyInvois SDK specification2502. **Mandatory field completeness** — All 55 required fields present2513. **Digital signature verification** — Valid certificate from approved authority2524. **TIN validation** — Both supplier and buyer TIN must be valid and active2535. **BRN/NRIC consistency** — Must match IRBM records2546. **Tax calculation** — Tax amounts must equal rate × base (within tolerance)2557. **Code table validation** — MSIC codes, state codes, currency codes, tax types must be from valid lists2568. **Duplicate check** — Same document ID from same supplier not accepted twice2579. **Date/time validation** — Must be in UTC; not future-dated beyond tolerance258259### Validation Statuses260261| Status | Meaning |262|---|---|263| Submitted | Received, awaiting validation |264| Valid | Passed all checks; legally valid e-invoice |265| Invalid | Failed validation; must correct and resubmit |266| Cancelled | Cancelled by supplier (within permitted window) |267| Rejected | Rejected by buyer (within 72 hours of validation) |268269### Common Rejection Reasons270271| Error | Description | Resolution |272|---|---|---|273| Invalid TIN | TIN not found or inactive | Verify TIN at IRBM portal |274| Missing mandatory field | Required field absent | Add missing field per SDK spec |275| Invalid digital signature | Certificate expired or unrecognized | Renew certificate from approved CA |276| Tax calculation mismatch | Computed tax ≠ stated tax | Recalculate: TaxAmount = Rate × Base |277| Invalid classification code | Item code not in IRBM table | Look up correct code in classification list |278| Duplicate submission | Same ID already validated | Use unique invoice number |279280---281282## Section 7 -- Tax Computation Rules283284### Applicable Taxes285286| Tax Type | Code | Rate | Applicable To |287|---|---|---|---|288| Sales Tax | 01 | 5% or 10% | Manufactured/imported goods |289| Service Tax | 02 | 6% or 8% | Prescribed services |290| Tourism Tax | 03 | RM10/room/night | Accommodation |291| Exempt | E | 0% | Exempted goods/services |292| Not Applicable | 06 | 0% | Out of scope |293294### Calculation Rules295296- Line Tax Amount = Taxable Amount × Tax Rate / 100297- Rounding: 2 decimal places (standard rounding)298- Document-level Tax Total = sum of all line tax amounts299- Total Including Tax = Total Excluding Tax + Total Tax Amount300- Multiple tax types can appear on same invoice (different lines)301302### Multi-Rate Invoice303304- Each line item carries its own Tax Type and Tax Rate305- Invoice totals aggregate across all tax types306- Self-billed invoices follow same calculation rules307308### Discount/Charge Handling309310- Discounts applied at line level (reduce Unit Price or add discount element)311- Charges (e.g., freight, handling) added as separate line items or invoice-level charges312- Tax calculated on net amount (after discount, before charges where applicable)313314### Foreign Currency315316- If DocumentCurrencyCode ≠ MYR, include exchange rate317- Tax amounts may need to be expressed in MYR for SST purposes318- Use Bank Negara Malaysia published rates319320---321322## Section 8 -- Archiving Requirements323324| Requirement | Detail |325|---|---|326| Retention Period | 7 years from end of the year of assessment (Income Tax Act 1967) |327| Format | Original validated XML/JSON (with IRBM validation response) |328| Accessibility | Must be retrievable from MyInvois portal; also maintain own copy |329| Digital Signature | Preserved within the document |330| QR Code | Generated by IRBM post-validation; contains link to verify e-invoice |331| Buyer Copy | Buyer can access validated e-invoice via MyInvois portal |332| Cancellation Records | Cancelled e-invoices remain in system with cancelled status |333| Medium | Electronic storage acceptable; no paper copy required for tax purposes |334| Audit | IRBM can request access to any e-invoice via MyInvois system directly |335336---337338## Section 9 -- Penalties for Non-Compliance339340| Violation | Penalty | Legal Basis |341|---|---|---|342| Failure to issue e-invoice | RM200 -- RM20,000 fine per instance OR up to 6 months imprisonment | Section 82C, Income Tax Act 1967 |343| Issuing e-invoice with incorrect information | RM200 -- RM20,000 fine per instance | Section 82C |344| Late submission | Subject to penalty after relaxation period ends | P.U.(A) 265 |345| Repeated non-compliance | Higher end of penalty range; potential prosecution | Income Tax Act 1967 |346347### Relaxation Period348349- During relaxation period for each phase, IRBM will not impose penalties350- Relaxation is for technical adaptation — taxpayers should still attempt compliance351- Phase 4 relaxation: 1 January 2026 -- 31 December 2026 (full enforcement from 1 January 2027)352353### Buyer Impact354355- Buyers may not claim tax deductions without valid e-invoice from supplier356- Self-billed e-invoices required for certain expense types (foreign services, employee benefits)357358---359360## Section 10 -- Interaction with Tax Skills361362### Corporate Income Tax (Form C)363364- Revenue reported in Form C must align with e-invoices issued via MyInvois365- IRBM can cross-reference declared revenue against total validated e-invoices366- Deductions must be supported by received/self-billed e-invoices367368### SST Return369370- Sales Tax and Service Tax amounts declared in SST-02 return derived from e-invoice data371- IRBM reconciles SST return against e-invoice tax totals372- Discrepancies may trigger audit or penalty373374### Transfer Pricing375376- Cross-border e-invoices provide documentation for transfer pricing compliance377- Self-billed e-invoices for foreign services create audit trail378379### Withholding Tax (Section 109)380381- Payments to non-residents requiring withholding tax must have corresponding e-invoice382- Self-billed e-invoice issued by Malaysian payer for non-resident service providers383384### Real Property Gains Tax (RPGT)385386- Property transactions require e-invoice issuance387- Captures transaction value for RPGT assessment388389### Employer Obligations390391- Benefits-in-kind and perquisites to employees may require e-invoice/self-billed e-invoice392- Medical benefits, club memberships, accommodation: reportable via e-invoice system393- Links to Form EA/EC employee reporting394395### Audit Trail396397- IRBM maintains centralized record of all validated e-invoices398- Full digital audit trail from issuance to payment399- Reduces paper-based audit requirements; enables data-driven risk assessment400401---402403## Disclaimer404405This skill and its outputs are provided for informational and computational purposes only and do not constitute tax, legal, or financial advice. Open Accountants and its contributors accept no liability for any errors, omissions, or outcomes arising from the use of this skill. All outputs must be reviewed and signed off by a qualified professional (such as a tax agent, chartered accountant, or equivalent licensed practitioner in your jurisdiction) before filing or acting upon.406407The most up-to-date, verified version of this skill is maintained at [openaccountants.com](https://openaccountants.com).408409---410411_Source: [OpenAccountants](https://openaccountants.com/skills/malaysia-einvoice) — open tax Guides for AI, reviewed by named CPAs/CAs/EAs. Quality: **source-cited draft**. For always-current figures and named-accountant backing, connect the OpenAccountants MCP server (`openaccountants-mcp`)._