]> wagnertech.de Git - mfinanz.git/blobdiff - SL/USTVA.pm
USTVA: kivi special fields auch für 7%
[mfinanz.git] / SL / USTVA.pm
index 7fb3997bbf82f9c16489ebdd050915c46adef878..22d12cecf0909adf199590342b137ff0e447d1f9 100644 (file)
@@ -868,13 +868,19 @@ sub get_accounts_ustva {
         $form->{"pos_ustva_86b_kivi"} += $ref->{amount};
       } elsif ($ref->{rate} == 0.19) {
         # pos_ustva says 16, but rate says 19
-        # (pos_ustva should be tax dependant and not taxkeys dependant)
+        # (pos_ustva should be tax dependent and not taxkeys dependent)
         # correction hotfix for this case:
         # bookings exists with 19% ->
         # move 19% bookings to the 19% position
         # Dont rely on dates of taxkeys
         $corr = 1;
         $form->{"81"} += $ref->{amount};
+      }  elsif ($ref->{rate} == 0.07) {
+        # pos_ustva says 5, but rate says 7
+        # see comment above:
+        # Dont rely on dates of taxkeys
+        $corr = 1;
+        $form->{"86"} += $ref->{amount};
       } else {die ("No valid tax rate for pos 35" . Dumper($ref)); }
     }
     # USTVA Pos 36 (Steuerkonten)