X-Git-Url: http://wagnertech.de/git?p=kivitendo-erp.git;a=blobdiff_plain;f=sql%2FPg-upgrade2%2Fsteuerfilterung.pl;fp=sql%2FPg-upgrade2%2Fsteuerfilterung.pl;h=b7be34167028578d4447cc4d650f2910a44f3cb7;hp=655d28f5e5ae50873b285624db1c7317aa6d3b45;hb=53593baa211863fbf66540cf1bcc36c8fb37257f;hpb=deb4d2dbb676d7d6f69dfe7815d6e0cb09bd4a44 diff --git a/sql/Pg-upgrade2/steuerfilterung.pl b/sql/Pg-upgrade2/steuerfilterung.pl index 655d28f5e..b7be34167 100644 --- a/sql/Pg-upgrade2/steuerfilterung.pl +++ b/sql/Pg-upgrade2/steuerfilterung.pl @@ -36,6 +36,7 @@ sub run { } my @well_known_taxes = ( + # German SKR03 { taxkey => 0, rate => 0, taxdescription => qr{keine.*steuer}i, categories => 'ALQCIE' }, { taxkey => 1, rate => 0, taxdescription => qr{frei}i, categories => 'ALQCIE' }, { taxkey => 2, rate => 0.07, taxdescription => qr{umsatzsteuer}i, categories => 'I' }, @@ -56,7 +57,15 @@ sub run { { taxkey => 18, rate => 0.07, taxdescription => qr{innergem.*erwerb.*erm}i, categories => 'E' }, { taxkey => 19, rate => 0.16, taxdescription => qr{innergem.*erwerb.*voll}i, categories => 'E' }, { taxkey => 19, rate => 0.19, taxdescription => qr{innergem.*erwerb.*voll}i, categories => 'E' }, - ); + + # Swiss + { taxkey => 2, rate => 0.08, taxdescription => qr{mwst}i, categories => 'I' }, + { taxkey => 3, rate => 0.025, taxdescription => qr{mwst}i, categories => 'I' }, + { taxkey => 4, rate => 0.08, taxdescription => qr{mwst}i, categories => 'E' }, + { taxkey => 5, rate => 0.025, taxdescription => qr{mwst}i, categories => 'E' }, + { taxkey => 6, rate => 0.08, taxdescription => qr{mwst}i, categories => 'E' }, + { taxkey => 7, rate => 0.025, taxdescription => qr{mwst}i, categories => 'E' }, + ); $query = qq|SELECT taxkey, taxdescription, rate, id AS tax_id FROM tax order by taxkey, rate;|;