Project

General

Profile

Actions

Development #7820

open

Feature #7192: E-Invoice Integration (M20)

Send e-Invoice request to POS+ Backend

Added by Kyle Chong 3 months ago.

Status:
New
Assignee:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Complete Date:

Description

Refer to:

  • docs/planning/modules/M20_EInvoice.md
  • applicable Backend/API architecture MD

Implement Cashier → POS+ Backend e-Invoice submission.

Scope:

  • Send the prepared e-Invoice request to Backend.
  • Include the jurisdiction/country so Backend can route it to the applicable country integration.
  • Include a unique request/reference ID.
  • Support idempotent retry.
  • Handle Backend success response.
  • Handle validation rejection.
  • Handle temporary/unavailable response.
  • Handle timeout/unknown result safely.
  • Update the local e-Invoice submission status.
  • Do not submit directly from Cashier to MyInvois or another government platform.
  • Do not create separate Cashier APIs for every country where a common Backend contract can be used.

Conceptually:

Cashier → POS+ Backend → Country-specific E-Invoice Integration

For Malaysia:

Cashier → POS+ Backend → Malaysia E-Invoice Integration → MyInvois

Future jurisdictions can use the same Cashier-side contract while Backend handles their respective downstream integration.

Done when: Cashier can reliably submit an e-Invoice request to Backend and track the submission result without directly integrating with the jurisdiction platform.

No data to display

Actions

Also available in: Atom PDF