Project

General

Profile

Actions

Development #7095

open

Feature #7092: Tax Calculation (M04)

Integrate tax calculation into M03 Cart & Checkout

Added by Kyle Chong 3 months ago. Updated 3 months ago.

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 #1

Updated by Kyle Chong 3 months ago · Edited

  • Status set to New
  • Subject set to Support compound multi-tax calculation
  • Tracker set to Development
  • Priority set to Medium
  • Parent task set to #7092
  • % Done set to 0

Issue created

Actions #2

Updated by Kyle Chong 3 months ago

  • Subject changed from Support compound multi-tax calculation to Integrate tax calculation into M03 Cart & Checkout
  • Description updated (diff)
Actions

Also available in: Atom PDF