Actions
Development #7095
openFeature #7092: Tax Calculation (M04)
Integrate tax calculation into M03 Cart & Checkout
Status:
New
Assignee:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Complete Date:
Description
Refer to:
- docs/planning/modules/M04_Tax_Calculation.md
- docs/planning/modules/M03_POS_Terminal_Cart.md
Integrate M04 into the existing M03 sales transaction lifecycle.
Scope:
- Calculate tax when product is added to cart.
- Recalculate when quantity changes.
- Recalculate when applicable price changes.
- Recalculate after applicable M05 discount adjustments once M05 is integrated.
- Update cart-line taxable amount.
- Update cart-line tax amount.
- Update transaction-level tax totals.
- Include tax in final payable amount according to inclusive/exclusive configuration.
- Ensure Payment uses the final calculated transaction amount.
Target calculation pipeline:
Product/Price → Discount (M05 where applicable) → Tax (M04) → Final Line Amount → Cart Total → Payment
Exact ordering should follow the documented country/business rules where a jurisdiction requires different treatment.
Done when: Tax is automatically calculated/recalculated throughout the M03 Cart and the correct final amount is passed to Payment.
Actions