Malaysia e-Invoice · LHDN / IRBM · MyInvois · Service Providers

Malaysia e-Invoice.
IRBM API — fully completed.

Every IRBM MyInvois endpoint implemented, tested against sandbox and production. All 5 document types. X.509 digital signature. Ready to connect your service to the Malaysian e-Invoice network.

8
API Endpoints Covered
5
IRBM Document Types
X.509
Digital Signature
Book a Free Assessment Also need Peppol? →
IRBM API Coverage

Every MyInvois Endpoint. Implemented.

Building a Malaysia e-Invoice integration means covering all IRBM API endpoints — not just document submission. Below is the complete API surface, every one personally implemented and production-tested.

POST
Submit Document
/api/v1.0/documentsubmissions
Implemented
GET
Get Submission Status
/api/v1.0/documentsubmissions/{uid}
Implemented
GET
Get Document Details
/api/v1.0/documents/{uid}/details
Implemented
PUT
Cancel Document
/api/v1.0/documents/state/{uid}/state
Implemented
PUT
Reject Document
/api/v1.0/documents/state/{uid}/state
Implemented
GET
Get Documents (Search)
/api/v1.0/documents/search
Implemented
GET
Validate Taxpayer TIN
/api/v1.0/taxpayer/validate/{tin}
Implemented
POST
Authentication
OAuth 2.0 client credentials token flow
Implemented

What this means for service providers: If you are building a middleware, ERP connector, or SaaS platform that needs to connect businesses to IRBM's MyInvois, this API layer is complete. Document submission, real-time status polling, rejection detection, cancellation flows, TIN validation, and OAuth token management — all endpoints implemented, tested in sandbox and production, and ready to integrate into your product.

Rollout Status

Malaysia e-Invoice All Phases Live

All three phases of Malaysia's mandatory e-invoicing rollout are now active. If your business is not yet compliant, every transaction without a validated IRBM e-invoice is a potential penalty.

✓ Live Since Aug 2024
Phase 1
Annual Turnover > RM 100 Million

Large corporations — the first wave. Mandatory API or MyInvois Portal submission required. LHDN validation and UUID assignment live since August 2024.

✓ Live Since Jul 2025
Phase 2
Annual Turnover > RM 25 Million

Mid-size businesses including manufacturers, distributors, and service firms above RM25M. Mandatory since 1 July 2025. API integration is the standard path for this group.

✓ Live Since Jan 2026
Phase 3
All Remaining Businesses

All Malaysian businesses regardless of turnover must comply as of 1 January 2026. No exemptions remain. If you are not yet connected, every invoice issued without IRBM validation is non-compliant.

⚠ Non-Compliance Penalties (Still Enforced)

Under the Income Tax Act 1967, failure to issue a valid e-invoice carries a penalty of RM200 to RM1,000 per invoice. Repeated or wilful non-compliance can result in fines of up to RM20,000, imprisonment, or both. All deadlines have passed — penalties are now in effect across all business sizes.

IRBM Document Types

All 5 Mandatory Document Types

IRBM mandates five distinct e-invoice document types. Every type has its own use case, mandatory fields, and issuance party. The complete API integration covers all five.

Type 01

Invoice

Standard commercial invoice for any taxable supply of goods or services — B2B and B2C.

Issued by: Supplier
Key fields: Supplier TIN, Buyer TIN, MSIC code, SST registration, line-item tax categories.
Type 02

Credit Note

Issued to reduce the value of a previously validated invoice — returns, discounts, downward corrections.

Issued by: Supplier
Must reference the original invoice UUID. Reduces taxable supply and buyer's input tax claim.
Type 03

Debit Note

Issued to increase the value of a previously validated invoice — additional charges, upward adjustments.

Issued by: Supplier
Must reference the original invoice UUID. Increases taxable supply and buyer's input tax.
Type 04

Refund Note

Issued when a settled invoice is subsequently refunded. Distinct from Credit Note in that payment has already occurred.

Issued by: Supplier
References original UUID. Triggers tax position adjustment for both parties.
Type 05

Self-Billed Invoice

Buyer issues invoice on behalf of supplier — for agents, dealers, distributors, foreign suppliers, and other IRBM-defined categories.

Issued by: Buyer
Requires IRBM approval. Both TINs required. Buyer assumes the compliance obligation.
Technical Architecture

The LHDN Document Lifecycle

