Project

General

Profile

Development #7143

Updated by Kyle Chong 3 months ago

Refer to: docs/planning/modules/M09_Refund.md 

 Validate the original transaction Refund (M09) (docs/planning/modules/M09_Refund.md). Build refund checks, approval/offline decision and requested refund against centrally available transaction/refund information. 

 Scope: 

 * Confirm original transaction exists. 
 * Confirm transaction was successfully completed. 
 * Confirm transaction has not been voided/reversed where applicable. 
 * Check whether the transaction has already been fully refunded. 
 * Check previously refunded quantities. 
 * Calculate remaining refundable quantity per item. 
 * Apply refund period/date rules where configured. 
 * Validate Store/Country refund restrictions. 
 * Validate whether cross-store refund is permitted. 
 * Validate item-specific refund restrictions where applicable. 
 * Return clear eligibility status/reason to Cashier. 
 * Prevent duplicate refund against the same quantity. 
 *  
 Example: 

 Purchased Qty 3 → Previously Refunded Qty 1 → Remaining Refundable Qty 2 

 compensating ledger/outbox record. Done when: POS+ can determine centrally whether the receipt when partial/full/duplicate/refused cases pass and each item/quantity remain eligible for refund. inventory follows disposition.

Back