Development #7196
Updated by Kyle Chong 3 months ago
Refer to: * docs/planning/modules/M20_EInvoice.md * docs/planning/modules/M03_POS_Terminal_Cart.md * applicable transaction/tax/payment MDs E-Invoice Integration (M20) (docs/planning/modules/M20_EInvoice.md). Build the e-Invoice request using the completed POS transaction and captured customer information. Scope: * Link the request to the original POS transaction. * Include transaction/document number. * Include Business Date and transaction date/time. * Include Store/Terminal information. * Include seller/entity information available to Cashier-to-Backend e-invoice flow; never call LHDN from POS. * Include customer/e-Invoice information. * Include item details. * Include quantity Cover validation, queued retry, status and price. * Include discounts where applicable. * Include tax information. * Include transaction totals. * Include payment information where required. * Include jurisdiction/country identifier. * Preserve the required transaction snapshot used to create the e-Invoice. * Generate a unique request/reference identifier to prevent duplicate processing. linkage. Done when: POS+ can generate a complete e-Invoice request from the final transaction data according to the applicable jurisdiction profile. when online/offline scenarios pass.