You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The voucher tax logic assumes that tax is either included in price or excluded from price across all line items of the discounted order. But multiple tax rates can apply to the same product and therefore one line item can have included and excluded tax. I even heard stories of that applying in real life in some countries. 🙃
If some line items have included and excluded tax then the applied voucher also has included and excluded tax respectively.
Actual Behaviour
If some line items have excluded tax then the voucher only looks as excluded tax and doesn't contain included tax.
Steps to Reproduce
Create two tax rates, one included in price and one additional.
Apply both tax rates to some products and some fees.
Add items with and without tax to an order.
Apply a voucher.
Verify the calculations. Included and excluded tax should be displayed.
Animated Gif/Screenshot
Workaround
Severity
On a bug level it's only an s5 but this is also tech debt. I think that resolving this issue will make vouchers more robust and it will make testing easier with less confusion.
Your Environment
Version used:
Browser name and version:
Operating System and version (desktop or mobile):
Possible Fix
The text was updated successfully, but these errors were encountered:
Description
The voucher tax logic assumes that tax is either included in price or excluded from price across all line items of the discounted order. But multiple tax rates can apply to the same product and therefore one line item can have included and excluded tax. I even heard stories of that applying in real life in some countries. 🙃
Expected Behavior
If some line items have included and excluded tax then the applied voucher also has included and excluded tax respectively.
Actual Behaviour
If some line items have excluded tax then the voucher only looks as excluded tax and doesn't contain included tax.
Steps to Reproduce
Animated Gif/Screenshot
Workaround
Severity
On a bug level it's only an s5 but this is also tech debt. I think that resolving this issue will make vouchers more robust and it will make testing easier with less confusion.
Your Environment
Possible Fix
The text was updated successfully, but these errors were encountered: