Version 0.7.0: Kantonstarife 2026 (taxCH_AI/AR/SG/GR)

This commit is contained in:
wkh
2026-10-12 00:27:06 +02:00
parent a02e5cb109
commit 80941b6f03
11 changed files with 148 additions and 5 deletions
+13
View File
@@ -812,6 +812,19 @@ class TaxTablesTest < RdbCase
assert_equal 0, tax(15_855, 'taxLI2026')
end
def test_swiss_cantons_2026_einfache_staatssteuer
assert_equal 3770, tax(60_000, 'taxCH_AI2026') # 2 070 + 8,5 % of 20 000
assert_equal 16_000, tax(200_000, 'taxCH_AI2026')
assert_equal 24_000, tax(300_000, 'taxCH_AI2026') # 8 % of the whole income
assert_equal 1065, tax(60_000, 'taxCH_AR2026')
assert_equal 3344, tax(60_000, 'taxCH_SG2026') # 1 248 + 8 % + 9,2 % pieces
assert_equal 25_500, tax(300_000, 'taxCH_SG2026') # 8,5 % of the whole income
assert_equal 3748, tax(60_000, 'taxCH_GR2026')
assert_equal 0, tax(16_895, 'taxCH_GR2026')
assert_equal 20, tax(5_000, 'taxCH_AI2026') # 1 % of 2 000
%w[AR SG GR].each { |c| assert_equal 0, tax(5_000, "taxCH_#{c}2026") }
end
# § 32a EStG: the table is a straight-line approximation of the curved zones
def test_de_2026_follows_the_formula
[12_348, 14_000, 17_799, 20_000, 33_333, 50_000, 69_878, 100_000, 277_825, 300_000].each do |x|