|View Revisions: Issue #43219|
|Summary||0043219: Web POS should calculate taxes based on store address instead of customer address|
|Revision||2020-02-18 10:43 by aferraz|
|Description||As part of IndexedDB project, tax calculation in Web POS will be refactored.
A new tax engine will be developed as a function that can be called from Web POS or any other system (backoffice, ecommerce, etc.).
Country and region will be properties of the ticket sent to the new engine. These parameters will be sent at ticket line level. Thus, engine will calculate which tax rules apply to each ticket line based on line country and region.
Those properties will be sent from Web POS as follows:
- If the ticket line is Home Delivery, business partner delivery address will be sent.
- Otherwise, line organization address will be sent:
-- If the line belongs to the current store, touchpoint store address will be sent.
-- If the line belongs to a cross store, cross store address will be sent.
|Revision||2020-02-13 17:05 by aferraz|
|Description||Web POS should calculate taxes based on store address instead of customer address|
|Copyright © 2000 - 2009 MantisBT Group|