Every validated e-invoice passes through this five-stage flow. Understanding each step — especially the 72-hour window — is critical to building a correct integration.

1

Document Created in ERP or Accounting System

Invoice generated with all mandatory IRBM fields: Supplier TIN, Buyer TIN, MSIC code, SST registration, and line-item tax codes. UBL 2.1 XML mapped from internal ERP data structures.

2
Two Paths

Signed & Submitted to LHDN

Document signed with X.509 digital certificate. Submission via LHDN API (programmatic — recommended for volume) or MyInvois Portal (manual — for small volumes). Phase 2 and Phase 3 businesses use API integration.

3
Real-Time

Validated by LHDN — UUID & QR Code Assigned

LHDN validates schema, TIN references, tax calculations, and MSIC codes in real time. On success: UUID and QR code assigned. LHDN timestamp starts the 72-hour window.

4
72-Hour Window

Buyer & Supplier Action Window

From LHDN validation timestamp: Buyer may reject (wrong amounts, wrong party); Supplier may cancel. After 72 hours, neither action is possible — invoice is confirmed. Your ERP must monitor and surface alerts.

5

Validated Invoice Archived

If not rejected or cancelled, invoice is confirmed. Both parties retain the document — including UUID and QR code — for IRBM's archival period. QR links to LHDN's verification portal.

Implementation Experience

Implemented, Not Theorised

Every item below reflects work personally built, tested, and deployed in production environments — not knowledge drawn from documentation alone.

X.509 Digital Signature

Certificate embedded into the submission payload prior to LHDN API call. Covers certificate provisioning, signing algorithm, and signature validation handling.

LHDN API — All 8 Endpoints

Submit, get status, get details, cancel, reject, search, validate TIN, and OAuth authentication — all implemented and tested against LHDN sandbox and production.

📄
UBL 2.1 XML Mapping

Internal ERP invoice data mapped to the IRBM UBL 2.1 schema. Covers namespace handling, extension schema compliance, and all mandatory and conditional field population.

🏷
MSIC Code Integration

MSIC lookup table integrated with product/service catalogue. Automated assignment at line-item level based on product classification rules.

Rejection & Cancellation Flow

Buyer rejection reflected back into ERP in near real-time. Supplier cancellation with 72-hour enforcement and ERP status synchronisation.

🗄
UUID & QR Code Archival

UUID and QR code stored against each invoice record. QR verification link embedded in customer-facing PDF. Archival retention policy implemented.

What I Offer

Services for Malaysia e-Invoice

  • 01

    IRBM API Integration for Service Providers

    Complete middleware or SDK layer connecting your service to MyInvois. All 8 endpoints covered: submission, validation, status polling, UUID/QR retrieval, rejection, cancellation, TIN validation, and OAuth.

    Deliverables: Production-ready API middleware, endpoint reference, error-handling playbook
  • 02

    ERP & Accounting System Bridge

    Connect SAP, Oracle, Xero, SQL Accounting, or custom systems to the e-invoice pipeline. No disruption to existing finance workflows. Covers all 5 IRBM document types.

    Deliverables: Integration spec, ERP connector, UAT sign-off checklist
  • 03

    Gap Assessment & Readiness Audit

    A structured review of your current invoicing stack, data quality, and team readiness — delivered as a ranked action list with timeline estimates.

    Deliverables: Gap report, prioritised action list, implementation roadmap
  • 04

    Team Training & Documentation

    Finance and IT team handoff — SOPs covering daily submission, error handling, rejection response, and MyInvois portal navigation. Includes advisory support.

    Deliverables: SOP documents, training session, Q&A reference guide
  • 05

    Full Document Type Compliance

    Coverage of all five IRBM document types — including the commonly missed Self-Billed Invoice (buyer-issued) flows for agents, dealers, distributors, and foreign suppliers.

    Deliverables: All 5 document templates, submission tests, Self-Billed eligibility checklist
API Completeness
8 / 8
IRBM API endpoints implemented
  • Authentication (OAuth 2.0 token flow)
  • Submit document
  • Get submission & document status
  • Cancel & reject document
  • Search / list documents
  • Validate taxpayer TIN
Get a Free Assessment →
Let's Talk

Ready to Connect Your
Service to MyInvois?

Whether you are building a middleware, connecting an ERP, or assessing your compliance posture — first consultation is complimentary. All three phases are now live.

hello@peppwise.com
Send an Enquiry Book a Discovery Call