Development #7447
openFeature #7092: Tax Calculation (M04)
Persist tax details into transactions.db
0%
Description
Refer to:
- docs/planning/modules/M04_Tax_Calculation.md
- docs/planning/modules/M03_POS_Terminal_Cart.md
Extend completed M03 transaction persistence to retain the tax calculation result.
Scope:
Store applicable tax information at transaction/cart-line level.
Store tax code/type.
Store tax rate.
Store taxable amount.
Store tax amount.
Store multiple tax components where applicable.
Store sufficient information to reproduce/audit the tax applied at the time of sale.
Do not rely only on the current tax master after the transaction has completed.
This is important because tax configuration may change later while historical transactions must continue showing the original tax calculation.
Done when: A completed transaction in transactions.db contains the complete tax result that was applied during the sale.
No data to display