View Issue Details

IDProjectCategoryView StatusLast Update
0006404OXID eShop (all versions)1.02. Price calculations (discounts, coupons, additional costs etc.)public2024-03-27 09:35
Reporterfricca Assigned To 
Status confirmedResolutionopen 
Product Version4.9.8 / 5.2.8 
Summary0006404: Wrong vat calculation for vouchers in baskets with mixed vat rates
DescriptionIf a voucher/coupon is valid for only part of the articles in a basket and the articles have different vat rates, the taxes and netto sum are calculated as if the voucher was valid for all.
Steps To Reproduce1. Create voucher (= coupon series) with discount 10% (in test: test10perc).
2. Assign product to series (in test: 1503 Smart Loop NAISH).
3. Assign "Spec. VAT" to one article (in test: 7% for 2401 Binding O'BRIEN DECADE CT 2010).
4. Add both articles to basket.
5. Apply coupon.

Screenshot part 1: basket without coupon
Tax 7% is 23,49 €.
Tax 19% is 16,76 €.

Screenshot part 2: basket with coupon 10% for 1503
Tax 7% is 22,95 €.
The 19% tax is 16,39 €.
Both taxes are reduced to 0000148:0000097.7%, but only the 19% tax should be reduced to 90%. The 7% tax should stay untouched.
As a result the netto sum is also wrong.

Screenshot part 3: basket with coupon for 1503 and 2401 with option "Skip all negative Discounts".
Tax 7% is 23,49 €.
Tax 19% is 15,09 €.
Taxes and netto sum are correct.
Additional InformationThis is not fixed with

In ff. all vats are reduced except for articles that have set the option "Skip all negative discounts".
This workaround was already described in the following bug report

TagsNo tags attached.
Attached Files
coupon_wrong_mixed_vats.jpg (209,850 bytes)   
coupon_wrong_mixed_vats.jpg (209,850 bytes)   
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined


parent of 0005795 resolvedanton.fedurtsya Percentual voucher assigned to article leads to wrong VAT and netto sum calculation in mixed baskets 



2024-03-18 18:44

administrator   ~0016434

QA - SG -
voucher_test_case1.PNG (47,111 bytes)   
voucher_test_case1.PNG (47,111 bytes)   
voucher_test_case2.PNG (53,454 bytes)   
voucher_test_case2.PNG (53,454 bytes)