Development #9183
closedFeature #9179: QubeBiz POS Configuration Enhancement & Kafka Integration
QubeBiz Voucher Configuration Enhancement
100%
Description
Development Scope
- Voucher Types
Review and support the following voucher scenarios:
- Item-Level Discount Voucher.
- Bill-Level Discount Voucher.
- Fixed Amount Voucher.
- Percentage Discount Voucher.
- Minimum Spending Voucher.
- Other existing QubeBiz voucher types.
- Configuration Enhancement
Ensure the voucher configurations provide:
- Voucher Type and Code.
- Voucher Value / Discount Percentage.
- Applicable Items / Categories.
- Minimum Spending Requirements.
- Voucher Eligibility Conditions.
- Voucher Effective Date and Expiry Date.
- Voucher Application Priority.
- Voucher Combination / Stacking Restrictions.
- Maximum Deduction Amount, where applicable.
- Voucher Calculation Method.
- POS+ Integration
Ensure POS+ can use the synchronized configuration to:
- Identify the applicable voucher type.
- Validate voucher eligibility and minimum spending requirements.
- Calculate item-level or bill-level voucher deductions.
- Apply vouchers according to the configured sequence and restrictions.
- Determine the remaining payable amount after voucher deductions.
- Store voucher references, applied amounts, and deduction breakdowns in the transaction database.
Acceptance Criteria
- Existing voucher configurations reviewed.
- Required voucher types supported.
- Minimum spending and eligibility conditions supported.
- Voucher application priorities and restrictions defined.
- Required voucher configuration data available through QubeBiz API.
- Voucher configuration prepared for Kafka synchronization.
- Configuration provides sufficient information for POS+ voucher calculations.
Updated by Kyle Chong about 1 month ago · Edited
- Status changed from New to Dev In Progress
Status changed from 'New' to 'Dev In Progress'
Updated by Lee Chui Teng about 1 month ago
- Due date set to 21/10/2026
- Start date set to 13/10/2026
Updated by Lee Chui Teng about 1 month ago
- Due date changed from 21/10/2026 to 13/11/2026
Updated by Lee Chui Teng 8 days ago · Edited
-
Voucher Creation and Management (QubeBiz)
Support single voucher and voucher book creation.
Display and save relevant configuration fields based on the selected voucher type.
Generate unique barcodes for individual voucher copies.
Maintain voucher copy records when voucher book configurations are updated.
Preserve existing voucher barcodes and deactivate unused copies instead of deleting them. -
Voucher Synchronization (QubeBiz → QubePOS)
Publish voucher configurations and individual voucher copies through Kafka.
Synchronize voucher records from the Store Backend to POS+ cashier terminals.
Ensure voucher configurations, statuses, and validation settings are transferred correctly.
Support full voucher republication for data recovery and resynchronization. -
Voucher Scanning and Validation (POS+)
Support voucher barcode scanning and manual code entry.
Perform local voucher lookup and validation.
Validate voucher status, expiry date, redemption status, usage limits, and minimum spending requirements.
Perform cloud validation through the Store Backend for vouchers requiring online verification.
Display appropriate validation errors and voucher availability messages. -
Voucher Redemption and Payment Processing
Integrate voucher redemption into the POS+ payment workflow.
Submit all receipt vouchers in a single redemption request.
Ensure atomic redemption processing to prevent partial redemption.
Prevent payment continuation when required voucher redemption fails.
Implement idempotency handling to prevent duplicate redemption during retries.
Restrict voucher book redemption to individual voucher copy barcodes. -
Offline Voucher Handling
Monitor voucher service connectivity and availability.
Restrict vouchers requiring online validation when the cloud service is unavailable.
Allow local processing of vouchers that do not require online validation.
Display clear service availability and validation messages. -
Voucher Usage Tracking and History
Track total voucher copies, redeemed copies, and total redemption usage separately.
Maintain individual voucher redemption records.
Provide voucher usage history through QubeBiz Admin.
Ensure voucher usage counts remain consistent with redemption records. -
Voucher Data Migration and Maintenance
Identify and repair existing voucher books with missing voucher copies.
Support batch generation and republication of missing voucher records.
Implement required voucher database schema changes.
Introduce a voucher redemption ledger for individual usage tracking.
Migrate existing usage data and remove obsolete database columns.
Seed required voucher-related translations.
Current: Progress Blocked due to database changes
Updated by Lee Chui Teng 6 days ago
- Status changed from Dev In Progress to Closed
- Complete Date set to 17/11/2026