Projekt

Allgemein

Profil

Aktionen

GX-Bug #70195

geschlossen

Ein Kupon mit Erstattung der Versandkosten berechnet die MwSt. falsch, sofern der Warenkorb mehrere MwSt.-Sätze enthält | A coupon with refund of shipping costs calculates VAT incorrectly if the shopping cart contains multiple VAT rates

Von Moritz Bunjes vor mehr als 1 Jahr hinzugefügt. Vor mehr als 1 Jahr aktualisiert.

Status:
Erledigt
Priorität:
Dringend
Zugewiesen an:
Ahmed Hamouda
Kategorie:
Frontend
Zielversion:
% erledigt:

0%

Geschätzter Aufwand:
Steps to reproduce:
Betroffene Versionen:
4.7.2.0 beta1
Release Notes Langtext:

Ein Rabatt-Kupon mit Erstattung der Versandkosten berechnet die neue MwSt. jetzt wieder korrekt


Beschreibung

Macht ein Rabatt-Kupon die Bestellung versandkostenfrei, so wird aktuell der Rabatt-Kupon-Wert korrekterweise um den Wert der Versandkosten erhöht. Dieser Gesamtwert wird jedoch dann anteilig auf alle Posten der Bestellung verteilt, wenn es um Neuberechnung der MwSt. geht. Allerdings müssen die Versandkosten gesondert berücksichtigt werden. Der gesamte Steueranteil der Versandkosten muss reduziert werden. Was dann noch übrig bleibt darf erst anteilig auf alle anderen Posten der Bestellung verteilt werden.


If a discount coupon makes the order free of shipping costs, the discount coupon value is currently correctly increased by the value of the shipping costs. However, this total value is then distributed proportionally to all items of the order when it comes to recalculation of VAT. However, the shipping costs must be taken into account separately. The total tax portion of the shipping costs must be reduced. What then remains may only be distributed proportionally to all other items of the order.

Steps to reproduce:

  1. Create a 10 EUR (gross) product with 19% VAT
  2. Create a 10 EUR (gross) product with 7% VAT
  3. Set the default shipping to 5 EUR (net) and assign the 19% tax class
  4. Ensure the "Gift vouchers and coupons" module in the Modules Center is installed
  5. Create a coupon with a value of 1 EUR and free shipping option activated
  6. Add the created products to the cart and redeem the coupon.

Expected
Coupon value: 6,95 EUR (5,95 EUR shipping costs + 1 EUR coupon value)
Products are reduced by 0,50 EUR (50% of 1 EUR for each product) resulting in the following VAT values
7%: 0,62 EUR (-1 * 9,50 / 1,07 + 9,50)
19%: 1,52 EUR (-1 * 9,50 / 1,19 + 9,50)

Actual
Coupon value: 6,95 EUR (5,95 EUR shipping costs + 1 EUR coupon value)
Products are reduced by 0,50 EUR (50% of 1 EUR for each product) resulting in the following VAT values
7%: 0,43 EUR
19%: 1,66 EUR


Dateien

2022-12-12_18-26.png (64,6 KB) 2022-12-12_18-26.png Moritz Bunjes, 12.12.2022 18:44
2022-12-12_18-27.png (64,2 KB) 2022-12-12_18-27.png Moritz Bunjes, 12.12.2022 18:44
Bildschirmfoto vom 2022-12-12 18-28-49.png (130 KB) Bildschirmfoto vom 2022-12-12 18-28-49.png Moritz Bunjes, 12.12.2022 18:44
2022-12-12_18-49.png (178 KB) 2022-12-12_18-49.png Moritz Bunjes, 12.12.2022 18:49

Aktionen #2

Von Moritz Bunjes vor mehr als 1 Jahr aktualisiert

  • Status wurde von In Bearbeitung zu Testing geändert
  • Zugewiesen an Moritz Bunjes wurde gelöscht
Aktionen #4

Von Moritz Bunjes vor mehr als 1 Jahr aktualisiert

Aktionen #5

Von Moritz Bunjes vor mehr als 1 Jahr aktualisiert

  • Priorität wurde von Normal zu Dringend geändert
Aktionen #6

Von Marvin Muxfeld vor mehr als 1 Jahr aktualisiert

  • Zugewiesen an wurde auf Marvin Muxfeld gesetzt
Aktionen #7

Von Marvin Muxfeld vor mehr als 1 Jahr aktualisiert

  • Zugewiesen an Marvin Muxfeld wurde gelöscht
Aktionen #8

Von Ahmed Hamouda vor mehr als 1 Jahr aktualisiert

  • Zugewiesen an wurde auf Ahmed Hamouda gesetzt
Aktionen #9

Von Ahmed Hamouda vor mehr als 1 Jahr aktualisiert

  • Status wurde von Testing zu Gelöst geändert
Aktionen #10

Von Ahmed Hamouda vor mehr als 1 Jahr aktualisiert

  • Status wurde von Gelöst zu Testing geändert
Aktionen #11

Von Ahmed Hamouda vor mehr als 1 Jahr aktualisiert

  • Status wurde von Testing zu Erledigt geändert
Aktionen #12

Von Moritz Bunjes vor mehr als 1 Jahr aktualisiert

  • Tags 4.7.2.0_final wurde gelöscht
Aktionen

Auch abrufbar als: Atom PDF