Development #7195
Updated by Kyle Chong 3 months ago
Refer to: * docs/planning/modules/M20_EInvoice.md * applicable customer module MD * relevant legacy FPOS customer-address/e-Invoice references E-Invoice Integration (M20) (docs/planning/modules/M20_EInvoice.md). Build the Cashier UI for capturing or confirming the customer information required for e-Invoice. Scope: * Open the e-Invoice customer-information screen Cashier-to-Backend e-invoice flow; never call LHDN from the applicable transaction flow. * Display fields according to the applicable jurisdiction. * Hide fields that are not applicable. * Pre-fill information from existing customer/master data where available. * Allow Cashier to complete missing information. * Validate before accepting the information. * Associate the captured customer information with the correct transaction. * Preserve the submitted transaction/customer snapshot rather than depending only on subsequently changed customer master data. * Allow applicable correction before the e-Invoice request is submitted. For Malaysia, this screen should support the fields required by the Malaysia implementation in Development 2. POS. Cover validation, queued retry, status and linkage. Done when: Cashier can capture/confirm all applicable e-Invoice customer information required for the current jurisdiction. when online/offline scenarios pass.