Project

General

Profile

Development #7193

Updated by Kyle Chong 3 months ago

Refer to: 

 * docs/planning/modules/M20_EInvoice.md 
 * relevant legacy FPOS e-Invoice/country references 
 * applicable database design MDs 

 E-Invoice Integration (M20) (docs/planning/modules/M20_EInvoice.md). Build a common POS-side e-Invoice field Cashier-to-Backend e-invoice flow; never call LHDN from POS. Cover validation, queued retry, status and validation framework that can support different jurisdiction requirements. 

 Scope: 

 * Identify the common e-Invoice information already available from the POS transaction. 
 * Identify customer information required for e-Invoice. 
 * Support jurisdiction-specific required/optional fields. 
 * Support jurisdiction-specific validation rules. 
 * Determine applicable e-Invoice requirements from the current store/country configuration. 
 * Do not display fields belonging to another jurisdiction. 
 * Reuse existing customer/master information where available instead of requiring duplicate entry. 
 * Validate required information before creating the e-Invoice request. 
 * Return clear validation messages to Cashier. 
 * Keep the design extensible for additional countries. 

 Examples of information may include: 

 * Customer name. 
 * Identification type. 
 * Identification number. 
 * TIN/Tax ID. 
 * Business registration number. 
 * Address. 
 * Country. 
 * State. 
 * Contact information. 
 * Tax information. 
 * Transaction/document information. 

 The actual required fields depend on the applicable jurisdiction. 

 linkage. Done when: POS+ can determine and validate the required e-Invoice information according to the applicable jurisdiction without maintaining separate Cashier implementations for each country. when online/offline scenarios pass.

Back