Improvement
Feb 26, 2026
2026-02-26 — Refactor: Order Total Tax Handling (Wide-Scope)
We completed a major refactor of order-total tax handling to use stored orders total tax amount consistently across the stack.
This has broad implications for ERP order payload generation (Lemonsoft, Tehden, Netvisor etc.) and admin-side order update/create flows, including mixed-tax scenarios.
Key outcomes:
Removed legacy/workaround tax derivation paths from order-total rows.
Improved robustness for rows like Shipping, Cod, and payment-fee totals.
Standardized tax persistence and consumption in admin order editing and order creation flows.
Verified behavior with unit/regression test coverage; results are green.

