Skip to main content

Malaysia E-invoicing API Docs

At Complyance, we provide comprehensive e-invoicing solutions tailored to the regulatory requirements of Malaysia. We currently offer two distinct e-invoicing solutions for businesses operating in Malaysia:

  • PEPPOL Solution: Our PEPPOL-compliant e-invoicing solution ensures seamless integration with the global PEPPOL network, allowing businesses to send and receive electronic invoices in a standardized format that meets international standards.

  • Non-PEPPOL (LHDN) Solution: For businesses required to comply with Malaysia’s Inland Revenue Board (LHDN) regulations, we offer a non-PEPPOL e-invoicing solution designed to meet the specific needs of local compliance.

Both solutions are aimed at simplifying the invoicing process, improving operational efficiency, and ensuring businesses remain compliant with Malaysian e-invoicing regulations. With Complyance, you can confidently manage your invoicing needs while reducing costs and complexity.

Malaysia LHDN B2B E-Invoicing API Workflow

signinflow

This documentation outlines the B2B workflow for issuing and managing e-invoices in Malaysia, ensuring compliance with LHDN (Lembaga Hasil Dalam Negeri). It includes all steps from invoice issuance, validation, storage, and notifications involving suppliers, buyers, and the IRBM system.


Overview

The Malaysia LHDN B2B E-Invoicing API is designed to automate the e-invoicing process between suppliers, buyers, and Malaysia’s tax authority (LHDN). It facilitates issuing, validating, sharing, and storing invoices via the IRBM Cloud and database while ensuring full compliance with Malaysian tax regulations.

The core entities in this flow are:

  • Supplier: Issues invoices, credit/debit notes, and refund requests.
  • Buyer: Receives and manages the invoice, including the ability to request cancellations.
  • IRBM Cloud: Handles the storage and processing of invoices.
  • IRBM Database: Stores validated invoices for record-keeping.

LHDN E-invoicing B2C Workflow

This workflow demonstrates the process of issuing and managing e-invoices from a point-of-sale (POS) machine through LHDN and the compliance cloud platform for B2C transactions.

LHDN B2C Workflow

Workflow Steps

1. POS Machine Receipts

  • The buyer makes a purchase and receives a normal receipt from the supplier through the POS machine, which follows the current business practice.
  • No immediate e-invoice is required in this step.

2. Sending Receipts to Cloud

  • The POS machine sends the receipt details to the Compliance Cloud Platform for further processing and potential generation of an e-invoice.

3. E-Invoice Requested Later

  • Step 3a: The buyer can request an e-invoice at a later time. The request is forwarded to Manager Assist.
  • Step 3b: The buyer can also scan a QR code on the receipt for e-invoice generation.

Once a request is made, the information is forwarded to the compliance cloud platform, where the buyer is directed to a portal to fill in details for the e-invoice.

4. E-Invoice Requested Instantly

  • Step 4a: If an e-invoice is required immediately, the buyer can open a link received via SMS on their registered phone number. This request is also processed by the cloud platform.

5. No E-Invoice Required

  • If the buyer does not request an e-invoice, the process ends, and the receipt remains as per usual.

Supplier Monthly Consolidation

6. Supplier Consolidation

  • The supplier consolidates all receipts on a monthly basis, preparing them for submission to LHDN.

7. E-Invoice Validation

  • The supplier issues a consolidated e-invoice in XML or JSON format and submits it to LHDN via the compliance cloud platform.
  • This process ensures that all transactions are validated and comply with LHDN regulations.

By following this flow, suppliers and buyers ensure compliance with LHDN's e-invoicing requirements, while maintaining flexibility for immediate or deferred e-invoice requests.