Project

General

Profile

Actions

Development #7819

open

Feature #7192: E-Invoice Integration (M20)

Queue e-Invoice requests while offline

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 POS+ synchronization architecture MD

Allow normal POS operation when Backend is temporarily unavailable.

Scope:

  • Save the e-Invoice request locally before attempting submission.
  • Track submission status.
  • Queue eligible requests when Backend is unavailable.
  • Do not lose the request when Cashier is restarted.
  • Retry pending requests when connectivity is restored.
  • Prevent duplicate queue records/submissions.
  • Preserve the original transaction and customer snapshot.
  • Track failed requests requiring retry or attention.
  • Do not block the completed retail sale purely because Backend is temporarily offline unless the applicable jurisdiction explicitly requires otherwise.

Typical status flow can follow the MD/data model, for example:

Pending → Sending → Submitted

or

Pending → Sending → Failed → Retry

Done when: An e-Invoice request created while offline remains safely queued and can be submitted after Backend connectivity is restored.

No data to display

Actions

Also available in: Atom PDF