Using Crediflow as an access point

When using Crediflow as the access point for sending e-invoices, the invoice flow follows a similar structure as direct API integration, with the following steps:

  1. Once an invoice is approved, Monitor ERP sends the invoice to Crediflow’s LHDN CTC endpoint. Crediflow then forwards the invoice to LHDN for approval and registration, the invoice status are set to:
    1. Invoice status in Monitor ERP = 8 (Approved).
    2. LHDN status on invoice = Sent for approval.
Note: At this stage, the invoice cannot be printed or distributed to the customer. Distribution is only allowed once confirmation is received from LHDN.
  1. Crediflow receives confirmation from LHDN that the invoice has been successfully validated and registered. It returns LHDN data such as the unique identifier number and invoice date. Monitor ERP then polls the Crediflow API to retrieves this data, stores it on the corresponding invoice, and updates the LHDN status on invoice to Approved.
  2. When the LHDN invoice status is Approved, the invoice is ready to be distributed to the customer via Print invoice procedure. The invoice can then be sent to the customer as normal, according to the setting either via paper print, e-mail (M2M+PDF) or as an e-invoice via Crediflow (Peppol network).

Summary

An invoice must be approved by LHDN before it can be printed or distributed. Therefore, even after an invoice is approved in Monitor ERP (Status = 8), it cannot be sent to the customer until the LHDN status is updated to Approved.