From 0222cabda464396e023a4cd508fb1119de9c27d3 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Wed, 7 Oct 2026 16:07:25 -0400 Subject: [PATCH 1/6] Cap Montana's 2021-2023 SALT deduction once per joint return and at $5,000 per separate column Form 2, Itemized Deductions Schedule, line 5 (2021-2023) adds lines 5a through 5d and caps the total at $10,000 (single, head of household, married filing jointly) or $5,000 (married filing separately). - mt_salt_deduction: a joint return's taxes are pooled and capped once, on the head. It had capped each spouse separately, so a couple with $8,000 each deducted $16,000. - mt_salt_deduction_indiv (new): each column of a return filed separately on the same form (status 2a) is capped at $5,000. The separate-columns path had used the tax unit's joint cap ($10,000). - Line 5a: add the tax unit's general sales taxes (state_sales_tax, local_sales_tax), split equally between a couple's columns. - From 2024 (schedule discontinued) the per-person amounts are as before; the 2024 Worksheet A change is separate. The 2021-2023 switch is gov.states.mt.tax.income.deductions.itemized. state_specific_deduction_applies, byte-identical to the file in #9903 and #9947. Co-Authored-By: Claude Opus 5.5 --- .../fix-mt-salt-cap-joint-return.fixed.md | 1 + .../state_specific_deduction_applies.yaml | 16 + ...uctions_for_federal_itemization_indiv.yaml | 12 +- .../mt_itemized_deductions_indiv.yaml | 12 +- .../itemized/mt_salt_deduction.yaml | 92 ++++++ .../itemized/mt_salt_deduction_indiv.yaml | 149 +++++++++ .../test_mt_salt_deduction_invariants.py | 287 ++++++++++++++++++ ...eductions_for_federal_itemization_indiv.py | 2 +- .../general/mt_itemized_deductions_indiv.py | 2 +- .../itemized/salt/mt_salt_deduction.py | 45 ++- .../itemized/salt/mt_salt_deduction_indiv.py | 47 +++ 11 files changed, 643 insertions(+), 22 deletions(-) create mode 100644 changelog.d/fix-mt-salt-cap-joint-return.fixed.md create mode 100644 policyengine_us/parameters/gov/states/mt/tax/income/deductions/itemized/state_specific_deduction_applies.yaml create mode 100644 policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction_indiv.yaml create mode 100644 policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/test_mt_salt_deduction_invariants.py create mode 100644 policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction_indiv.py diff --git a/changelog.d/fix-mt-salt-cap-joint-return.fixed.md b/changelog.d/fix-mt-salt-cap-joint-return.fixed.md new file mode 100644 index 00000000000..925a0a126f2 --- /dev/null +++ b/changelog.d/fix-mt-salt-cap-joint-return.fixed.md @@ -0,0 +1 @@ +Cap Montana's 2021–2023 state and local tax deduction (Itemized Deductions Schedule, line 5) once for a joint return and at $5,000 in each spouse's column when filing separately on the same form, and include general sales taxes (line 5a). diff --git a/policyengine_us/parameters/gov/states/mt/tax/income/deductions/itemized/state_specific_deduction_applies.yaml b/policyengine_us/parameters/gov/states/mt/tax/income/deductions/itemized/state_specific_deduction_applies.yaml new file mode 100644 index 00000000000..8b6d63360ab --- /dev/null +++ b/policyengine_us/parameters/gov/states/mt/tax/income/deductions/itemized/state_specific_deduction_applies.yaml @@ -0,0 +1,16 @@ +description: Montana computes itemized deductions on its own Itemized Deductions Schedule, in lieu of adjusted federal itemized deductions, if this is true. +metadata: + label: Montana state specific itemized deductions apply + period: year + unit: bool + reference: + - title: Montana Individual Income Tax Return (Form 2) 2023 | Itemized Deductions Schedule + href: https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2023_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7 + - title: 2024 Montana Form 2 Instructions | Discontinued Worksheets and Schedules + href: https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2024_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=8 + - title: 2024 Montana Form 2 Instructions | Line 2 and Worksheet A, Adjusted Federal Itemized Deductions + href: https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2024_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=15 + +values: + 2021-01-01: true + 2024-01-01: false diff --git a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_itemized_deductions_for_federal_itemization_indiv.yaml b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_itemized_deductions_for_federal_itemization_indiv.yaml index 4435e64a801..47b6f0f8a7c 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_itemized_deductions_for_federal_itemization_indiv.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_itemized_deductions_for_federal_itemization_indiv.yaml @@ -3,7 +3,7 @@ input: charitable_deduction: 800 investment_interest_expense: 265 - mt_salt_deduction: 5_000 + mt_salt_deduction_indiv: 5_000 mt_medical_expense_deduction_indiv: 1_000 casualty_loss_deduction: 400 mt_child_dependent_care_expense_deduction: 123 @@ -17,7 +17,7 @@ input: charitable_deduction: 0 investment_interest_expense: 1_234 - mt_salt_deduction: 10_000 + mt_salt_deduction_indiv: 10_000 mt_medical_expense_deduction_indiv: 3_000 casualty_loss_deduction: 0 mt_child_dependent_care_expense_deduction: 0 @@ -31,7 +31,7 @@ input: charitable_deduction: 1_000 mortgage_interest: 34 - mt_salt_deduction: 1_035 + mt_salt_deduction_indiv: 1_035 mt_medical_expense_deduction_indiv: 3_000 casualty_loss_deduction: 745 mt_child_dependent_care_expense_deduction: 1_004 @@ -49,20 +49,20 @@ is_tax_unit_head_or_spouse: true mt_misc_deductions: 100 mt_medical_expense_deduction_indiv: 200 - mt_salt_deduction: 300 + mt_salt_deduction_indiv: 300 mt_federal_income_tax_deduction_for_federal_itemization_indiv: 400 person2: is_tax_unit_head_or_spouse: true mt_misc_deductions: 100 mt_medical_expense_deduction_indiv: 200 - mt_salt_deduction: 300 + mt_salt_deduction_indiv: 300 mt_federal_income_tax_deduction_for_federal_itemization_indiv: 100 person3: is_tax_unit_head_or_spouse: false is_tax_unit_dependent: true mt_misc_deductions: 100 mt_medical_expense_deduction_indiv: 12 - mt_salt_deduction: 200 + mt_salt_deduction_indiv: 200 mt_federal_income_tax_deduction_for_federal_itemization_indiv: 100 tax_units: tax_unit: diff --git a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_itemized_deductions_indiv.yaml b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_itemized_deductions_indiv.yaml index 2bc390f8ad3..c10c66239d5 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_itemized_deductions_indiv.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_itemized_deductions_indiv.yaml @@ -3,7 +3,7 @@ input: charitable_deduction: 800 investment_interest_expense: 265 - mt_salt_deduction: 5_000 + mt_salt_deduction_indiv: 5_000 mt_medical_expense_deduction_indiv: 1_000 casualty_loss_deduction: 400 mt_child_dependent_care_expense_deduction: 123 @@ -17,7 +17,7 @@ input: charitable_deduction: 0 investment_interest_expense: 1_234 - mt_salt_deduction: 10_000 + mt_salt_deduction_indiv: 10_000 mt_medical_expense_deduction_indiv: 3_000 casualty_loss_deduction: 0 mt_child_dependent_care_expense_deduction: 0 @@ -31,7 +31,7 @@ input: charitable_deduction: 1_000 mortgage_interest: 34 - mt_salt_deduction: 1_035 + mt_salt_deduction_indiv: 1_035 mt_medical_expense_deduction_indiv: 3_000 casualty_loss_deduction: 745 mt_child_dependent_care_expense_deduction: 1_004 @@ -49,20 +49,20 @@ is_tax_unit_head_or_spouse: true mt_misc_deductions: 100 mt_medical_expense_deduction_indiv: 200 - mt_salt_deduction: 300 + mt_salt_deduction_indiv: 300 mt_federal_income_tax_deduction_indiv: 400 person2: is_tax_unit_head_or_spouse: true mt_misc_deductions: 100 mt_medical_expense_deduction_indiv: 200 - mt_salt_deduction: 300 + mt_salt_deduction_indiv: 300 mt_federal_income_tax_deduction_indiv: 100 person3: is_tax_unit_head_or_spouse: false is_tax_unit_dependent: true mt_misc_deductions: 100 mt_medical_expense_deduction_indiv: 12 - mt_salt_deduction: 200 + mt_salt_deduction_indiv: 200 mt_federal_income_tax_deduction_indiv: 100 tax_units: tax_unit: diff --git a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction.yaml b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction.yaml index 1e3da2a4f1b..f06ff3db79d 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction.yaml @@ -35,3 +35,95 @@ output: mt_salt_deduction: 10_000 +- name: Test case 5, head of household, higher than cap + period: 2022 + input: + filing_status: HEAD_OF_HOUSEHOLD + real_estate_taxes: 12_000 + state_code: MT + output: + mt_salt_deduction: 10_000 + +# Form 2, Itemized Deductions Schedule, line 5 (2021-2023): "Add lines 5a +# through 5d, enter the total here, but not more than $10,000 if your status +# is single, head of household or married filing jointly". A joint return has +# one column, so the couple's taxes are added and capped once. + +- name: Joint return caps the couple's combined state and local taxes once + period: 2023 + input: + people: + person1: + age: 45 + real_estate_taxes: 8_000 + person2: + age: 45 + real_estate_taxes: 8_000 + tax_units: + tax_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: MT + output: + # Line 5c: 8,000 + 8,000 = 16,000; line 5: min(16,000, 10,000). + mt_salt_deduction: [10_000, 0] + # No income, so the federal income tax deduction (line 4) is zero and + # line 5 is the only itemized deduction. + mt_itemized_deductions_joint: [10_000, 0] + +- name: Joint return below the cap deducts both spouses' taxes + period: 2022 + input: + people: + person1: + age: 45 + real_estate_taxes: 6_000 + person2: + age: 45 + real_estate_taxes: 2_500 + tax_units: + tax_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: MT + output: + # Line 5c: 6,000 + 2,500 = 8,500, under the 10,000 cap. + mt_salt_deduction: [8_500, 0] + +- name: Joint return adds general sales taxes before the cap + period: 2021 + input: + people: + person1: + age: 45 + real_estate_taxes: 9_000 + person2: + age: 45 + tax_units: + tax_unit: + members: [person1, person2] + state_sales_tax: 1_500 + local_sales_tax: 300 + households: + household: + members: [person1, person2] + state_code: MT + output: + # Line 5a: 1,500 + 300 = 1,800; line 5c: 9,000. Line 5: min(10,800, 10,000). + mt_salt_deduction: [10_000, 0] + +- name: Single return adds general sales taxes below the cap + period: 2023 + input: + filing_status: SINGLE + real_estate_taxes: 2_000 + state_sales_tax: 1_500 + local_sales_tax: 300 + state_code: MT + output: + # Line 5a: 1,800; line 5c: 2,000. Line 5: 3,800, under the 10,000 cap. + mt_salt_deduction: 3_800 diff --git a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction_indiv.yaml b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction_indiv.yaml new file mode 100644 index 00000000000..a04cb3d1d85 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction_indiv.yaml @@ -0,0 +1,149 @@ +# Form 2, Itemized Deductions Schedule, line 5 (2021-2023): "Add lines 5a +# through 5d, enter the total here, but not more than $10,000 if your status +# is single, head of household or married filing jointly; or $5,000 if you are +# married filing separately." Spouses filing separately on the same form +# (filing status 2a) allocate between columns A and B, "with each column +# constituting its own return" (2023 instructions, PDF p. 12). So each +# spouse's column is capped at $5,000. + +- name: Each spouse's column is capped at the married filing separately amount + period: 2023 + input: + people: + person1: + age: 45 + real_estate_taxes: 8_000 + person2: + age: 45 + real_estate_taxes: 8_000 + tax_units: + tax_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: MT + output: + # Column A: min(8,000, 5,000); column B: min(8,000, 5,000). + mt_salt_deduction_indiv: [5_000, 5_000] + # No income, so the federal income tax deduction (line 4) is zero and + # line 5 is each column's only itemized deduction. + mt_itemized_deductions_indiv: [5_000, 5_000] + +- name: A spouse below the cap deducts their own taxes + period: 2022 + input: + people: + person1: + age: 45 + real_estate_taxes: 8_000 + person2: + age: 45 + real_estate_taxes: 2_000 + tax_units: + tax_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: MT + output: + # Column A: min(8,000, 5,000); column B: 2,000. + mt_salt_deduction_indiv: [5_000, 2_000] + +- name: The couple's general sales taxes are divided equally between the columns + period: 2021 + input: + people: + person1: + age: 45 + real_estate_taxes: 4_800 + person2: + age: 45 + tax_units: + tax_unit: + members: [person1, person2] + state_sales_tax: 1_000 + local_sales_tax: 0 + households: + household: + members: [person1, person2] + state_code: MT + output: + # Line 5a: 1,000 / 2 = 500 in each column. + # Column A: min(4,800 + 500, 5,000) = 5,000; column B: 500. + mt_salt_deduction_indiv: [5_000, 500] + +- name: A dependent has no column + period: 2023 + input: + people: + person1: + age: 45 + real_estate_taxes: 3_000 + person2: + age: 45 + real_estate_taxes: 1_000 + person3: + age: 20 + is_tax_unit_dependent: true + real_estate_taxes: 1_000 + tax_units: + tax_unit: + members: [person1, person2, person3] + households: + household: + members: [person1, person2, person3] + state_code: MT + output: + mt_salt_deduction_indiv: [3_000, 1_000, 0] + +- name: A single filer's one column takes the single cap + period: 2023 + input: + filing_status: SINGLE + real_estate_taxes: 12_000 + state_code: MT + output: + # min(12,000, 10,000) + mt_salt_deduction_indiv: 10_000 + +- name: A single filer below the single cap deducts all taxes + period: 2022 + input: + filing_status: SINGLE + real_estate_taxes: 8_000 + state_code: MT + output: + mt_salt_deduction_indiv: 8_000 + +- name: A married person filing on a separate form takes the separate cap + period: 2021 + input: + filing_status: SEPARATE + real_estate_taxes: 6_000 + state_code: MT + output: + # min(6,000, 5,000) + mt_salt_deduction_indiv: 5_000 + +- name: No separate columns from 2024 + period: 2024 + input: + people: + person1: + age: 45 + real_estate_taxes: 8_000 + person2: + age: 45 + real_estate_taxes: 8_000 + tax_units: + tax_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: MT + output: + # SB 399 ended filing separately on the same form after 2023. + mt_salt_deduction_indiv: [0, 0] diff --git a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/test_mt_salt_deduction_invariants.py b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/test_mt_salt_deduction_invariants.py new file mode 100644 index 00000000000..7b09c4f3bbf --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/test_mt_salt_deduction_invariants.py @@ -0,0 +1,287 @@ +"""Invariants for Montana's state and local tax deduction, 2021-2023. + +Form 2, Itemized Deductions Schedule, line 5 adds lines 5a (general sales +taxes) through 5d and caps the total at $10,000, or $5,000 if married filing +separately. A joint return has one column, so its cap applies once to the +couple's combined taxes (mt_salt_deduction, on the head). Spouses filing +separately on the same form (status 2a) each have their own column, capped at +$5,000 (mt_salt_deduction_indiv). From 2024 the schedule is gone and this +change leaves the earlier per-person amounts as they were. + +The YAML files hold the worked cases. This file checks what they cannot: many +mixed tax units (single, head of household, separate, joint, joint with +dependents, some with sales taxes) in one vectorized simulation, and how +results move when inputs change. For every tax unit: + +1. Differential: both variables equal an independent numpy calculation of + line 5, with the caps taken from the forms rather than from parameters. +2. Bounds and order: each value lies between zero and its cap, and a couple's + two separate columns never deduct more than their joint return. +3. Monotone: raising any member's real estate taxes never lowers the joint + return's or any column's deduction. +4. Head swap: swapping which spouse is the head moves each column with its + spouse and leaves the joint return's deduction unchanged. +5. From 2024 the per-person amounts equal min(real estate taxes, federal cap) + for the tax unit's filing status, as before this change. +""" + +import numpy as np +import pytest +from hypothesis import HealthCheck, given, settings +from hypothesis import strategies as st + +from policyengine_us import Simulation + +TOLERANCE = 0.01 # dollars + +# Form 2 (2021-2023), Itemized Deductions Schedule, line 5. +FORM_CAP = {"SINGLE": 10_000, "HEAD_OF_HOUSEHOLD": 10_000, "JOINT": 10_000} +FORM_CAP["SEPARATE"] = 5_000 +SCHEDULE_YEARS = [2021, 2022, 2023] +# 26 USC 164(b)(6) and (7)(A): $10,000 ($5,000 separate) through 2024, and +# $40,400 ($20,200 separate) for 2026. +FEDERAL_CAP = { + 2024: {"SINGLE": 10_000, "HEAD_OF_HOUSEHOLD": 10_000, "JOINT": 10_000}, + 2026: {"SINGLE": 40_400, "HEAD_OF_HOUSEHOLD": 40_400, "JOINT": 40_400}, +} +FEDERAL_CAP[2024]["SEPARATE"] = 5_000 +FEDERAL_CAP[2026]["SEPARATE"] = 20_200 +KINDS = ["single", "hoh", "separate", "joint", "joint_dependents"] +STATUS = { + "single": "SINGLE", + "hoh": "HEAD_OF_HOUSEHOLD", + "separate": "SEPARATE", + "joint": "JOINT", + "joint_dependents": "JOINT", +} + +# Mostly amounts near the caps, plus zeros and large amounts. +taxes = st.one_of( + st.just(0.0), + st.integers(1, 6_000).map(float), + st.integers(6_000, 30_000).map(float), +) +sales = st.one_of(st.just(0.0), st.integers(1, 3_000).map(float)) +increases = st.one_of(st.just(0.0), st.integers(1, 5_000).map(float)) + + +@st.composite +def people(draw): + return {"real_estate_taxes": draw(taxes), "increase": draw(increases)} + + +@st.composite +def tax_units(draw): + kind = draw(st.sampled_from(KINDS)) + n_dependents = draw(st.integers(1, 2)) if kind in ("hoh", "joint_dependents") else 0 + return { + "kind": kind, + "head": draw(people()), + "spouse": draw(people()) if kind.startswith("joint") else None, + "dependents": [draw(people()) for _ in range(n_dependents)], + "state_sales_tax": draw(sales), + "local_sales_tax": draw(sales), + } + + +SEED = 20261007 + + +def _seeded_units(n=150): + rng = np.random.default_rng(SEED) + + def person(): + band = rng.choice(3) + return { + "real_estate_taxes": float( + [0, rng.integers(1, 6_001), rng.integers(6_000, 30_001)][band] + ), + "increase": float(rng.integers(0, 5_001)) if rng.random() < 0.7 else 0.0, + } + + units = [] + for _ in range(n): + kind = str(rng.choice(KINDS)) + n_dependents = ( + int(rng.integers(1, 3)) if kind in ("hoh", "joint_dependents") else 0 + ) + units.append( + { + "kind": kind, + "head": person(), + "spouse": person() if kind.startswith("joint") else None, + "dependents": [person() for _ in range(n_dependents)], + "state_sales_tax": float(rng.integers(0, 3_001)) + if rng.random() < 0.3 + else 0.0, + "local_sales_tax": float(rng.integers(0, 601)) + if rng.random() < 0.3 + else 0.0, + } + ) + return units + + +def _situation(units, year, *, raised=False, swapped=False): + people, groups = {}, {"tax_units": {}, "households": {}, "marital_units": {}} + + def add(name, values, role): + people[name] = { + "age": 20 if role == "dependent" else 45, + "is_tax_unit_head": role == "head", + "is_tax_unit_spouse": role == "spouse", + "is_tax_unit_dependent": role == "dependent", + "real_estate_taxes": values["real_estate_taxes"] + + raised * values["increase"], + } + + for i, unit in enumerate(units): + first, second = f"first_{i}", f"second_{i}" + couple = unit["spouse"] is not None + # With swapped, the second spouse is the head. + add(first, unit["head"], "spouse" if couple and swapped else "head") + members, marital = [first], [first] + if couple: + add(second, unit["spouse"], "head" if swapped else "spouse") + members.append(second) + marital.append(second) + groups["marital_units"][f"couple_{i}"] = {"members": marital} + for j, dependent in enumerate(unit["dependents"]): + name = f"dependent_{i}_{j}" + add(name, dependent, "dependent") + members.append(name) + groups["marital_units"][f"single_{i}_{j}"] = {"members": [name]} + groups["tax_units"][f"tax_unit_{i}"] = { + "members": members, + "filing_status": STATUS[unit["kind"]], + "state_sales_tax": unit["state_sales_tax"], + "local_sales_tax": unit["local_sales_tax"], + } + groups["households"][f"household_{i}"] = { + "members": members, + "state_code": "MT", + } + situation = {"people": people, **groups} + for entities in situation.values(): + for values in entities.values(): + for key, value in values.items(): + if key != "members": + values[key] = {year: value} + return situation + + +def _run(units, year, **kwargs): + sim = Simulation(situation=_situation(units, year, **kwargs)) + out = { + name: np.asarray(sim.calculate(name, year), dtype=float) + for name in [ + "mt_salt_deduction", + "mt_salt_deduction_indiv", + "real_estate_taxes", + ] + } + out["unit"] = sim.populations["tax_unit"].members_entity_id + out["head"] = np.asarray(sim.calculate("is_tax_unit_head", year)) + out["filer"] = np.asarray(sim.calculate("is_tax_unit_head_or_spouse", year)) + return out + + +def _unit_sum(run, values): + return np.bincount(run["unit"], weights=values) + + +def _check_schedule_year(units, year): + base = _run(units, year) + unit, head, filer = base["unit"], base["head"], base["filer"] + status = np.array([STATUS[u["kind"]] for u in units]) + married = status == "JOINT" + sales = np.array([u["state_sales_tax"] + u["local_sales_tax"] for u in units]) + joint_cap = np.array([FORM_CAP[s] for s in status]) + column_cap = np.where(married, FORM_CAP["SEPARATE"], joint_cap) + + # 1. Differential against numpy. + total = _unit_sum(base, base["real_estate_taxes"]) + sales + np.testing.assert_allclose( + base["mt_salt_deduction"], + head * np.minimum(total, joint_cap)[unit], + atol=TOLERANCE, + ) + share = np.where(married, 0.5, 1.0)[unit] + own = base["real_estate_taxes"] + share * sales[unit] + np.testing.assert_allclose( + base["mt_salt_deduction_indiv"], + filer * np.minimum(own, column_cap[unit]), + atol=TOLERANCE, + ) + + # 2. Bounds and order. + joint = _unit_sum(base, base["mt_salt_deduction"]) + columns = _unit_sum(base, base["mt_salt_deduction_indiv"]) + assert (base["mt_salt_deduction"] >= 0).all() + assert (base["mt_salt_deduction_indiv"] >= 0).all() + assert (joint <= joint_cap + TOLERANCE).all() + assert (base["mt_salt_deduction_indiv"] <= column_cap[unit] + TOLERANCE).all() + assert (columns[married] <= joint[married] + TOLERANCE).all() + + # 3. Monotone in real estate taxes. + raised = _run(units, year, raised=True) + for name in ["mt_salt_deduction", "mt_salt_deduction_indiv"]: + assert (raised[name] >= base[name] - TOLERANCE).all(), name + + # 4. Head swap. + swapped = _run(units, year, swapped=True) + np.testing.assert_allclose( + _unit_sum(swapped, swapped["mt_salt_deduction"]), joint, atol=TOLERANCE + ) + np.testing.assert_allclose( + swapped["mt_salt_deduction_indiv"], + base["mt_salt_deduction_indiv"], + atol=TOLERANCE, + ) + + +def _check_unchanged_year(units, year): + base = _run(units, year) + status = np.array([STATUS[u["kind"]] for u in units]) + cap = np.array([FEDERAL_CAP[year][s] for s in status])[base["unit"]] + np.testing.assert_allclose( + base["mt_salt_deduction"], + np.minimum(base["real_estate_taxes"], cap), + atol=TOLERANCE, + ) + # Spouses no longer file separately on the same form. + assert (base["mt_salt_deduction_indiv"] == 0).all() + + +# A batch's cost is mostly per-variable overhead, so each example is a large +# batch and there are few examples. +SETTINGS = dict( + max_examples=6, + deadline=None, + derandomize=True, + suppress_health_check=[HealthCheck.too_slow, HealthCheck.data_too_large], +) + + +@settings(**SETTINGS) +@given(st.sampled_from(SCHEDULE_YEARS), st.lists(tax_units(), min_size=5, max_size=30)) +def test_mt_salt_deduction_schedule_invariants(year, units): + _check_schedule_year(units, year) + + +@settings(**SETTINGS) +@given( + st.sampled_from(sorted(FEDERAL_CAP)), st.lists(tax_units(), min_size=5, max_size=30) +) +def test_mt_salt_deduction_unchanged_from_2024(year, units): + _check_unchanged_year(units, year) + + +@pytest.mark.parametrize("year", SCHEDULE_YEARS) +def test_seeded_population_schedule_years(year): + _check_schedule_year(_seeded_units(), year) + + +@pytest.mark.parametrize("year", sorted(FEDERAL_CAP)) +def test_seeded_population_unchanged_from_2024(year): + _check_unchanged_year(_seeded_units(), year) diff --git a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_itemized_deductions_for_federal_itemization_indiv.py b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_itemized_deductions_for_federal_itemization_indiv.py index 5d1cb0c5153..2757859ca05 100644 --- a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_itemized_deductions_for_federal_itemization_indiv.py +++ b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/federal_itemization/mt_itemized_deductions_for_federal_itemization_indiv.py @@ -30,7 +30,7 @@ def formula(person, period, parameters): [ "mt_misc_deductions", "mt_medical_expense_deduction_indiv", - "mt_salt_deduction", + "mt_salt_deduction_indiv", "mt_federal_income_tax_deduction_for_federal_itemization_indiv", ], ) diff --git a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/general/mt_itemized_deductions_indiv.py b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/general/mt_itemized_deductions_indiv.py index 7b31319e265..ba313b8e88a 100644 --- a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/general/mt_itemized_deductions_indiv.py +++ b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/general/mt_itemized_deductions_indiv.py @@ -32,7 +32,7 @@ def formula(person, period, parameters): [ "mt_misc_deductions", "mt_medical_expense_deduction_indiv", - "mt_salt_deduction", + "mt_salt_deduction_indiv", "mt_federal_income_tax_deduction_indiv", ], ) diff --git a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction.py b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction.py index e5d5221dbf0..58ef9998cc2 100644 --- a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction.py +++ b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction.py @@ -7,19 +7,48 @@ class mt_salt_deduction(Variable): label = "Montana state and local tax deduction" unit = USD definition_period = YEAR + documentation = ( + "Itemized Deductions Schedule, line 5, for a return with one column: " + "a single, head of household or joint return, or a married person " + "filing on a separate form. Through 2023 the return's total is " + "assigned to the tax unit head." + ) reference = ( + "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2021_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7", "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2022_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7", - "https://law.justia.com/codes/montana/2022/title-15/chapter-30/part-21/section-15-30-2131/", - # Montana Code Annotated MT Code § 15-30-2131 (2022) (1)(a) + "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2023_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7", + "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2021_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=32", + "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2022_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=34", + "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2023_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=37", + "https://mca.legmt.gov/bills/2022/mca/title_0150/chapter_0300/part_0210/section_0310/0150-0300-0210-0310.html", + # Former MCA 15-30-2131(1)(a)(ii) (2021): items under IRC 161, except + # state income tax paid. The cap is 26 USC 164(b)(6). ) defined_for = StateCode.MT def formula(person, period, parameters): - # Not included the SALT tax, only real estate taxes - p = parameters(period).gov.irs.deductions + p = parameters(period).gov.irs.deductions.itemized.salt_and_real_estate + p_mt = parameters(period).gov.states.mt.tax.income.deductions.itemized filing_status = person.tax_unit("filing_status", period) + cap = p.cap[filing_status] + if p_mt.state_specific_deduction_applies: + # Line 5 adds lines 5a through 5d for the whole return and caps + # the total once: "not more than $10,000 if your status is + # single, head of household or married filing jointly; or $5,000 + # if you are married filing separately". + # 5a: general state and local sales taxes. + # 5b: local income taxes. No Montana locality levies one, and + # local_income_tax holds only out-of-state local taxes. + # 5c: real estate taxes. + # 5d: value-based personal property taxes, not modeled. + taxes = add( + person.tax_unit, + period, + ["real_estate_taxes", "state_sales_tax", "local_sales_tax"], + ) + is_head = person("is_tax_unit_head", period) + return is_head * min_(taxes, cap) + # From 2024 the schedule is discontinued. This keeps the earlier + # per-person amounts until the 2024 Form 2 line 2 is modeled. real_estate_tax = person("real_estate_taxes", period) - return min_( - real_estate_tax, - p.itemized.salt_and_real_estate.cap[filing_status], - ) + return min_(real_estate_tax, cap) diff --git a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction_indiv.py b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction_indiv.py new file mode 100644 index 00000000000..4a796339a49 --- /dev/null +++ b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction_indiv.py @@ -0,0 +1,47 @@ +from policyengine_us.model_api import * + + +class mt_salt_deduction_indiv(Variable): + value_type = float + entity = Person + label = "Montana state and local tax deduction when married couples are filing separately" + unit = USD + definition_period = YEAR + documentation = ( + "Itemized Deductions Schedule, line 5, in each spouse's column when " + "a married couple files separately on the same form (filing status " + "2a). Each column is a separate return, capped at the married filing " + "separately amount." + ) + reference = ( + "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2021_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7", + "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2022_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7", + "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2023_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7", + "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2023_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=12", + # 2023 instructions, "How to allocate income and deductions when + # filing separately": "each column constituting its own return". + "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2023_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=37", + "https://mca.legmt.gov/bills/2022/mca/title_0150/chapter_0300/part_0210/section_0310/0150-0300-0210-0310.html", + # Former MCA 15-30-2131(1)(a)(ii) (2021). The cap is 26 USC 164(b)(6). + ) + defined_for = "mt_married_filing_separately_on_same_return_eligible" + + def formula(person, period, parameters): + p = parameters(period).gov.irs.deductions.itemized.salt_and_real_estate + p_mt = parameters(period).gov.states.mt.tax.income.deductions.itemized + filing_status = person.tax_unit("filing_status", period) + # A married couple's columns are each "married filing separately": + # "not more than ... $5,000 if you are married filing separately". + # Other filers have one column at their own status's cap. + married = filing_status == filing_status.possible_values.JOINT + cap = where(married, p.cap.SEPARATE, p.cap[filing_status]) + # Line 5c: each spouse's own real estate taxes. + real_estate_tax = person("real_estate_taxes", period) + # Line 5a: PolicyEngine estimates sales taxes for the tax unit only. + # Jointly paid expenses "can be allocated to either spouse in any + # proportional amount", so a couple divides them equally. + sales_tax = add(person.tax_unit, period, ["state_sales_tax", "local_sales_tax"]) + sales_tax_share = where(married, p_mt.spouse_allocation_rate, 1) + taxes = real_estate_tax + sales_tax_share * sales_tax + head_or_spouse = person("is_tax_unit_head_or_spouse", period) + return head_or_spouse * min_(taxes, cap) From 9d184261a946167de92ef08361e4e404dfcb2382 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Wed, 7 Oct 2026 17:11:38 -0400 Subject: [PATCH 2/6] Include local income taxes (line 5b) in Montana's 2021-2023 SALT deduction Review r1 found that local_income_tax is not always zero for a Montana household: PolicyEngine levies the Kansas City and St. Louis earnings taxes and the Philadelphia wage tax on earnings in those cities without a residence test. Line 5 adds "any local income taxes that you paid". - mt_salt_deduction: the joint return's line 5 adds local_income_tax. - mt_salt_deduction_indiv: each column takes the tax unit's local income tax in proportion to the person's own earnings taxed by those cities ("Deductions that are attributable to only one spouse must be claimed by that spouse"); without such earnings it is divided like the sales taxes. - YAML: Kansas City cases for a single return, a joint return at the cap, and two separate-column cases. The Hypothesis file adds Kansas City earnings to its draws and reference calculation. Co-Authored-By: Claude Opus 5.5 --- .../fix-mt-salt-cap-joint-return.fixed.md | 2 +- .../itemized/mt_salt_deduction.yaml | 33 +++++++++++++ .../itemized/mt_salt_deduction_indiv.yaml | 49 +++++++++++++++++++ .../test_mt_salt_deduction_invariants.py | 29 ++++++++--- .../itemized/salt/mt_salt_deduction.py | 11 +++-- .../itemized/salt/mt_salt_deduction_indiv.py | 30 +++++++++++- 6 files changed, 143 insertions(+), 11 deletions(-) diff --git a/changelog.d/fix-mt-salt-cap-joint-return.fixed.md b/changelog.d/fix-mt-salt-cap-joint-return.fixed.md index 925a0a126f2..512c8a641c6 100644 --- a/changelog.d/fix-mt-salt-cap-joint-return.fixed.md +++ b/changelog.d/fix-mt-salt-cap-joint-return.fixed.md @@ -1 +1 @@ -Cap Montana's 2021–2023 state and local tax deduction (Itemized Deductions Schedule, line 5) once for a joint return and at $5,000 in each spouse's column when filing separately on the same form, and include general sales taxes (line 5a). +Cap Montana's 2021–2023 state and local tax deduction (Itemized Deductions Schedule, line 5) once for a joint return and at $5,000 in each spouse's column when filing separately on the same form, and include general sales taxes (line 5a) and local income taxes (line 5b). diff --git a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction.yaml b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction.yaml index f06ff3db79d..0860882f903 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction.yaml @@ -127,3 +127,36 @@ output: # Line 5a: 1,800; line 5c: 2,000. Line 5: 3,800, under the 10,000 cap. mt_salt_deduction: 3_800 + +- name: Single return adds another city's earnings tax + period: 2023 + input: + filing_status: SINGLE + real_estate_taxes: 2_000 + mo_kansas_city_earnings_tax_taxable_earnings: 100_000 + state_code: MT + output: + # Line 5b: Kansas City earnings tax, 1% x 100,000 = 1,000; line 5c: + # 2,000. Line 5: 3,000. + mt_salt_deduction: 3_000 + +- name: Joint return adds a spouse's city earnings tax before the cap + period: 2022 + input: + people: + person1: + age: 45 + real_estate_taxes: 9_500 + person2: + age: 45 + mo_kansas_city_earnings_tax_taxable_earnings: 100_000 + tax_units: + tax_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: MT + output: + # Line 5b: 1,000; line 5c: 9,500. Line 5: min(10,500, 10,000). + mt_salt_deduction: [10_000, 0] diff --git a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction_indiv.yaml b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction_indiv.yaml index a04cb3d1d85..66c9297ba16 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction_indiv.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction_indiv.yaml @@ -147,3 +147,52 @@ output: # SB 399 ended filing separately on the same form after 2023. mt_salt_deduction_indiv: [0, 0] + +# Line 5b: "Deductions that are attributable to only one spouse must be +# claimed by that spouse" (2023 instructions, PDF p. 13). A city earnings tax +# belongs to the spouse who earned the taxed income. + +- name: A city earnings tax goes in the column of the spouse who earned it + period: 2023 + input: + people: + person1: + age: 45 + real_estate_taxes: 3_000 + mo_kansas_city_earnings_tax_taxable_earnings: 100_000 + person2: + age: 45 + real_estate_taxes: 3_000 + tax_units: + tax_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: MT + output: + # Column A: 3,000 + 1% x 100,000 = 4,000; column B: 3,000. + mt_salt_deduction_indiv: [4_000, 3_000] + +- name: Both spouses' city earnings taxes, one column at the cap + period: 2022 + input: + people: + person1: + age: 45 + real_estate_taxes: 4_500 + mo_kansas_city_earnings_tax_taxable_earnings: 100_000 + person2: + age: 45 + mo_kansas_city_earnings_tax_taxable_earnings: 50_000 + tax_units: + tax_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: MT + output: + # Kansas City tax: 1,000 on column A's earnings and 500 on column B's. + # Column A: min(4,500 + 1,000, 5,000) = 5,000; column B: 500. + mt_salt_deduction_indiv: [5_000, 500] diff --git a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/test_mt_salt_deduction_invariants.py b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/test_mt_salt_deduction_invariants.py index 7b09c4f3bbf..34d8bed22d8 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/test_mt_salt_deduction_invariants.py +++ b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/test_mt_salt_deduction_invariants.py @@ -1,7 +1,7 @@ """Invariants for Montana's state and local tax deduction, 2021-2023. Form 2, Itemized Deductions Schedule, line 5 adds lines 5a (general sales -taxes) through 5d and caps the total at $10,000, or $5,000 if married filing +taxes), 5b (local income taxes) through 5d and caps the total at $10,000, or $5,000 if married filing separately. A joint return has one column, so its cap applies once to the couple's combined taxes (mt_salt_deduction, on the head). Spouses filing separately on the same form (status 2a) each have their own column, capped at @@ -10,7 +10,8 @@ The YAML files hold the worked cases. This file checks what they cannot: many mixed tax units (single, head of household, separate, joint, joint with -dependents, some with sales taxes) in one vectorized simulation, and how +dependents, some with sales taxes or Kansas City earnings taxes) in one +vectorized simulation, and how results move when inputs change. For every tax unit: 1. Differential: both variables equal an independent numpy calculation of @@ -38,6 +39,8 @@ FORM_CAP = {"SINGLE": 10_000, "HEAD_OF_HOUSEHOLD": 10_000, "JOINT": 10_000} FORM_CAP["SEPARATE"] = 5_000 SCHEDULE_YEARS = [2021, 2022, 2023] +# Kansas City earnings tax rate, a local income tax with no residence test. +KANSAS_CITY_RATE = 0.01 # 26 USC 164(b)(6) and (7)(A): $10,000 ($5,000 separate) through 2024, and # $40,400 ($20,200 separate) for 2026. FEDERAL_CAP = { @@ -63,11 +66,16 @@ ) sales = st.one_of(st.just(0.0), st.integers(1, 3_000).map(float)) increases = st.one_of(st.just(0.0), st.integers(1, 5_000).map(float)) +city_earnings = st.one_of(st.just(0.0), st.integers(1, 300_000).map(float)) @st.composite def people(draw): - return {"real_estate_taxes": draw(taxes), "increase": draw(increases)} + return { + "real_estate_taxes": draw(taxes), + "increase": draw(increases), + "kansas_city_earnings": draw(city_earnings), + } @st.composite @@ -97,6 +105,9 @@ def person(): [0, rng.integers(1, 6_001), rng.integers(6_000, 30_001)][band] ), "increase": float(rng.integers(0, 5_001)) if rng.random() < 0.7 else 0.0, + "kansas_city_earnings": float(rng.integers(1, 300_001)) + if rng.random() < 0.2 + else 0.0, } units = [] @@ -133,6 +144,9 @@ def add(name, values, role): "is_tax_unit_dependent": role == "dependent", "real_estate_taxes": values["real_estate_taxes"] + raised * values["increase"], + "mo_kansas_city_earnings_tax_taxable_earnings": values[ + "kansas_city_earnings" + ], } for i, unit in enumerate(units): @@ -178,6 +192,7 @@ def _run(units, year, **kwargs): "mt_salt_deduction", "mt_salt_deduction_indiv", "real_estate_taxes", + "mo_kansas_city_earnings_tax_taxable_earnings", ] } out["unit"] = sim.populations["tax_unit"].members_entity_id @@ -199,15 +214,17 @@ def _check_schedule_year(units, year): joint_cap = np.array([FORM_CAP[s] for s in status]) column_cap = np.where(married, FORM_CAP["SEPARATE"], joint_cap) - # 1. Differential against numpy. - total = _unit_sum(base, base["real_estate_taxes"]) + sales + # 1. Differential against numpy. Each person owes Kansas City tax on + # their own earnings there; a column takes its own spouse's tax. + city_tax = KANSAS_CITY_RATE * base["mo_kansas_city_earnings_tax_taxable_earnings"] + total = _unit_sum(base, base["real_estate_taxes"] + city_tax) + sales np.testing.assert_allclose( base["mt_salt_deduction"], head * np.minimum(total, joint_cap)[unit], atol=TOLERANCE, ) share = np.where(married, 0.5, 1.0)[unit] - own = base["real_estate_taxes"] + share * sales[unit] + own = base["real_estate_taxes"] + share * sales[unit] + city_tax np.testing.assert_allclose( base["mt_salt_deduction_indiv"], filer * np.minimum(own, column_cap[unit]), diff --git a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction.py b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction.py index 58ef9998cc2..00c82008e1c 100644 --- a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction.py +++ b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction.py @@ -37,14 +37,19 @@ def formula(person, period, parameters): # single, head of household or married filing jointly; or $5,000 # if you are married filing separately". # 5a: general state and local sales taxes. - # 5b: local income taxes. No Montana locality levies one, and - # local_income_tax holds only out-of-state local taxes. + # 5b: local income taxes. No Montana locality levies one, but + # a resident can owe another city's earnings or wage tax. # 5c: real estate taxes. # 5d: value-based personal property taxes, not modeled. taxes = add( person.tax_unit, period, - ["real_estate_taxes", "state_sales_tax", "local_sales_tax"], + [ + "real_estate_taxes", + "state_sales_tax", + "local_sales_tax", + "local_income_tax", + ], ) is_head = person("is_tax_unit_head", period) return is_head * min_(taxes, cap) diff --git a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction_indiv.py b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction_indiv.py index 4a796339a49..4ae7cd6100a 100644 --- a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction_indiv.py +++ b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction_indiv.py @@ -42,6 +42,34 @@ def formula(person, period, parameters): # proportional amount", so a couple divides them equally. sales_tax = add(person.tax_unit, period, ["state_sales_tax", "local_sales_tax"]) sales_tax_share = where(married, p_mt.spouse_allocation_rate, 1) - taxes = real_estate_tax + sales_tax_share * sales_tax + # Line 5b: "Deductions that are attributable to only one spouse must + # be claimed by that spouse." PolicyEngine computes local income + # taxes for the tax unit. The ones it levies on a Montana household + # are city taxes on earnings there (Kansas City, St. Louis, + # Philadelphia), so each person takes a share in proportion to their + # own earnings taxed by those cities. Without such earnings the tax + # is divided like the sales taxes. + local_base = add( + person, + period, + [ + "mo_kansas_city_earnings_tax_taxable_earnings", + "mo_st_louis_earnings_tax_taxable_earnings", + "pa_philadelphia_wage_tax_taxable_wages", + ], + ) + unit_local_base = person.tax_unit.sum(local_base) + has_local_base = unit_local_base > 0 + local_share = where( + has_local_base, + local_base / where(has_local_base, unit_local_base, 1), + sales_tax_share, + ) + local_income_tax = person.tax_unit("local_income_tax", period) + taxes = ( + real_estate_tax + + sales_tax_share * sales_tax + + local_share * local_income_tax + ) head_or_spouse = person("is_tax_unit_head_or_spouse", period) return head_or_spouse * min_(taxes, cap) From 0a4846c7b1ab8d9459e13c80cd877ef97c05538f Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Thu, 8 Oct 2026 10:42:41 -0400 Subject: [PATCH 3/6] Give each spouse's Montana column their own city tax (line 5b) Review r2: dividing the tax unit's local income tax by each spouse's share of taxable city earnings is exact only when everyone pays the same rate with no credit. PolicyEngine sets Philadelphia's rate per person and subtracts St. Louis credits per person. - New Person variables mo_kansas_city_earnings_tax_person, mo_st_louis_earnings_tax_person and pa_philadelphia_wage_tax_person hold each person's own tax, with the existing formulas. The tax-unit variables now add them up, so their values do not change. - mt_salt_deduction_indiv: each column takes its own spouse's city tax. Any other local income tax of the tax unit (none for a Montana household) is divided like the sales taxes. - YAML: first tests for the three city taxes; Montana cases for a Philadelphia reduced rate, a St. Louis credit, two cities with one column at the cap, and a joint return with two cities. - Hypothesis: St. Louis earnings and per-person credits in the draws. Co-Authored-By: Claude Opus 5.5 --- .../income/mo_kansas_city_earnings_tax.yaml | 21 ++++++ .../tax/income/mo_st_louis_earnings_tax.yaml | 24 +++++++ .../tax/income/pa_philadelphia_wage_tax.yaml | 37 ++++++++++ .../itemized/mt_salt_deduction.yaml | 23 +++++++ .../itemized/mt_salt_deduction_indiv.yaml | 68 +++++++++++++++++++ .../test_mt_salt_deduction_invariants.py | 49 +++++++++---- .../tax/income/mo_kansas_city_earnings_tax.py | 9 +-- .../mo_kansas_city_earnings_tax_person.py | 18 +++++ .../tax/income/mo_st_louis_earnings_tax.py | 9 +-- .../income/mo_st_louis_earnings_tax_person.py | 23 +++++++ .../tax/income/pa_philadelphia_wage_tax.py | 16 +---- .../income/pa_philadelphia_wage_tax_person.py | 31 +++++++++ .../itemized/salt/mt_salt_deduction_indiv.py | 31 ++++----- 13 files changed, 296 insertions(+), 63 deletions(-) create mode 100644 policyengine_us/tests/policy/baseline/gov/local/mo/kansas_city/tax/income/mo_kansas_city_earnings_tax.yaml create mode 100644 policyengine_us/tests/policy/baseline/gov/local/mo/st_louis/tax/income/mo_st_louis_earnings_tax.yaml create mode 100644 policyengine_us/tests/policy/baseline/gov/local/pa/philadelphia/tax/income/pa_philadelphia_wage_tax.yaml create mode 100644 policyengine_us/variables/gov/local/mo/kansas_city/tax/income/mo_kansas_city_earnings_tax_person.py create mode 100644 policyengine_us/variables/gov/local/mo/st_louis/tax/income/mo_st_louis_earnings_tax_person.py create mode 100644 policyengine_us/variables/gov/local/pa/philadelphia/tax/income/pa_philadelphia_wage_tax_person.py diff --git a/policyengine_us/tests/policy/baseline/gov/local/mo/kansas_city/tax/income/mo_kansas_city_earnings_tax.yaml b/policyengine_us/tests/policy/baseline/gov/local/mo/kansas_city/tax/income/mo_kansas_city_earnings_tax.yaml new file mode 100644 index 00000000000..1096df63047 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/local/mo/kansas_city/tax/income/mo_kansas_city_earnings_tax.yaml @@ -0,0 +1,21 @@ +- name: Each person owes 1% of their own Kansas City taxable earnings + period: 2024 + input: + people: + person1: + age: 45 + mo_kansas_city_earnings_tax_taxable_earnings: 100_000 + person2: + age: 45 + mo_kansas_city_earnings_tax_taxable_earnings: 50_000 + tax_units: + tax_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: MO + output: + # 1% x 100,000 and 1% x 50,000. + mo_kansas_city_earnings_tax_person: [1_000, 500] + mo_kansas_city_earnings_tax: 1_500 diff --git a/policyengine_us/tests/policy/baseline/gov/local/mo/st_louis/tax/income/mo_st_louis_earnings_tax.yaml b/policyengine_us/tests/policy/baseline/gov/local/mo/st_louis/tax/income/mo_st_louis_earnings_tax.yaml new file mode 100644 index 00000000000..dc90c9bc2c9 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/local/mo/st_louis/tax/income/mo_st_louis_earnings_tax.yaml @@ -0,0 +1,24 @@ +- name: A person's credit reduces only their own St. Louis earnings tax + period: 2024 + input: + people: + person1: + age: 45 + mo_st_louis_earnings_tax_taxable_earnings: 100_000 + mo_st_louis_earnings_tax_credit: 1_200 + person2: + age: 45 + mo_st_louis_earnings_tax_taxable_earnings: 100_000 + tax_units: + tax_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: MO + output: + # 1% x 100,000 = 1,000 each. Person 1's 1,200 credit takes their tax to + # zero and does not reduce person 2's. + mo_st_louis_earnings_tax_person: [0, 1_000] + mo_st_louis_earnings_tax: 1_000 + mo_st_louis_earnings_tax_before_credit: 2_000 diff --git a/policyengine_us/tests/policy/baseline/gov/local/pa/philadelphia/tax/income/pa_philadelphia_wage_tax.yaml b/policyengine_us/tests/policy/baseline/gov/local/pa/philadelphia/tax/income/pa_philadelphia_wage_tax.yaml new file mode 100644 index 00000000000..f7b94f9bcbb --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/local/pa/philadelphia/tax/income/pa_philadelphia_wage_tax.yaml @@ -0,0 +1,37 @@ +- name: Each person's Philadelphia wage tax uses their own rate + period: 2024 + input: + people: + person1: + age: 45 + pa_philadelphia_wage_tax_taxable_wages: 100_000 + pa_philadelphia_wage_tax_resident: true + person2: + age: 45 + pa_philadelphia_wage_tax_taxable_wages: 100_000 + pa_philadelphia_wage_tax_resident: false + person3: + age: 45 + pa_philadelphia_wage_tax_taxable_wages: 40_000 + pa_philadelphia_wage_tax_resident: true + pa_philadelphia_wage_tax_reduced_rate_eligible: true + tax_units: + tax_unit: + members: [person1, person2, person3] + households: + household: + members: [person1, person2, person3] + state_code: PA + output: + # Rates from July 2023: resident 3.75%, nonresident 3.44%, reduced 1.5%. + pa_philadelphia_wage_tax_person: [3_750, 3_440, 600] + pa_philadelphia_wage_tax: 7_790 + +- name: No Philadelphia wages, no tax + period: 2024 + input: + pa_philadelphia_wage_tax_taxable_wages: 0 + state_code: PA + output: + pa_philadelphia_wage_tax_person: 0 + pa_philadelphia_wage_tax: 0 diff --git a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction.yaml b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction.yaml index 0860882f903..51d97882b53 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction.yaml @@ -160,3 +160,26 @@ output: # Line 5b: 1,000; line 5c: 9,500. Line 5: min(10,500, 10,000). mt_salt_deduction: [10_000, 0] + +- name: Joint return adds both spouses' city taxes before the cap + period: 2023 + input: + people: + person1: + age: 45 + real_estate_taxes: 4_000 + mo_kansas_city_earnings_tax_taxable_earnings: 100_000 + person2: + age: 45 + pa_philadelphia_wage_tax_taxable_wages: 100_000 + tax_units: + tax_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: MT + output: + # Line 5b: 1,000 (Kansas City) + 3,440 (Philadelphia nonresident 3.44%); + # line 5c: 4,000. Line 5: 8,440, under the 10,000 cap. + mt_salt_deduction: [8_440, 0] diff --git a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction_indiv.yaml b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction_indiv.yaml index 66c9297ba16..fcb4eb1a0b1 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction_indiv.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction_indiv.yaml @@ -196,3 +196,71 @@ # Kansas City tax: 1,000 on column A's earnings and 500 on column B's. # Column A: min(4,500 + 1,000, 5,000) = 5,000; column B: 500. mt_salt_deduction_indiv: [5_000, 500] + +- name: Each column takes its own spouse's Philadelphia wage tax at that spouse's rate + period: 2023 + input: + people: + person1: + age: 45 + pa_philadelphia_wage_tax_taxable_wages: 100_000 + person2: + age: 45 + pa_philadelphia_wage_tax_taxable_wages: 100_000 + pa_philadelphia_wage_tax_reduced_rate_eligible: true + tax_units: + tax_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: MT + output: + # Nonresident rate 3.44% x 100,000 = 3,440; reduced rate 1.5% x 100,000 + # = 1,500. Splitting the 4,940 by wages would give 2,470 each. + mt_salt_deduction_indiv: [3_440, 1_500] + +- name: A St. Louis credit reduces only its own spouse's column + period: 2023 + input: + people: + person1: + age: 45 + mo_st_louis_earnings_tax_taxable_earnings: 100_000 + mo_st_louis_earnings_tax_credit: 1_000 + person2: + age: 45 + mo_st_louis_earnings_tax_taxable_earnings: 100_000 + tax_units: + tax_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: MT + output: + # Column A: 1% x 100,000 - 1,000 credit = 0; column B: 1,000. + mt_salt_deduction_indiv: [0, 1_000] + +- name: Two cities' taxes, one column at the cap + period: 2023 + input: + people: + person1: + age: 45 + real_estate_taxes: 4_000 + mo_kansas_city_earnings_tax_taxable_earnings: 100_000 + person2: + age: 45 + pa_philadelphia_wage_tax_taxable_wages: 100_000 + tax_units: + tax_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: MT + output: + # Column A: min(4,000 + 1% x 100,000, 5,000) = 5,000. + # Column B: 3.44% x 100,000 = 3,440. + mt_salt_deduction_indiv: [5_000, 3_440] diff --git a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/test_mt_salt_deduction_invariants.py b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/test_mt_salt_deduction_invariants.py index 34d8bed22d8..8a008587b55 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/test_mt_salt_deduction_invariants.py +++ b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/test_mt_salt_deduction_invariants.py @@ -1,18 +1,19 @@ """Invariants for Montana's state and local tax deduction, 2021-2023. Form 2, Itemized Deductions Schedule, line 5 adds lines 5a (general sales -taxes), 5b (local income taxes) through 5d and caps the total at $10,000, or $5,000 if married filing -separately. A joint return has one column, so its cap applies once to the -couple's combined taxes (mt_salt_deduction, on the head). Spouses filing -separately on the same form (status 2a) each have their own column, capped at -$5,000 (mt_salt_deduction_indiv). From 2024 the schedule is gone and this -change leaves the earlier per-person amounts as they were. +taxes), 5b (local income taxes), 5c (real estate taxes) and 5d, and caps the +total at $10,000, or $5,000 if married filing separately. A joint return has +one column, so its cap applies once to the couple's combined taxes +(mt_salt_deduction, on the head). Spouses filing separately on the same form +(status 2a) each have their own column, capped at $5,000 +(mt_salt_deduction_indiv). From 2024 the schedule is gone and this change +leaves the earlier per-person amounts as they were. The YAML files hold the worked cases. This file checks what they cannot: many mixed tax units (single, head of household, separate, joint, joint with -dependents, some with sales taxes or Kansas City earnings taxes) in one -vectorized simulation, and how -results move when inputs change. For every tax unit: +dependents, some with sales taxes or Kansas City and St. Louis earnings taxes) +in one vectorized simulation, and how results move when inputs change. For +every tax unit: 1. Differential: both variables equal an independent numpy calculation of line 5, with the caps taken from the forms rather than from parameters. @@ -39,8 +40,10 @@ FORM_CAP = {"SINGLE": 10_000, "HEAD_OF_HOUSEHOLD": 10_000, "JOINT": 10_000} FORM_CAP["SEPARATE"] = 5_000 SCHEDULE_YEARS = [2021, 2022, 2023] -# Kansas City earnings tax rate, a local income tax with no residence test. +# Kansas City and St. Louis earnings tax rates: local income taxes with no +# residence test, on each person's own earnings in the city. KANSAS_CITY_RATE = 0.01 +ST_LOUIS_RATE = 0.01 # 26 USC 164(b)(6) and (7)(A): $10,000 ($5,000 separate) through 2024, and # $40,400 ($20,200 separate) for 2026. FEDERAL_CAP = { @@ -67,6 +70,7 @@ sales = st.one_of(st.just(0.0), st.integers(1, 3_000).map(float)) increases = st.one_of(st.just(0.0), st.integers(1, 5_000).map(float)) city_earnings = st.one_of(st.just(0.0), st.integers(1, 300_000).map(float)) +city_credits = st.one_of(st.just(0.0), st.integers(1, 3_000).map(float)) @st.composite @@ -75,6 +79,8 @@ def people(draw): "real_estate_taxes": draw(taxes), "increase": draw(increases), "kansas_city_earnings": draw(city_earnings), + "st_louis_earnings": draw(city_earnings), + "st_louis_credit": draw(city_credits), } @@ -108,6 +114,12 @@ def person(): "kansas_city_earnings": float(rng.integers(1, 300_001)) if rng.random() < 0.2 else 0.0, + "st_louis_earnings": float(rng.integers(1, 300_001)) + if rng.random() < 0.2 + else 0.0, + "st_louis_credit": float(rng.integers(1, 3_001)) + if rng.random() < 0.3 + else 0.0, } units = [] @@ -147,6 +159,8 @@ def add(name, values, role): "mo_kansas_city_earnings_tax_taxable_earnings": values[ "kansas_city_earnings" ], + "mo_st_louis_earnings_tax_taxable_earnings": values["st_louis_earnings"], + "mo_st_louis_earnings_tax_credit": values["st_louis_credit"], } for i, unit in enumerate(units): @@ -193,6 +207,8 @@ def _run(units, year, **kwargs): "mt_salt_deduction_indiv", "real_estate_taxes", "mo_kansas_city_earnings_tax_taxable_earnings", + "mo_st_louis_earnings_tax_taxable_earnings", + "mo_st_louis_earnings_tax_credit", ] } out["unit"] = sim.populations["tax_unit"].members_entity_id @@ -214,9 +230,16 @@ def _check_schedule_year(units, year): joint_cap = np.array([FORM_CAP[s] for s in status]) column_cap = np.where(married, FORM_CAP["SEPARATE"], joint_cap) - # 1. Differential against numpy. Each person owes Kansas City tax on - # their own earnings there; a column takes its own spouse's tax. - city_tax = KANSAS_CITY_RATE * base["mo_kansas_city_earnings_tax_taxable_earnings"] + # 1. Differential against numpy. Each person owes city tax on their own + # earnings there, less their own credits; a column takes its own + # spouse's tax. + city_tax = KANSAS_CITY_RATE * base[ + "mo_kansas_city_earnings_tax_taxable_earnings" + ] + np.maximum( + 0, + ST_LOUIS_RATE * base["mo_st_louis_earnings_tax_taxable_earnings"] + - base["mo_st_louis_earnings_tax_credit"], + ) total = _unit_sum(base, base["real_estate_taxes"] + city_tax) + sales np.testing.assert_allclose( base["mt_salt_deduction"], diff --git a/policyengine_us/variables/gov/local/mo/kansas_city/tax/income/mo_kansas_city_earnings_tax.py b/policyengine_us/variables/gov/local/mo/kansas_city/tax/income/mo_kansas_city_earnings_tax.py index 220f8254fd2..a31e9c6523a 100644 --- a/policyengine_us/variables/gov/local/mo/kansas_city/tax/income/mo_kansas_city_earnings_tax.py +++ b/policyengine_us/variables/gov/local/mo/kansas_city/tax/income/mo_kansas_city_earnings_tax.py @@ -11,11 +11,4 @@ class mo_kansas_city_earnings_tax(Variable): definition_period = YEAR unit = USD reference = "https://www.kcmo.gov/city-hall/departments/finance/earnings-tax" - - def formula(tax_unit, period, parameters): - person = tax_unit.members - p = parameters(period).gov.local.mo.kansas_city.tax.income - taxable_earnings = person( - "mo_kansas_city_earnings_tax_taxable_earnings", period - ) - return tax_unit.sum(taxable_earnings * p.rate) + adds = ["mo_kansas_city_earnings_tax_person"] diff --git a/policyengine_us/variables/gov/local/mo/kansas_city/tax/income/mo_kansas_city_earnings_tax_person.py b/policyengine_us/variables/gov/local/mo/kansas_city/tax/income/mo_kansas_city_earnings_tax_person.py new file mode 100644 index 00000000000..99ff1759eda --- /dev/null +++ b/policyengine_us/variables/gov/local/mo/kansas_city/tax/income/mo_kansas_city_earnings_tax_person.py @@ -0,0 +1,18 @@ +from policyengine_us.model_api import * + + +class mo_kansas_city_earnings_tax_person(Variable): + value_type = float + entity = Person + label = "Kansas City earnings tax for each person" + documentation = "Kansas City earnings tax on the person's own taxable earnings." + definition_period = YEAR + unit = USD + reference = "https://www.kcmo.gov/city-hall/departments/finance/earnings-tax" + + def formula(person, period, parameters): + p = parameters(period).gov.local.mo.kansas_city.tax.income + taxable_earnings = person( + "mo_kansas_city_earnings_tax_taxable_earnings", period + ) + return taxable_earnings * p.rate diff --git a/policyengine_us/variables/gov/local/mo/st_louis/tax/income/mo_st_louis_earnings_tax.py b/policyengine_us/variables/gov/local/mo/st_louis/tax/income/mo_st_louis_earnings_tax.py index 1c31987db47..42bbf173fb7 100644 --- a/policyengine_us/variables/gov/local/mo/st_louis/tax/income/mo_st_louis_earnings_tax.py +++ b/policyengine_us/variables/gov/local/mo/st_louis/tax/income/mo_st_louis_earnings_tax.py @@ -14,11 +14,4 @@ class mo_st_louis_earnings_tax(Variable): "https://www.stlouis-mo.gov/government/departments/collector/" "earnings-tax/file-earnings-tax.cfm" ) - - def formula(tax_unit, period, parameters): - person = tax_unit.members - p = parameters(period).gov.local.mo.st_louis.tax.income - taxable_earnings = person("mo_st_louis_earnings_tax_taxable_earnings", period) - credits = person("mo_st_louis_earnings_tax_credit", period) - person_tax = taxable_earnings * p.rate - return tax_unit.sum(max_(0, person_tax - credits)) + adds = ["mo_st_louis_earnings_tax_person"] diff --git a/policyengine_us/variables/gov/local/mo/st_louis/tax/income/mo_st_louis_earnings_tax_person.py b/policyengine_us/variables/gov/local/mo/st_louis/tax/income/mo_st_louis_earnings_tax_person.py new file mode 100644 index 00000000000..8a2b5aa7f5d --- /dev/null +++ b/policyengine_us/variables/gov/local/mo/st_louis/tax/income/mo_st_louis_earnings_tax_person.py @@ -0,0 +1,23 @@ +from policyengine_us.model_api import * + + +class mo_st_louis_earnings_tax_person(Variable): + value_type = float + entity = Person + label = "St. Louis earnings tax for each person" + documentation = ( + "St. Louis earnings tax on the person's own taxable earnings, after " + "the person's optional credits supplied as inputs." + ) + definition_period = YEAR + unit = USD + reference = ( + "https://www.stlouis-mo.gov/government/departments/collector/" + "earnings-tax/file-earnings-tax.cfm" + ) + + def formula(person, period, parameters): + p = parameters(period).gov.local.mo.st_louis.tax.income + taxable_earnings = person("mo_st_louis_earnings_tax_taxable_earnings", period) + credits = person("mo_st_louis_earnings_tax_credit", period) + return max_(0, taxable_earnings * p.rate - credits) diff --git a/policyengine_us/variables/gov/local/pa/philadelphia/tax/income/pa_philadelphia_wage_tax.py b/policyengine_us/variables/gov/local/pa/philadelphia/tax/income/pa_philadelphia_wage_tax.py index 62e37e476a6..f74a1154d72 100644 --- a/policyengine_us/variables/gov/local/pa/philadelphia/tax/income/pa_philadelphia_wage_tax.py +++ b/policyengine_us/variables/gov/local/pa/philadelphia/tax/income/pa_philadelphia_wage_tax.py @@ -15,18 +15,4 @@ class pa_philadelphia_wage_tax(Variable): "https://www.phila.gov/services/payments-assistance-taxes/taxes/" "business-taxes/business-taxes-by-type/wage-tax-employers/" ) - - def formula(tax_unit, period, parameters): - person = tax_unit.members - taxable_wages = person("pa_philadelphia_wage_tax_taxable_wages", period) - if not np.any(taxable_wages): - return 0 - - p = parameters(period).gov.local.pa.philadelphia.tax.income - resident = person("pa_philadelphia_wage_tax_resident", period) - reduced_rate_eligible = person( - "pa_philadelphia_wage_tax_reduced_rate_eligible", period - ) - standard_rate = where(resident, p.resident_rate, p.nonresident_rate) - rate = where(reduced_rate_eligible, p.reduced_rate, standard_rate) - return tax_unit.sum(taxable_wages * rate) + adds = ["pa_philadelphia_wage_tax_person"] diff --git a/policyengine_us/variables/gov/local/pa/philadelphia/tax/income/pa_philadelphia_wage_tax_person.py b/policyengine_us/variables/gov/local/pa/philadelphia/tax/income/pa_philadelphia_wage_tax_person.py new file mode 100644 index 00000000000..3b2018fae7c --- /dev/null +++ b/policyengine_us/variables/gov/local/pa/philadelphia/tax/income/pa_philadelphia_wage_tax_person.py @@ -0,0 +1,31 @@ +from policyengine_us.model_api import * + + +class pa_philadelphia_wage_tax_person(Variable): + value_type = float + entity = Person + label = "Philadelphia wage tax for each person" + documentation = ( + "Philadelphia employee wage or earnings tax on the person's own " + "taxable wages, at the rate for the person's resident status." + ) + definition_period = YEAR + unit = USD + reference = ( + "https://www.phila.gov/services/payments-assistance-taxes/taxes/" + "business-taxes/business-taxes-by-type/wage-tax-employers/" + ) + + def formula(person, period, parameters): + taxable_wages = person("pa_philadelphia_wage_tax_taxable_wages", period) + if not np.any(taxable_wages): + return 0 + + p = parameters(period).gov.local.pa.philadelphia.tax.income + resident = person("pa_philadelphia_wage_tax_resident", period) + reduced_rate_eligible = person( + "pa_philadelphia_wage_tax_reduced_rate_eligible", period + ) + standard_rate = where(resident, p.resident_rate, p.nonresident_rate) + rate = where(reduced_rate_eligible, p.reduced_rate, standard_rate) + return taxable_wages * rate diff --git a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction_indiv.py b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction_indiv.py index 4ae7cd6100a..3054cfc2aae 100644 --- a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction_indiv.py +++ b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction_indiv.py @@ -43,33 +43,26 @@ def formula(person, period, parameters): sales_tax = add(person.tax_unit, period, ["state_sales_tax", "local_sales_tax"]) sales_tax_share = where(married, p_mt.spouse_allocation_rate, 1) # Line 5b: "Deductions that are attributable to only one spouse must - # be claimed by that spouse." PolicyEngine computes local income - # taxes for the tax unit. The ones it levies on a Montana household - # are city taxes on earnings there (Kansas City, St. Louis, - # Philadelphia), so each person takes a share in proportion to their - # own earnings taxed by those cities. Without such earnings the tax - # is divided like the sales taxes. - local_base = add( + # be claimed by that spouse." The local income taxes PolicyEngine + # levies on a Montana household are city taxes on each person's own + # earnings there (Kansas City, St. Louis, Philadelphia), so each + # column takes that person's own tax. Any other local income tax of + # the tax unit is divided like the sales taxes. + own_local_tax = add( person, period, [ - "mo_kansas_city_earnings_tax_taxable_earnings", - "mo_st_louis_earnings_tax_taxable_earnings", - "pa_philadelphia_wage_tax_taxable_wages", + "mo_kansas_city_earnings_tax_person", + "mo_st_louis_earnings_tax_person", + "pa_philadelphia_wage_tax_person", ], ) - unit_local_base = person.tax_unit.sum(local_base) - has_local_base = unit_local_base > 0 - local_share = where( - has_local_base, - local_base / where(has_local_base, unit_local_base, 1), - sales_tax_share, - ) local_income_tax = person.tax_unit("local_income_tax", period) + other_local_tax = max_(0, local_income_tax - person.tax_unit.sum(own_local_tax)) taxes = ( real_estate_tax - + sales_tax_share * sales_tax - + local_share * local_income_tax + + sales_tax_share * (sales_tax + other_local_tax) + + own_local_tax ) head_or_spouse = person("is_tax_unit_head_or_spouse", period) return head_or_spouse * min_(taxes, cap) From 5bee8ba62bebf9765dd03b31c1a118b4fcb13746 Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Fri, 13 Nov 2026 08:54:27 -0500 Subject: [PATCH 4/6] Apply Montana's SALT election and cover column allocation Co-Authored-By: Claude Opus 5.5 --- .../fix-mt-salt-cap-joint-return.fixed.md | 2 +- ...tgage_interest_federal_limit_properties.py | 1 + .../itemized/mt_claim_of_right_deduction.yaml | 4 +- .../itemized/mt_salt_deduction.yaml | 40 ++++++- .../itemized/mt_salt_deduction_indiv.yaml | 105 +++++++++++++++-- .../test_mt_salt_deduction_invariants.py | 109 +++++++++++------- .../itemized/salt/mt_salt_deduction.py | 29 ++--- .../itemized/salt/mt_salt_deduction_indiv.py | 41 +++---- source_conflicts/candidates.yaml | 36 ++++++ .../mt-salt-election/form-2-2021-line-5.txt | 13 +++ .../mt-salt-election/form-2-2022-line-5.txt | 13 +++ .../mt-salt-election/form-2-2023-line-5.txt | 13 +++ .../mca-15-30-2131-2021-incorporation.txt | 10 ++ .../usc-26-164-2023-election-cap.txt | 10 ++ 14 files changed, 328 insertions(+), 98 deletions(-) create mode 100644 source_conflicts/sources/mt-salt-election/form-2-2021-line-5.txt create mode 100644 source_conflicts/sources/mt-salt-election/form-2-2022-line-5.txt create mode 100644 source_conflicts/sources/mt-salt-election/form-2-2023-line-5.txt create mode 100644 source_conflicts/sources/mt-salt-election/mca-15-30-2131-2021-incorporation.txt create mode 100644 source_conflicts/sources/mt-salt-election/usc-26-164-2023-election-cap.txt diff --git a/changelog.d/fix-mt-salt-cap-joint-return.fixed.md b/changelog.d/fix-mt-salt-cap-joint-return.fixed.md index 512c8a641c6..e428b1623ac 100644 --- a/changelog.d/fix-mt-salt-cap-joint-return.fixed.md +++ b/changelog.d/fix-mt-salt-cap-joint-return.fixed.md @@ -1 +1 @@ -Cap Montana's 2021–2023 state and local tax deduction (Itemized Deductions Schedule, line 5) once for a joint return and at $5,000 in each spouse's column when filing separately on the same form, and include general sales taxes (line 5a) and local income taxes (line 5b). +Cap Montana's 2021–2023 state and local tax deduction once per joint return and at $5,000 per separate column. Elect sales taxes or local income taxes before adding real estate taxes. diff --git a/policyengine_us/tests/core/test_mt_mortgage_interest_federal_limit_properties.py b/policyengine_us/tests/core/test_mt_mortgage_interest_federal_limit_properties.py index 17700756dd7..4af0b153f0f 100644 --- a/policyengine_us/tests/core/test_mt_mortgage_interest_federal_limit_properties.py +++ b/policyengine_us/tests/core/test_mt_mortgage_interest_federal_limit_properties.py @@ -55,6 +55,7 @@ "mt_medical_expense_deduction_joint", "mt_medical_expense_deduction_indiv", "mt_salt_deduction", + "mt_salt_deduction_indiv", "mt_federal_income_tax_deduction_indiv", "mt_federal_income_tax_deduction_for_federal_itemization_indiv", ) diff --git a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_claim_of_right_deduction.yaml b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_claim_of_right_deduction.yaml index 23743f6fb17..7b6560ae9a5 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_claim_of_right_deduction.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_claim_of_right_deduction.yaml @@ -207,7 +207,7 @@ mt_married_filing_separately_on_same_return_eligible: true mt_child_dependent_care_expense_deduction: 0 mt_medical_expense_deduction_indiv: 0 - mt_salt_deduction: 0 + mt_salt_deduction_indiv: 0 mt_federal_income_tax_deduction_indiv: 0 mt_federal_income_tax_deduction_for_federal_itemization_indiv: 0 deductible_mortgage_interest: 0 @@ -219,7 +219,7 @@ mt_married_filing_separately_on_same_return_eligible: true mt_child_dependent_care_expense_deduction: 0 mt_medical_expense_deduction_indiv: 0 - mt_salt_deduction: 0 + mt_salt_deduction_indiv: 0 mt_federal_income_tax_deduction_indiv: 0 mt_federal_income_tax_deduction_for_federal_itemization_indiv: 0 deductible_mortgage_interest: 0 diff --git a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction.yaml b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction.yaml index 51d97882b53..5d320ae36ec 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction.yaml @@ -44,10 +44,8 @@ output: mt_salt_deduction: 10_000 -# Form 2, Itemized Deductions Schedule, line 5 (2021-2023): "Add lines 5a -# through 5d, enter the total here, but not more than $10,000 if your status -# is single, head of household or married filing jointly". A joint return has -# one column, so the couple's taxes are added and capped once. +# Montana caps a joint return at $10,000 and each separate column at $5,000. +# Taxpayers elect sales taxes or local income taxes under IRC 164(b)(5)(A). - name: Joint return caps the couple's combined state and local taxes once period: 2023 @@ -183,3 +181,37 @@ # Line 5b: 1,000 (Kansas City) + 3,440 (Philadelphia nonresident 3.44%); # line 5c: 4,000. Line 5: 8,440, under the 10,000 cap. mt_salt_deduction: [8_440, 0] + +- name: A single return elects sales taxes instead of adding local income taxes + period: 2022 + input: + filing_status: SINGLE + state_code: MT + real_estate_taxes: 2_000 + state_sales_tax: 1_500 + local_income_tax: 1_000 + output: + # 2,000 property + max(1,500 sales, 1,000 income) = 3,500. + mt_salt_deduction: 3_500 + +- name: A joint return elects local income taxes before applying its cap + period: 2021 + input: + people: + head: + age: 45 + real_estate_taxes: 7_500 + spouse: + age: 45 + tax_units: + tax_unit: + members: [head, spouse] + state_sales_tax: 1_000 + local_income_tax: 2_000 + households: + household: + members: [head, spouse] + state_code: MT + output: + # min(7,500 property + max(1,000 sales, 2,000 income), 10,000) = 9,500. + mt_salt_deduction: [9_500, 0] diff --git a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction_indiv.yaml b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction_indiv.yaml index fcb4eb1a0b1..44adb0da83f 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction_indiv.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction_indiv.yaml @@ -1,10 +1,5 @@ -# Form 2, Itemized Deductions Schedule, line 5 (2021-2023): "Add lines 5a -# through 5d, enter the total here, but not more than $10,000 if your status -# is single, head of household or married filing jointly; or $5,000 if you are -# married filing separately." Spouses filing separately on the same form -# (filing status 2a) allocate between columns A and B, "with each column -# constituting its own return" (2023 instructions, PDF p. 12). So each -# spouse's column is capped at $5,000. +# Montana caps a joint return at $10,000 and each separate column at $5,000. +# Taxpayers elect sales taxes or local income taxes under IRC 164(b)(5)(A). - name: Each spouse's column is capped at the married filing separately amount period: 2023 @@ -148,9 +143,8 @@ # SB 399 ended filing separately on the same form after 2023. mt_salt_deduction_indiv: [0, 0] -# Line 5b: "Deductions that are attributable to only one spouse must be -# claimed by that spouse" (2023 instructions, PDF p. 13). A city earnings tax -# belongs to the spouse who earned the taxed income. +# Each spouse claims the city income tax on their own earnings +# (2023 Form 2 instructions, PDF p. 13). - name: A city earnings tax goes in the column of the spouse who earned it period: 2023 @@ -264,3 +258,94 @@ # Column A: min(4,000 + 1% x 100,000, 5,000) = 5,000. # Column B: 3.44% x 100,000 = 3,440. mt_salt_deduction_indiv: [5_000, 3_440] + +- name: Each column receives half the local income tax without a person allocation + period: 2023 + input: + people: + head: + age: 45 + real_estate_taxes: 4_500 + spouse: + age: 45 + tax_units: + tax_unit: + members: [head, spouse] + local_income_tax: 2_000 + households: + household: + members: [head, spouse] + state_code: MT + output: + # Half of 2,000 gives each column 1,000. Only the head reaches 5,000. + mt_salt_deduction_indiv: [5_000, 1_000] + +- name: Each column keeps its city tax and half the remaining local income tax + period: 2022 + input: + people: + head: + age: 45 + real_estate_taxes: 1_000 + mo_kansas_city_earnings_tax_taxable_earnings: 100_000 + spouse: + age: 45 + tax_units: + tax_unit: + members: [head, spouse] + local_income_tax: 3_000 + households: + household: + members: [head, spouse] + state_code: MT + output: + # Kansas City tax: 1,000. Remaining tax: 3,000 - 1,000 = 2,000. + # Head: 1,000 property + 1,000 city + 1,000 remaining; spouse: 1,000. + mt_salt_deduction_indiv: [3_000, 1_000] + +- name: Spouses independently elect local income taxes and sales taxes + period: 2021 + input: + people: + head: + age: 45 + mo_kansas_city_earnings_tax_taxable_earnings: 200_000 + spouse: + age: 45 + tax_units: + tax_unit: + members: [head, spouse] + state_sales_tax: 2_000 + households: + household: + members: [head, spouse] + state_code: MT + output: + # Head elects 2,000 city tax over 1,000 sales tax; spouse elects 1,000 sales. + mt_salt_deduction_indiv: [2_000, 1_000] + # A joint return elects between total sales and income taxes: max(2,000, 2,000). + mt_salt_deduction: [2_000, 0] + +- name: A column elects sales taxes before adding its own real estate taxes + period: 2023 + input: + people: + head: + age: 45 + real_estate_taxes: 1_000 + mo_kansas_city_earnings_tax_taxable_earnings: 100_000 + spouse: + age: 45 + tax_units: + tax_unit: + members: [head, spouse] + state_sales_tax: 4_000 + households: + household: + members: [head, spouse] + state_code: MT + output: + # Head: 1,000 property + max(2,000 sales, 1,000 city) = 3,000. + # Spouse elects 2,000 sales; joint return: 1,000 + max(4,000, 1,000). + mt_salt_deduction_indiv: [3_000, 2_000] + mt_salt_deduction: [5_000, 0] diff --git a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/test_mt_salt_deduction_invariants.py b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/test_mt_salt_deduction_invariants.py index 8a008587b55..02afd2706d7 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/test_mt_salt_deduction_invariants.py +++ b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/test_mt_salt_deduction_invariants.py @@ -1,30 +1,27 @@ -"""Invariants for Montana's state and local tax deduction, 2021-2023. - -Form 2, Itemized Deductions Schedule, line 5 adds lines 5a (general sales -taxes), 5b (local income taxes), 5c (real estate taxes) and 5d, and caps the -total at $10,000, or $5,000 if married filing separately. A joint return has -one column, so its cap applies once to the couple's combined taxes -(mt_salt_deduction, on the head). Spouses filing separately on the same form -(status 2a) each have their own column, capped at $5,000 -(mt_salt_deduction_indiv). From 2024 the schedule is gone and this change -leaves the earlier per-person amounts as they were. - -The YAML files hold the worked cases. This file checks what they cannot: many -mixed tax units (single, head of household, separate, joint, joint with -dependents, some with sales taxes or Kansas City and St. Louis earnings taxes) -in one vectorized simulation, and how results move when inputs change. For -every tax unit: - -1. Differential: both variables equal an independent numpy calculation of - line 5, with the caps taken from the forms rather than from parameters. -2. Bounds and order: each value lies between zero and its cap, and a couple's - two separate columns never deduct more than their joint return. -3. Monotone: raising any member's real estate taxes never lowers the joint - return's or any column's deduction. -4. Head swap: swapping which spouse is the head moves each column with its - spouse and leaves the joint return's deduction unchanged. -5. From 2024 the per-person amounts equal min(real estate taxes, federal cap) - for the tax unit's filing status, as before this change. +"""Check Montana's state and local tax deduction for 2021-2023. + +A taxpayer elects general sales taxes or local income taxes under 26 USC +164(b)(5)(A), then adds real estate taxes before applying the cap. A joint +return deducts at most $10,000 once, through the head's mt_salt_deduction. +Spouses filing separately on the same form each elect within their own +return and deduct at most $5,000 through mt_salt_deduction_indiv. +Spouses can deduct more in separate columns than jointly when they choose +different tax categories. From 2024 we preserve the earlier per-person +amounts after Montana discontinued the schedule. + +We check mixed tax units in one vectorized simulation, including all filing +statuses, dependents, sales taxes, city earnings taxes and residual local +income taxes. For every tax unit: + +1. Each deduction matches an independent NumPy calculation, using the caps + from the forms and choosing the larger eligible tax category. +2. Each return or column deducts between zero and its cap. +3. Raising any member's real estate taxes never lowers the return's or any + column's deduction. +4. Swapping which spouse is the head moves each column with its spouse and + leaves the joint return's deduction unchanged. +5. From 2024 each person deducts min(real estate taxes, federal cap) for the + tax unit's filing status, as before this change. """ import numpy as np @@ -37,7 +34,12 @@ TOLERANCE = 0.01 # dollars # Form 2 (2021-2023), Itemized Deductions Schedule, line 5. -FORM_CAP = {"SINGLE": 10_000, "HEAD_OF_HOUSEHOLD": 10_000, "JOINT": 10_000} +FORM_CAP = { + "SINGLE": 10_000, + "HEAD_OF_HOUSEHOLD": 10_000, + "JOINT": 10_000, + "SURVIVING_SPOUSE": 10_000, +} FORM_CAP["SEPARATE"] = 5_000 SCHEDULE_YEARS = [2021, 2022, 2023] # Kansas City and St. Louis earnings tax rates: local income taxes with no @@ -52,11 +54,14 @@ } FEDERAL_CAP[2024]["SEPARATE"] = 5_000 FEDERAL_CAP[2026]["SEPARATE"] = 20_200 -KINDS = ["single", "hoh", "separate", "joint", "joint_dependents"] +for caps in FEDERAL_CAP.values(): + caps["SURVIVING_SPOUSE"] = caps["JOINT"] +KINDS = ["single", "hoh", "separate", "surviving_spouse", "joint", "joint_dependents"] STATUS = { "single": "SINGLE", "hoh": "HEAD_OF_HOUSEHOLD", "separate": "SEPARATE", + "surviving_spouse": "SURVIVING_SPOUSE", "joint": "JOINT", "joint_dependents": "JOINT", } @@ -87,7 +92,11 @@ def people(draw): @st.composite def tax_units(draw): kind = draw(st.sampled_from(KINDS)) - n_dependents = draw(st.integers(1, 2)) if kind in ("hoh", "joint_dependents") else 0 + n_dependents = ( + draw(st.integers(1, 2)) + if kind in ("hoh", "surviving_spouse", "joint_dependents") + else 0 + ) return { "kind": kind, "head": draw(people()), @@ -95,6 +104,7 @@ def tax_units(draw): "dependents": [draw(people()) for _ in range(n_dependents)], "state_sales_tax": draw(sales), "local_sales_tax": draw(sales), + "other_local_income_tax": draw(sales), } @@ -126,7 +136,9 @@ def person(): for _ in range(n): kind = str(rng.choice(KINDS)) n_dependents = ( - int(rng.integers(1, 3)) if kind in ("hoh", "joint_dependents") else 0 + int(rng.integers(1, 3)) + if kind in ("hoh", "surviving_spouse", "joint_dependents") + else 0 ) units.append( { @@ -140,6 +152,9 @@ def person(): "local_sales_tax": float(rng.integers(0, 601)) if rng.random() < 0.3 else 0.0, + "other_local_income_tax": float(rng.integers(1, 3_001)) + if rng.random() < 0.3 + else 0.0, } ) return units @@ -185,6 +200,22 @@ def add(name, values, role): "state_sales_tax": unit["state_sales_tax"], "local_sales_tax": unit["local_sales_tax"], } + if unit["other_local_income_tax"]: + payers = [unit["head"], *unit["dependents"]] + if couple: + payers.append(unit["spouse"]) + city_income_tax = sum( + KANSAS_CITY_RATE * payer["kansas_city_earnings"] + + max( + 0, + ST_LOUIS_RATE * payer["st_louis_earnings"] + - payer["st_louis_credit"], + ) + for payer in payers + ) + groups["tax_units"][f"tax_unit_{i}"]["local_income_tax"] = ( + city_income_tax + unit["other_local_income_tax"] + ) groups["households"][f"household_{i}"] = { "members": members, "state_code": "MT", @@ -230,9 +261,8 @@ def _check_schedule_year(units, year): joint_cap = np.array([FORM_CAP[s] for s in status]) column_cap = np.where(married, FORM_CAP["SEPARATE"], joint_cap) - # 1. Differential against numpy. Each person owes city tax on their own - # earnings there, less their own credits; a column takes its own - # spouse's tax. + # 1. Each taxpayer chooses the larger sales-tax or income-tax amount. + # Each spouse keeps their own city tax and half the residual local tax. city_tax = KANSAS_CITY_RATE * base[ "mo_kansas_city_earnings_tax_taxable_earnings" ] + np.maximum( @@ -240,28 +270,29 @@ def _check_schedule_year(units, year): ST_LOUIS_RATE * base["mo_st_louis_earnings_tax_taxable_earnings"] - base["mo_st_louis_earnings_tax_credit"], ) - total = _unit_sum(base, base["real_estate_taxes"] + city_tax) + sales + other_local_tax = np.array([u["other_local_income_tax"] for u in units]) + income_tax = _unit_sum(base, city_tax) + other_local_tax + total = _unit_sum(base, base["real_estate_taxes"]) + np.maximum(sales, income_tax) np.testing.assert_allclose( base["mt_salt_deduction"], head * np.minimum(total, joint_cap)[unit], atol=TOLERANCE, ) share = np.where(married, 0.5, 1.0)[unit] - own = base["real_estate_taxes"] + share * sales[unit] + city_tax + own_income_tax = city_tax + share * other_local_tax[unit] + own = base["real_estate_taxes"] + np.maximum(share * sales[unit], own_income_tax) np.testing.assert_allclose( base["mt_salt_deduction_indiv"], filer * np.minimum(own, column_cap[unit]), atol=TOLERANCE, ) - # 2. Bounds and order. + # 2. Each return or column stays within its cap. joint = _unit_sum(base, base["mt_salt_deduction"]) - columns = _unit_sum(base, base["mt_salt_deduction_indiv"]) assert (base["mt_salt_deduction"] >= 0).all() assert (base["mt_salt_deduction_indiv"] >= 0).all() assert (joint <= joint_cap + TOLERANCE).all() assert (base["mt_salt_deduction_indiv"] <= column_cap[unit] + TOLERANCE).all() - assert (columns[married] <= joint[married] + TOLERANCE).all() # 3. Monotone in real estate taxes. raised = _run(units, year, raised=True) diff --git a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction.py b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction.py index 00c82008e1c..d685d206dc9 100644 --- a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction.py +++ b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction.py @@ -21,6 +21,7 @@ class mt_salt_deduction(Variable): "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2022_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=34", "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2023_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=37", "https://mca.legmt.gov/bills/2022/mca/title_0150/chapter_0300/part_0210/section_0310/0150-0300-0210-0310.html", + "https://www.govinfo.gov/content/pkg/USCODE-2023-title26/html/USCODE-2023-title26-subtitleA-chap1-subchapB-partVI-sec164.htm", # Former MCA 15-30-2131(1)(a)(ii) (2021): items under IRC 161, except # state income tax paid. The cap is 26 USC 164(b)(6). ) @@ -32,28 +33,16 @@ def formula(person, period, parameters): filing_status = person.tax_unit("filing_status", period) cap = p.cap[filing_status] if p_mt.state_specific_deduction_applies: - # Line 5 adds lines 5a through 5d for the whole return and caps - # the total once: "not more than $10,000 if your status is - # single, head of household or married filing jointly; or $5,000 - # if you are married filing separately". - # 5a: general state and local sales taxes. - # 5b: local income taxes. No Montana locality levies one, but - # a resident can owe another city's earnings or wage tax. - # 5c: real estate taxes. - # 5d: value-based personal property taxes, not modeled. - taxes = add( - person.tax_unit, - period, - [ - "real_estate_taxes", - "state_sales_tax", - "local_sales_tax", - "local_income_tax", - ], + # Taxpayers elect sales taxes or local income taxes under IRC + # 164(b)(5)(A), then add real estate taxes before applying the cap. + sales_tax = add( + person.tax_unit, period, ["state_sales_tax", "local_sales_tax"] ) + local_income_tax = person.tax_unit("local_income_tax", period) + real_estate_tax = add(person.tax_unit, period, ["real_estate_taxes"]) + taxes = real_estate_tax + max_(sales_tax, local_income_tax) is_head = person("is_tax_unit_head", period) return is_head * min_(taxes, cap) - # From 2024 the schedule is discontinued. This keeps the earlier - # per-person amounts until the 2024 Form 2 line 2 is modeled. + # Preserve the per-person real estate deduction from 2024. real_estate_tax = person("real_estate_taxes", period) return min_(real_estate_tax, cap) diff --git a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction_indiv.py b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction_indiv.py index 3054cfc2aae..e1aaeb89182 100644 --- a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction_indiv.py +++ b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction_indiv.py @@ -17,10 +17,15 @@ class mt_salt_deduction_indiv(Variable): "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2021_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7", "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2022_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7", "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2023_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7", + # PDF pages 10, 32 + "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2021_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=10", + # PDF pages 11, 34 + "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2022_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=11", + # PDF pages 12-13, 37 "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2023_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=12", - # 2023 instructions, "How to allocate income and deductions when - # filing separately": "each column constituting its own return". - "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2023_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=37", + # PDF pages 3-4 + "https://www.irs.gov/pub/irs-prior/i1040sca--2023.pdf#page=3", + "https://www.govinfo.gov/content/pkg/USCODE-2023-title26/html/USCODE-2023-title26-subtitleA-chap1-subchapB-partVI-sec164.htm", "https://mca.legmt.gov/bills/2022/mca/title_0150/chapter_0300/part_0210/section_0310/0150-0300-0210-0310.html", # Former MCA 15-30-2131(1)(a)(ii) (2021). The cap is 26 USC 164(b)(6). ) @@ -30,24 +35,18 @@ def formula(person, period, parameters): p = parameters(period).gov.irs.deductions.itemized.salt_and_real_estate p_mt = parameters(period).gov.states.mt.tax.income.deductions.itemized filing_status = person.tax_unit("filing_status", period) - # A married couple's columns are each "married filing separately": - # "not more than ... $5,000 if you are married filing separately". - # Other filers have one column at their own status's cap. + column_status = person.tax_unit( + "state_filing_status_if_married_filing_separately_on_same_return", period + ) + cap = p.cap[column_status] married = filing_status == filing_status.possible_values.JOINT - cap = where(married, p.cap.SEPARATE, p.cap[filing_status]) - # Line 5c: each spouse's own real estate taxes. real_estate_tax = person("real_estate_taxes", period) - # Line 5a: PolicyEngine estimates sales taxes for the tax unit only. - # Jointly paid expenses "can be allocated to either spouse in any - # proportional amount", so a couple divides them equally. + # Tax-unit sales taxes lack an owner. Allocate half to each spouse. sales_tax = add(person.tax_unit, period, ["state_sales_tax", "local_sales_tax"]) sales_tax_share = where(married, p_mt.spouse_allocation_rate, 1) - # Line 5b: "Deductions that are attributable to only one spouse must - # be claimed by that spouse." The local income taxes PolicyEngine - # levies on a Montana household are city taxes on each person's own - # earnings there (Kansas City, St. Louis, Philadelphia), so each - # column takes that person's own tax. Any other local income tax of - # the tax unit is divided like the sales taxes. + # Each spouse claims the city income taxes on their own earnings. + # Split residual tax-unit local income taxes equally as a convention + # when the input does not identify who paid them. own_local_tax = add( person, period, @@ -59,10 +58,8 @@ def formula(person, period, parameters): ) local_income_tax = person.tax_unit("local_income_tax", period) other_local_tax = max_(0, local_income_tax - person.tax_unit.sum(own_local_tax)) - taxes = ( - real_estate_tax - + sales_tax_share * (sales_tax + other_local_tax) - + own_local_tax - ) + # Each column elects its own larger category under IRC 164(b)(5)(A). + income_tax = own_local_tax + sales_tax_share * other_local_tax + taxes = real_estate_tax + max_(sales_tax_share * sales_tax, income_tax) head_or_spouse = person("is_tax_unit_head_or_spouse", period) return head_or_spouse * min_(taxes, cap) diff --git a/source_conflicts/candidates.yaml b/source_conflicts/candidates.yaml index 0dffa25d573..0e65652f17b 100644 --- a/source_conflicts/candidates.yaml +++ b/source_conflicts/candidates.yaml @@ -15046,3 +15046,39 @@ candidates: - https://github.com/PolicyEngine/policyengine-us/pull/10053 state: ruled note: Neither source prescribes a fallback when residence data are missing. Keep the existing false default. + +- id: us-mt:salt-sales-income-election + program: income-tax + years: + from: 2021 + to: 2023 + type: tax + question: Does a Montana taxpayer elect general sales taxes or local income taxes under the incorporated federal statute, or add both categories under Form 2 lines 5a and 5b? + sources: + - kind: statute + citation: Former MCA 15-30-2131(1)(a), MCA 2021 + url: https://mca.legmt.gov/bills/2022/mca/title_0150/chapter_0300/part_0210/section_0310/0150-0300-0210-0310.html + - kind: statute + citation: 26 USC 164(b)(5)(A), 2023 edition + url: https://www.govinfo.gov/content/pkg/USCODE-2023-title26/html/USCODE-2023-title26-subtitleA-chap1-subchapB-partVI-sec164.htm + - kind: form + citation: 2021 Montana Form 2, Itemized Deductions Schedule lines 5a-5b and 5, PDF page 7 + url: https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2021_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7 + - kind: form + citation: 2022 Montana Form 2, Itemized Deductions Schedule lines 5a-5b and 5, PDF page 7 + url: https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2022_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7 + - kind: form + citation: 2023 Montana Form 2, Itemized Deductions Schedule lines 5a-5b and 5, PDF page 7 + url: https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2023_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7 + readings: + statute: A taxpayer elects either general sales taxes or local income taxes before adding real estate taxes and applying the return's cap. Montana excludes state income taxes, and each spouse filing on the same form elects within their own return. + other: A taxpayer adds general sales taxes on line 5a and local income taxes on line 5b to the other taxes on line 5 before applying the cap. + pe_us: + follows: statute + code: + - policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction.py + - policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction_indiv.py + prs: + - https://github.com/PolicyEngine/policyengine-us/pull/10002 + state: ruled + note: PolicyEngine applies the statute-first principle. It chooses the larger eligible category for a joint return and separately for each spouse's column, after allocating taxes between the spouses. diff --git a/source_conflicts/sources/mt-salt-election/form-2-2021-line-5.txt b/source_conflicts/sources/mt-salt-election/form-2-2021-line-5.txt new file mode 100644 index 00000000000..f9bd9741d7b --- /dev/null +++ b/source_conflicts/sources/mt-salt-election/form-2-2021-line-5.txt @@ -0,0 +1,13 @@ +Source: https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2021_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7 +Page 7, excerpts from pdftotext (poppler), layout order. Normalized whitespace and omitted other text. + +Itemized Deductions Schedule, line 5a +General state and local sales taxes + +Itemized Deductions Schedule, line 5b +Local income taxes + +Itemized Deductions Schedule, line 5 +Add lines 5a through 5d + +Context: The Department of Revenue asks taxpayers to add both categories with real estate and value-based personal property taxes before applying the cap. The department provides no election instruction on these lines. diff --git a/source_conflicts/sources/mt-salt-election/form-2-2022-line-5.txt b/source_conflicts/sources/mt-salt-election/form-2-2022-line-5.txt new file mode 100644 index 00000000000..3eaa1b31f7c --- /dev/null +++ b/source_conflicts/sources/mt-salt-election/form-2-2022-line-5.txt @@ -0,0 +1,13 @@ +Source: https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2022_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7 +Page 7, excerpts from pdftotext (poppler), layout order. Normalized whitespace and omitted other text. + +Itemized Deductions Schedule, line 5a +General state and local sales taxes + +Itemized Deductions Schedule, line 5b +Local income taxes + +Itemized Deductions Schedule, line 5 +Add lines 5a through 5d + +Context: The Department of Revenue asks taxpayers to add both categories with real estate and value-based personal property taxes before applying the cap. The department provides no election instruction on these lines. diff --git a/source_conflicts/sources/mt-salt-election/form-2-2023-line-5.txt b/source_conflicts/sources/mt-salt-election/form-2-2023-line-5.txt new file mode 100644 index 00000000000..86a89914dd1 --- /dev/null +++ b/source_conflicts/sources/mt-salt-election/form-2-2023-line-5.txt @@ -0,0 +1,13 @@ +Source: https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2023_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7 +Page 7, excerpts from pdftotext (poppler), layout order. Normalized whitespace and omitted other text. + +Itemized Deductions Schedule, line 5a +General state and local sales taxes + +Itemized Deductions Schedule, line 5b +Local income taxes + +Itemized Deductions Schedule, line 5 +Add lines 5a through 5d + +Context: The Department of Revenue asks taxpayers to add both categories with real estate and value-based personal property taxes before applying the cap. The department provides no election instruction on these lines. diff --git a/source_conflicts/sources/mt-salt-election/mca-15-30-2131-2021-incorporation.txt b/source_conflicts/sources/mt-salt-election/mca-15-30-2131-2021-incorporation.txt new file mode 100644 index 00000000000..d68116a00ef --- /dev/null +++ b/source_conflicts/sources/mt-salt-election/mca-15-30-2131-2021-incorporation.txt @@ -0,0 +1,10 @@ +Source: https://mca.legmt.gov/bills/2022/mca/title_0150/chapter_0300/part_0210/section_0310/0150-0300-0210-0310.html +Extracted the excerpts below from the official archived HTML and decoded HTML entities. Retained subsection labels; omitted other text. + +Former MCA 15-30-2131(1)(a), MCA 2021 +the items referred to in sections 161 + +Former MCA 15-30-2131(1)(a)(ii), MCA 2021 +state income tax paid + +Context: Montana taxpayers deduct the incorporated federal itemized expenses, subject to state exceptions. Montana excludes state income taxes from those deductions. diff --git a/source_conflicts/sources/mt-salt-election/usc-26-164-2023-election-cap.txt b/source_conflicts/sources/mt-salt-election/usc-26-164-2023-election-cap.txt new file mode 100644 index 00000000000..b6f1c738f0c --- /dev/null +++ b/source_conflicts/sources/mt-salt-election/usc-26-164-2023-election-cap.txt @@ -0,0 +1,10 @@ +Source: https://www.govinfo.gov/content/pkg/USCODE-2023-title26/html/USCODE-2023-title26-subtitleA-chap1-subchapB-partVI-sec164.htm +Extracted the excerpts below from the official HTML and decoded HTML entities. Retained section labels; omitted other text. + +26 USC 164(b)(5)(A)(i), 2023 edition +without regard to the reference to State and local income taxes + +26 USC 164(b)(6)(B), 2023 edition +$10,000 ($5,000 in the case of a married individual filing a separate return) + +Context: A taxpayer who elects general sales taxes excludes state and local income taxes. Congress capped the combined eligible taxes and reduced the cap for a married taxpayer filing separately. From 3d60047496ae9bba95a0f3723998f9424507e7cb Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Fri, 13 Nov 2026 10:04:27 -0500 Subject: [PATCH 5/6] Set every local-tax input in overridden test batches Co-Authored-By: Claude Opus 5.5 --- .../itemized/test_mt_salt_deduction_invariants.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/test_mt_salt_deduction_invariants.py b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/test_mt_salt_deduction_invariants.py index 02afd2706d7..fae6e210854 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/test_mt_salt_deduction_invariants.py +++ b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/test_mt_salt_deduction_invariants.py @@ -178,6 +178,11 @@ def add(name, values, role): "mo_st_louis_earnings_tax_credit": values["st_louis_credit"], } + # Core fills unspecified entries of an input array with defaults. + # Set all units when any unit supplies residual local income tax. + has_local_income_tax_override = any( + unit["other_local_income_tax"] for unit in units + ) for i, unit in enumerate(units): first, second = f"first_{i}", f"second_{i}" couple = unit["spouse"] is not None @@ -200,7 +205,7 @@ def add(name, values, role): "state_sales_tax": unit["state_sales_tax"], "local_sales_tax": unit["local_sales_tax"], } - if unit["other_local_income_tax"]: + if has_local_income_tax_override: payers = [unit["head"], *unit["dependents"]] if couple: payers.append(unit["spouse"]) From 42fec89dd3532e9a007058eb644ab26f23c50e9f Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Sat, 14 Nov 2026 12:35:15 -0500 Subject: [PATCH 6/6] =?UTF-8?q?Test=20and=20cite=20Montana's=20state=20and?= =?UTF-8?q?=20local=20tax=20deduction=20for=202017=E2=80=932020?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Main dates Montana's itemized deduction switches from 2017, so the line-5 rule covers 2017–2023, and 2015 and 2016 take the 2017 values. - Add 2018, 2019 and 2020 joint and separate-column cases, a 2020 city earnings tax case, and 2017 cases with no cap. - Cite the 2017–2020 Form 2 instructions and MCA 2017 and 2019. - Widen `us-mt:salt-sales-income-election` to 2018–2023, and record line 8 of the 2017 return as the open candidate `us-mt:salt-2017-sales-tax-federal-tie`. - Replace the five source captures with whole pages and sections, and capture each source the two candidates now cite. - Describe in a comment how the joint return and the separate columns read local income taxes. Co-Authored-By: Claude Fable 5.2 --- .../fix-mt-salt-cap-joint-return.fixed.md | 2 +- .../itemized/mt_salt_deduction.yaml | 130 +++++++++ .../itemized/mt_salt_deduction_indiv.yaml | 125 +++++++++ .../itemized/salt/mt_salt_deduction.py | 36 ++- .../itemized/salt/mt_salt_deduction_indiv.py | 26 +- source_conflicts/candidates.yaml | 51 +++- .../mt-salt-election/form-2-2021-line-5.txt | 239 ++++++++++++++++- .../mt-salt-election/form-2-2022-line-5.txt | 239 ++++++++++++++++- .../mt-salt-election/form-2-2023-line-5.txt | 239 ++++++++++++++++- .../form-2-instructions-2017-p29.txt | 125 +++++++++ .../form-2-instructions-2017-p6.txt | 118 +++++++++ .../form-2-instructions-2018-p10.txt | 119 +++++++++ .../form-2-instructions-2018-p27-28.txt | 250 ++++++++++++++++++ .../form-2-instructions-2019-p32-33.txt | 214 +++++++++++++++ .../form-2-instructions-2019-p9.txt | 102 +++++++ .../form-2-instructions-2020-p29-30.txt | 218 +++++++++++++++ .../form-2-instructions-2020-p8.txt | 111 ++++++++ .../mt-salt-election/mca-15-30-2131-2017.txt | 54 ++++ .../mt-salt-election/mca-15-30-2131-2019.txt | 54 ++++ .../mca-15-30-2131-2021-incorporation.txt | 60 ++++- .../mt-salt-election/usc-26-164-2017.txt | 209 +++++++++++++++ .../usc-26-164-2023-election-cap.txt | 222 +++++++++++++++- 22 files changed, 2891 insertions(+), 52 deletions(-) create mode 100644 source_conflicts/sources/mt-salt-election/form-2-instructions-2017-p29.txt create mode 100644 source_conflicts/sources/mt-salt-election/form-2-instructions-2017-p6.txt create mode 100644 source_conflicts/sources/mt-salt-election/form-2-instructions-2018-p10.txt create mode 100644 source_conflicts/sources/mt-salt-election/form-2-instructions-2018-p27-28.txt create mode 100644 source_conflicts/sources/mt-salt-election/form-2-instructions-2019-p32-33.txt create mode 100644 source_conflicts/sources/mt-salt-election/form-2-instructions-2019-p9.txt create mode 100644 source_conflicts/sources/mt-salt-election/form-2-instructions-2020-p29-30.txt create mode 100644 source_conflicts/sources/mt-salt-election/form-2-instructions-2020-p8.txt create mode 100644 source_conflicts/sources/mt-salt-election/mca-15-30-2131-2017.txt create mode 100644 source_conflicts/sources/mt-salt-election/mca-15-30-2131-2019.txt create mode 100644 source_conflicts/sources/mt-salt-election/usc-26-164-2017.txt diff --git a/changelog.d/fix-mt-salt-cap-joint-return.fixed.md b/changelog.d/fix-mt-salt-cap-joint-return.fixed.md index e428b1623ac..9c97119255d 100644 --- a/changelog.d/fix-mt-salt-cap-joint-return.fixed.md +++ b/changelog.d/fix-mt-salt-cap-joint-return.fixed.md @@ -1 +1 @@ -Cap Montana's 2021–2023 state and local tax deduction once per joint return and at $5,000 per separate column. Elect sales taxes or local income taxes before adding real estate taxes. +Cap Montana's 2018–2023 state and local tax deduction once per joint return and at $5,000 per separate column. For 2017–2023, add the larger of sales taxes and local income taxes to real estate taxes. diff --git a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction.yaml b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction.yaml index 5d320ae36ec..7191b3ab0b9 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction.yaml @@ -215,3 +215,133 @@ output: # min(7,500 property + max(1,000 sales, 2,000 income), 10,000) = 9,500. mt_salt_deduction: [9_500, 0] + +# Montana applies line 5 from 2018, when Congress capped these taxes at +# $10,000 under 26 USC 164(b)(6). The department lists lines 5a-5d under +# line 5 in its 2018, 2019 and 2020 Form 2 instructions. + +- name: A 2018 joint return caps the couple's combined real estate taxes once + period: 2018 + input: + people: + person1: + age: 45 + real_estate_taxes: 8_000 + person2: + age: 45 + real_estate_taxes: 8_000 + tax_units: + tax_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: MT + output: + # Line 5c: 8,000 + 8,000 = 16,000; line 5: min(16,000, 10,000) = 10,000. + mt_salt_deduction: [10_000, 0] + +- name: A 2019 joint return caps the couple's combined real estate taxes once + period: 2019 + input: + people: + person1: + age: 45 + real_estate_taxes: 8_000 + person2: + age: 45 + real_estate_taxes: 8_000 + tax_units: + tax_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: MT + output: + # Line 5c: 8,000 + 8,000 = 16,000; line 5: min(16,000, 10,000) = 10,000. + mt_salt_deduction: [10_000, 0] + +- name: A 2020 joint return caps the couple's combined real estate taxes once + period: 2020 + input: + people: + person1: + age: 45 + real_estate_taxes: 8_000 + person2: + age: 45 + real_estate_taxes: 8_000 + tax_units: + tax_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: MT + output: + # Line 5c: 8,000 + 8,000 = 16,000; line 5: min(16,000, 10,000) = 10,000. + mt_salt_deduction: [10_000, 0] + +- name: A 2020 joint return adds a spouse's city earnings tax before the cap + period: 2020 + input: + people: + person1: + age: 45 + real_estate_taxes: 9_000 + person2: + age: 45 + mo_kansas_city_earnings_tax_taxable_earnings: 200_000 + tax_units: + tax_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: MT + output: + # Line 5b: Kansas City earnings tax, 1% x 200,000 = 2,000; line 5c: 9,000. + # Line 5: min(9,000 + max(0 sales, 2,000 income), 10,000) = 10,000. + mt_salt_deduction: [10_000, 0] + +# Congress set no cap for 2017. A return deducts real estate taxes plus the +# larger of sales taxes and local income taxes. + +- name: A 2017 joint return deducts the couple's real estate taxes with no cap + period: 2017 + input: + people: + person1: + age: 45 + real_estate_taxes: 8_000 + person2: + age: 45 + real_estate_taxes: 8_000 + tax_units: + tax_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: MT + output: + # 8,000 + 8,000 = 16,000. The cap starts in 2018. + mt_salt_deduction: [16_000, 0] + +- name: A 2017 single return elects sales taxes over local income taxes with no cap + period: 2017 + input: + filing_status: SINGLE + state_code: MT + real_estate_taxes: 12_000 + state_sales_tax: 1_500 + local_income_tax: 1_000 + output: + # 12,000 property + max(1,500 sales, 1,000 income) = 13,500, with no cap. + # Lines 8-10 of the 2017 Schedule III give 1,500 + 1,000 + 12,000 = 14,500 + # when the federal return claimed sales taxes. They give 0 + 1,000 + + # 12,000 = 13,000 when it claimed state income taxes, because line 8 + # then takes no sales taxes (candidate + # us-mt:salt-2017-sales-tax-federal-tie). + mt_salt_deduction: 13_500 diff --git a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction_indiv.yaml b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction_indiv.yaml index 44adb0da83f..8916e2e6cd7 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction_indiv.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/deductions/itemized/mt_salt_deduction_indiv.yaml @@ -349,3 +349,128 @@ # Spouse elects 2,000 sales; joint return: 1,000 + max(4,000, 1,000). mt_salt_deduction_indiv: [3_000, 2_000] mt_salt_deduction: [5_000, 0] + +# Montana applies line 5 in each column from 2018, when Congress capped a +# married person's separate return at $5,000 under 26 USC 164(b)(6)(B). The +# department treats each column as a separate return in its 2018, 2019 and +# 2020 Form 2 instructions. + +- name: Each 2018 column is capped at the married filing separately amount + period: 2018 + input: + people: + person1: + age: 45 + real_estate_taxes: 8_000 + person2: + age: 45 + real_estate_taxes: 8_000 + tax_units: + tax_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: MT + output: + # Column A: min(8,000, 5,000) = 5,000; column B: min(8,000, 5,000) = 5,000. + mt_salt_deduction_indiv: [5_000, 5_000] + +- name: Each 2019 column is capped at the married filing separately amount + period: 2019 + input: + people: + person1: + age: 45 + real_estate_taxes: 8_000 + person2: + age: 45 + real_estate_taxes: 8_000 + tax_units: + tax_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: MT + output: + # Column A: min(8,000, 5,000) = 5,000; column B: min(8,000, 5,000) = 5,000. + mt_salt_deduction_indiv: [5_000, 5_000] + +- name: Each 2020 column is capped at the married filing separately amount + period: 2020 + input: + people: + person1: + age: 45 + real_estate_taxes: 8_000 + person2: + age: 45 + real_estate_taxes: 8_000 + tax_units: + tax_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: MT + output: + # Column A: min(8,000, 5,000) = 5,000; column B: min(8,000, 5,000) = 5,000. + mt_salt_deduction_indiv: [5_000, 5_000] + +- name: A 2020 city earnings tax goes in the column of the spouse who earned it + period: 2020 + input: + people: + person1: + age: 45 + real_estate_taxes: 9_000 + person2: + age: 45 + mo_kansas_city_earnings_tax_taxable_earnings: 200_000 + tax_units: + tax_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: MT + output: + # Kansas City earnings tax: 1% x 200,000 = 2,000 on column B's earnings. + # Column A: min(9,000, 5,000) = 5,000; column B: 2,000. + mt_salt_deduction_indiv: [5_000, 2_000] + +# Congress set no cap for 2017. + +- name: Each 2017 column deducts its own real estate taxes with no cap + period: 2017 + input: + people: + person1: + age: 45 + real_estate_taxes: 8_000 + person2: + age: 45 + real_estate_taxes: 8_000 + tax_units: + tax_unit: + members: [person1, person2] + households: + household: + members: [person1, person2] + state_code: MT + output: + # Column A: 8,000; column B: 8,000. The cap starts in 2018. + mt_salt_deduction_indiv: [8_000, 8_000] + +- name: A 2017 single filer's one column elects sales taxes with no cap + period: 2017 + input: + filing_status: SINGLE + state_code: MT + real_estate_taxes: 12_000 + state_sales_tax: 1_500 + local_income_tax: 1_000 + output: + # 12,000 property + max(1,500 sales, 1,000 income) = 13,500, with no cap. + mt_salt_deduction_indiv: 13_500 diff --git a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction.py b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction.py index d685d206dc9..d5284c46ff5 100644 --- a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction.py +++ b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction.py @@ -8,22 +8,37 @@ class mt_salt_deduction(Variable): unit = USD definition_period = YEAR documentation = ( - "Itemized Deductions Schedule, line 5, for a return with one column: " - "a single, head of household or joint return, or a married person " - "filing on a separate form. Through 2023 the return's total is " - "assigned to the tax unit head." + "State and local taxes on a return with one column: a single, head " + "of household or joint return, or a married person filing on a " + "separate form. For 2018-2023 the filer deducts real estate taxes " + "plus the larger of sales taxes and local income taxes (Itemized " + "Deductions Schedule line 5, with the election in 26 USC " + "164(b)(5)(A)), up to $10,000 ($5,000 for a married person filing " + "separately). For 2017 the filer deducts the same taxes with no cap, " + "and 2015 and 2016 take the 2017 rules. Through 2023 the tax unit " + "head receives the return's total." ) reference = ( + "https://revenuefiles.mt.gov/files/forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2017_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=29", + # PDF pages 27-28 + "https://revenuefiles.mt.gov/files/forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2018_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=27", + # PDF pages 32-33 + "https://revenuefiles.mt.gov/files/forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2019_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=32", + # PDF pages 29-30 + "https://revenuefiles.mt.gov/files/forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2020_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=29", "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2021_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7", "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2022_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7", "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2023_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7", "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2021_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=32", "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2022_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=34", "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2023_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=37", + "https://mca.legmt.gov/bills/2017/mca/title_0150/chapter_0300/part_0210/section_0310/0150-0300-0210-0310.html", + "https://mca.legmt.gov/bills/2019/mca/title_0150/chapter_0300/part_0210/section_0310/0150-0300-0210-0310.html", "https://mca.legmt.gov/bills/2022/mca/title_0150/chapter_0300/part_0210/section_0310/0150-0300-0210-0310.html", "https://www.govinfo.gov/content/pkg/USCODE-2023-title26/html/USCODE-2023-title26-subtitleA-chap1-subchapB-partVI-sec164.htm", - # Former MCA 15-30-2131(1)(a)(ii) (2021): items under IRC 161, except - # state income tax paid. The cap is 26 USC 164(b)(6). + # Former MCA 15-30-2131(1)(a)(ii) (MCA 2017, 2019 and 2021): items + # under IRC 161, except state income tax paid. Congress capped the + # deduction for tax years after 2017 under 26 USC 164(b)(6). ) defined_for = StateCode.MT @@ -35,9 +50,18 @@ def formula(person, period, parameters): if p_mt.state_specific_deduction_applies: # Taxpayers elect sales taxes or local income taxes under IRC # 164(b)(5)(A), then add real estate taxes before applying the cap. + # Congress set no cap before 2018, so a 2017 return deducts the + # full amount. sales_tax = add( person.tax_unit, period, ["state_sales_tax", "local_sales_tax"] ) + # We read the tax unit's local_income_tax for the joint return. + # For each separate column, mt_salt_deduction_indiv reads that + # spouse's own Kansas City, St. Louis and Philadelphia taxes plus + # spouse_allocation_rate (half) of the remaining + # local_income_tax, floored at zero. If a user sets + # local_income_tax below the sum of those city taxes, the two + # paths receive different amounts. local_income_tax = person.tax_unit("local_income_tax", period) real_estate_tax = add(person.tax_unit, period, ["real_estate_taxes"]) taxes = real_estate_tax + max_(sales_tax, local_income_tax) diff --git a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction_indiv.py b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction_indiv.py index e1aaeb89182..360504a8ea7 100644 --- a/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction_indiv.py +++ b/policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction_indiv.py @@ -8,12 +8,24 @@ class mt_salt_deduction_indiv(Variable): unit = USD definition_period = YEAR documentation = ( - "Itemized Deductions Schedule, line 5, in each spouse's column when " - "a married couple files separately on the same form (filing status " - "2a). Each column is a separate return, capped at the married filing " - "separately amount." + "State and local taxes in each spouse's column when a married couple " + "files separately on the same form (filing status 2a from 2018, 3a " + "for 2017). Each column is a separate return. For 2018-2023 each " + "spouse deducts real estate taxes plus the larger of sales taxes and " + "local income taxes (Itemized Deductions Schedule line 5, with the " + "election in 26 USC 164(b)(5)(A)), up to the $5,000 cap for a " + "married person filing separately. For 2017 each spouse deducts the " + "same taxes with no cap, and 2015 and 2016 take the 2017 rules." ) reference = ( + # PDF pages 6, 29 + "https://revenuefiles.mt.gov/files/forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2017_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=6", + # PDF pages 10, 27-28 + "https://revenuefiles.mt.gov/files/forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2018_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=10", + # PDF pages 9, 32-33 + "https://revenuefiles.mt.gov/files/forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2019_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=9", + # PDF pages 8, 29-30 + "https://revenuefiles.mt.gov/files/forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2020_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=8", "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2021_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7", "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2022_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7", "https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2023_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7", @@ -26,8 +38,12 @@ class mt_salt_deduction_indiv(Variable): # PDF pages 3-4 "https://www.irs.gov/pub/irs-prior/i1040sca--2023.pdf#page=3", "https://www.govinfo.gov/content/pkg/USCODE-2023-title26/html/USCODE-2023-title26-subtitleA-chap1-subchapB-partVI-sec164.htm", + "https://mca.legmt.gov/bills/2017/mca/title_0150/chapter_0300/part_0210/section_0310/0150-0300-0210-0310.html", + "https://mca.legmt.gov/bills/2019/mca/title_0150/chapter_0300/part_0210/section_0310/0150-0300-0210-0310.html", "https://mca.legmt.gov/bills/2022/mca/title_0150/chapter_0300/part_0210/section_0310/0150-0300-0210-0310.html", - # Former MCA 15-30-2131(1)(a)(ii) (2021). The cap is 26 USC 164(b)(6). + # Former MCA 15-30-2131(1)(a)(ii) (MCA 2017, 2019 and 2021). Congress + # capped the deduction for tax years after 2017 under 26 USC + # 164(b)(6). ) defined_for = "mt_married_filing_separately_on_same_return_eligible" diff --git a/source_conflicts/candidates.yaml b/source_conflicts/candidates.yaml index 234d718a324..c3161151fc8 100644 --- a/source_conflicts/candidates.yaml +++ b/source_conflicts/candidates.yaml @@ -15454,17 +15454,32 @@ candidates: - id: us-mt:salt-sales-income-election program: income-tax years: - from: 2021 + from: 2018 to: 2023 type: tax question: Does a Montana taxpayer elect general sales taxes or local income taxes under the incorporated federal statute, or add both categories under Form 2 lines 5a and 5b? sources: + - kind: statute + citation: Former MCA 15-30-2131(1)(a), MCA 2017 + url: https://mca.legmt.gov/bills/2017/mca/title_0150/chapter_0300/part_0210/section_0310/0150-0300-0210-0310.html + - kind: statute + citation: Former MCA 15-30-2131(1)(a), MCA 2019 + url: https://mca.legmt.gov/bills/2019/mca/title_0150/chapter_0300/part_0210/section_0310/0150-0300-0210-0310.html - kind: statute citation: Former MCA 15-30-2131(1)(a), MCA 2021 url: https://mca.legmt.gov/bills/2022/mca/title_0150/chapter_0300/part_0210/section_0310/0150-0300-0210-0310.html - kind: statute - citation: 26 USC 164(b)(5)(A), 2023 edition + citation: 26 USC 164(b)(5)(A) and (b)(6)(B), 2023 edition url: https://www.govinfo.gov/content/pkg/USCODE-2023-title26/html/USCODE-2023-title26-subtitleA-chap1-subchapB-partVI-sec164.htm + - kind: instructions + citation: 2018 Montana Form 2 instructions, line 5 and lines 5a-5d (PDF pages 27-28) and filing separately (PDF page 10) + url: https://revenuefiles.mt.gov/files/forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2018_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=27 + - kind: instructions + citation: 2019 Montana Form 2 instructions, line 5 and lines 5a-5d (PDF pages 32-33) and filing separately (PDF page 9) + url: https://revenuefiles.mt.gov/files/forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2019_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=32 + - kind: instructions + citation: 2020 Montana Form 2 instructions, line 5 and lines 5a-5d (PDF pages 29-30) and filing separately (PDF page 8) + url: https://revenuefiles.mt.gov/files/forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2020_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=29 - kind: form citation: 2021 Montana Form 2, Itemized Deductions Schedule lines 5a-5b and 5, PDF page 7 url: https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2021_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7 @@ -15485,4 +15500,34 @@ candidates: prs: - https://github.com/PolicyEngine/policyengine-us/pull/10002 state: ruled - note: PolicyEngine applies the statute-first principle. It chooses the larger eligible category for a joint return and separately for each spouse's column, after allocating taxes between the spouses. + note: PolicyEngine applies the statute-first principle. It chooses the larger eligible category for a joint return and separately for each spouse's column, after allocating taxes between the spouses. For 2018-2020 the cited instructions list lines 5a and 5b under line 5 and give no election. The 2017 return has its own entry, us-mt:salt-2017-sales-tax-federal-tie. +- id: us-mt:salt-2017-sales-tax-federal-tie + program: income-tax + years: + from: 2017 + to: 2017 + type: tax + question: For 2017, does a Montana taxpayer deduct general sales taxes only when the federal return claimed them and add local income taxes on a separate line, or elect the larger of sales taxes and local income taxes under the incorporated federal statute? + sources: + - kind: statute + citation: Former MCA 15-30-2131(1)(a), MCA 2017 + url: https://mca.legmt.gov/bills/2017/mca/title_0150/chapter_0300/part_0210/section_0310/0150-0300-0210-0310.html + - kind: statute + citation: 26 USC 164(b)(5)(A), 2017 edition + url: https://www.govinfo.gov/content/pkg/USCODE-2017-title26/html/USCODE-2017-title26-subtitleA-chap1-subchapB-partVI-sec164.htm + - kind: instructions + citation: 2017 Montana Form 2 instructions, Schedule III lines 8-10 (PDF page 29) and filing status 3a (PDF page 6) + url: https://revenuefiles.mt.gov/files/forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2017_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=29 + readings: + statute: A taxpayer elects either general sales taxes or local income taxes, then adds real estate taxes. Montana excludes state income taxes, Congress set no cap for 2017, and each spouse filing on the same form elects within their own return. + other: A taxpayer enters on line 8 the sales taxes claimed on federal Schedule A, and none if the federal return deducted state income taxes. The taxpayer then adds local income taxes on line 9 and real estate taxes on line 10. + example: In 2017, a single filer with $12,000 of real estate taxes, $1,500 of general sales taxes and $1,000 of local income taxes deducts $13,500 under the election. Lines 8-10 give $14,500 if the federal return claimed sales taxes and $13,000 if it claimed state income taxes. + pe_us: + follows: unknown + code: + - policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction.py + - policyengine_us/variables/gov/states/mt/tax/income/deductions/itemized/salt/mt_salt_deduction_indiv.py + prs: + - https://github.com/PolicyEngine/policyengine-us/pull/10002 + state: open + note: PE-US applies the election for 2017 and does not model which taxes the federal return claimed (mt_salt_deduction.py, mt_salt_deduction_indiv.py). A ruling is needed on line 8's tie to the federal return and on adding line 9 to line 8. diff --git a/source_conflicts/sources/mt-salt-election/form-2-2021-line-5.txt b/source_conflicts/sources/mt-salt-election/form-2-2021-line-5.txt index f9bd9741d7b..d5c5ecf9f6b 100644 --- a/source_conflicts/sources/mt-salt-election/form-2-2021-line-5.txt +++ b/source_conflicts/sources/mt-salt-election/form-2-2021-line-5.txt @@ -1,13 +1,238 @@ Source: https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2021_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7 -Page 7, excerpts from pdftotext (poppler), layout order. Normalized whitespace and omitted other text. +2021 Montana Form 2, Itemized Deductions Schedule. Page 7, text extracted with pdftotext 26.09.0 (poppler), reading order. -Itemized Deductions Schedule, line 5a -General state and local sales taxes +Form 2–Page 7–2021 -Itemized Deductions Schedule, line 5b +Social Security Number + +Total Minimum + +Maximum + +Standard Deduction + +Work s heet +When filing separately on the same form, each spouse must figure their own deduction. +1 Enter your Montana Adjusted Gross Income from page 1, line 14 +2 Multiply the amount on line 1 by 20% (0.20) +3 If you are single or married filing separately, enter $4,830. If you are married filing jointly or + +A + +B + +1 +2 + +00 +00 + +head of household, enter $9,660. + +3 +4 + +00 +00 + +00 +00 + +head of household, enter $4,280. + +5 + +00 + +00 + +6 + +00 + +00 + +4 Enter the amount from line 2 or line 3, whichever is smaller +5 If you are single or married filing separately, enter $2,140. If you are married filing jointly or +6 Enter the amount from line 4 or line 5, whichever is larger, here and on page 1, line 15. + +This is your standard deduction. + +00 +00 + +Total + +Miscellaneous +Deductions + +Gifts to +Charity + +Interest + +Other State +Taxes + +State and Local Taxes +Limited to $10,000 + +Federal Tax +Paid/Withheld in 2021 + +Medical and Dental Expenses + +Itemized Deductions Schedule + +If you choose to itemize your deductions, mark the box on page 1, line 15. +1 Medical and dental expenses +1a +00 +Enter the amount from page 1, line 14 1b +00 +Multiply line 1b by 7.5% (0.075) +1c +00 + +00 +00 +00 + +Subtract line 1c from line 1a and enter the total here, but not less than zero. +This is your deductible medical and dental expenses subject +to a percentage of Montana Adjusted Gross Income. +2 Medical insurance premiums not deducted elsewhere on your return +3 Long-term care insurance premiums not deducted elsewhere on your return +4 Federal income tax withheld +Federal estimated tax payments +2020 federal income taxes paid +Other back year federal income taxes + +4a +4b +4c +4d + +00 +00 +00 +00 + +00 +00 +00 +00 + +00 +00 +00 +00 + +00 +00 +00 +00 + +Add lines 4a through 4d and enter the total here, but not more than $5,000 if you are single, +head of household, or married filing separately; or $10,000 if you are married filing jointly. +This is your federal income tax deduction. +5 General state and local sales taxes 5a Local income taxes +5b +Real estate taxes paid +5c +Value-based personal property taxes 5d + +Add lines 5a through 5d, enter the total here, but not more than $10,000 if your status is single, +head of household or married filing jointly; or $5,000 if you are married filing separately. +This is your state and local tax deduction. +6 Montana light vehicle registration fees +7 Per capita livestock fees +8 Other deductible taxes paid. List type and amount: + +A + +B + +1 +2 +3 + +00 +00 +00 + +00 +00 +00 + +4 + +00 + +00 + +5 +6 +7 + +00 +00 +00 + +00 +00 +00 + +8 +00 +00 +9 Home mortgage interest and points. If paid to the person from whom you bought the house, provide their name, Social Security Number, and address +9 +00 +00 +10 Investment interest. Include federal Form 4952. +10 +00 +00 +11 Charitable contributions made by cash or check +11 +00 +00 +12 Charitable contributions made by other than cash or check +12 +00 +00 +13 Charitable contribution carryover from the previous year +13 +00 +00 +14 Child and dependent care expenses. Include Montana Form 2441-M. +14 +00 +00 +15 Casualty and theft losses. Include federal Form 4684. +15 +00 +00 +16 Political contributions, limited to $100 per taxpayer +16 +00 +00 +17 Gambling losses allowed under federal law +17 +00 +00 +18 Other miscellaneous deductions. List type and amount: +18 +00 +00 +19 Add lines 1 through 18, and enter the total on page 1, line 15. +00 +00 +This is your total itemized deductions. 19 -Itemized Deductions Schedule, line 5 -Add lines 5a through 5d +*21CE0701* +*21CE0701* -Context: The Department of Revenue asks taxpayers to add both categories with real estate and value-based personal property taxes before applying the cap. The department provides no election instruction on these lines. + \ No newline at end of file diff --git a/source_conflicts/sources/mt-salt-election/form-2-2022-line-5.txt b/source_conflicts/sources/mt-salt-election/form-2-2022-line-5.txt index 3eaa1b31f7c..a759e0a0591 100644 --- a/source_conflicts/sources/mt-salt-election/form-2-2022-line-5.txt +++ b/source_conflicts/sources/mt-salt-election/form-2-2022-line-5.txt @@ -1,13 +1,238 @@ Source: https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2022_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7 -Page 7, excerpts from pdftotext (poppler), layout order. Normalized whitespace and omitted other text. +2022 Montana Form 2, Itemized Deductions Schedule. Page 7, text extracted with pdftotext 26.09.0 (poppler), reading order. -Itemized Deductions Schedule, line 5a -General state and local sales taxes +Form 2–Page 7–2022 -Itemized Deductions Schedule, line 5b +Social Security Number + +Total Minimum + +Maximum + +Standard Deduction + +Work s heet +When filing separately on the same form, each spouse must figure their own deduction. +1 Enter your Montana Adjusted Gross Income from page 1, line 14 +2 Multiply the amount on line 1 by 20% (0.20) +3 If you are single or married filing separately, enter $5,090. If you are married filing jointly or + +A + +B + +1 +2 + +00 +00 + +head of household, enter $10,180. + +3 +4 + +00 +00 + +00 +00 + +head of household, enter $4,520. + +5 + +00 + +00 + +6 + +00 + +00 + +4 Enter the amount from line 2 or line 3, whichever is smaller +5 If you are single or married filing separately, enter $2,260. If you are married filing jointly or +6 Enter the amount from line 4 or line 5, whichever is larger, here and on page 1, line 15. + +This is your standard deduction. + +00 +00 + +Total + +Miscellaneous +Deductions + +Gifts to +Charity + +Interest + +Other State +Taxes + +State and Local Taxes +Limited to $10,000 + +Federal Tax +Paid/Withheld in 2022 + +Medical and Dental Expenses + +Itemized Deductions Schedule + +If you choose to itemize your deductions, mark the box on page 1, line 15. +1 Medical and dental expenses +1a +00 +Enter the amount from page 1, line 14 1b +00 +Multiply line 1b by 7.5% (0.075) +1c +00 + +00 +00 +00 + +Subtract line 1c from line 1a and enter the total here, but not less than zero. +This is your deductible medical and dental expenses subject +to a percentage of Montana Adjusted Gross Income. +2 Medical insurance premiums not deducted elsewhere on your return +3 Long-term care insurance premiums not deducted elsewhere on your return +4 Federal income tax withheld +Federal estimated tax payments +2021 federal income taxes paid +Other back year federal income taxes + +4a +4b +4c +4d + +00 +00 +00 +00 + +00 +00 +00 +00 + +00 +00 +00 +00 + +00 +00 +00 +00 + +Add lines 4a through 4d and enter the total here, but not more than $5,000 if you are single, +head of household, or married filing separately; or $10,000 if you are married filing jointly. +This is your federal income tax deduction. +5 General state and local sales taxes 5a Local income taxes +5b +Real estate taxes paid +5c +Value-based personal property taxes 5d + +Add lines 5a through 5d, enter the total here, but not more than $10,000 if your status is single, +head of household or married filing jointly; or $5,000 if you are married filing separately. +This is your state and local tax deduction. +6 Montana light vehicle registration fees +7 Per capita livestock fees +8 Other deductible taxes paid. List type and amount: + +A + +B + +1 +2 +3 + +00 +00 +00 + +00 +00 +00 + +4 + +00 + +00 + +5 +6 +7 + +00 +00 +00 + +00 +00 +00 + +8 +00 +00 +9 Home mortgage interest and points. If paid to the person from whom you bought the house, provide their name, Social Security Number, and address +9 +00 +00 +10 Investment interest. Include federal Form 4952. +10 +00 +00 +11 Charitable contributions made by cash or check +11 +00 +00 +12 Charitable contributions made by other than cash or check +12 +00 +00 +13 Charitable contribution carryover from the previous year +13 +00 +00 +14 Child and dependent care expenses. Include Montana Form 2441-M. +14 +00 +00 +15 Casualty and theft losses. Include federal Form 4684. +15 +00 +00 +16 Political contributions, limited to $100 per taxpayer +16 +00 +00 +17 Gambling losses allowed under federal law +17 +00 +00 +18 Other miscellaneous deductions. List type and amount: +18 +00 +00 +19 Add lines 1 through 18, and enter the total on page 1, line 15. +00 +00 +This is your total itemized deductions. 19 -Itemized Deductions Schedule, line 5 -Add lines 5a through 5d +*22CE0701* +*22CE0701* -Context: The Department of Revenue asks taxpayers to add both categories with real estate and value-based personal property taxes before applying the cap. The department provides no election instruction on these lines. + \ No newline at end of file diff --git a/source_conflicts/sources/mt-salt-election/form-2-2023-line-5.txt b/source_conflicts/sources/mt-salt-election/form-2-2023-line-5.txt index 86a89914dd1..935bcd223e6 100644 --- a/source_conflicts/sources/mt-salt-election/form-2-2023-line-5.txt +++ b/source_conflicts/sources/mt-salt-election/form-2-2023-line-5.txt @@ -1,13 +1,238 @@ Source: https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2023_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=7 -Page 7, excerpts from pdftotext (poppler), layout order. Normalized whitespace and omitted other text. +2023 Montana Form 2, Itemized Deductions Schedule. Page 7, text extracted with pdftotext 26.09.0 (poppler), reading order. -Itemized Deductions Schedule, line 5a -General state and local sales taxes +Form 2–Page 7–2023 -Itemized Deductions Schedule, line 5b +Social Security Number + +Total Minimum + +Maximum + +Standard Deduction + +Work s heet +When filing separately on the same form, each spouse must figure their own deduction. +1 Enter your Montana Adjusted Gross Income from page 1, line 14 +2 Multiply the amount on line 1 by 20% (0.20) +3 If you are single or married filing separately, enter $5,540. If you are married filing jointly or + +A + +B + +1 +2 + +00 +00 + +head of household, enter $11,080. + +3 +4 + +00 +00 + +00 +00 + +head of household, enter $4,920. + +5 + +00 + +00 + +6 + +00 + +00 + +4 Enter the amount from line 2 or line 3, whichever is smaller +5 If you are single or married filing separately, enter $2,460. If you are married filing jointly or +6 Enter the amount from line 4 or line 5, whichever is larger, here and on page 1, line 15. + +This is your standard deduction. + +00 +00 + +Total + +Miscellaneous +Deductions + +Gifts to +Charity + +Interest + +Other State +Taxes + +State and Local Taxes +Limited to $10,000 + +Federal Tax +Paid/Withheld in 2023 + +Medical and Dental Expenses + +Itemized Deductions Schedule + +If you choose to itemize your deductions, mark the box on page 1, line 15. +1 Medical and dental expenses +1a +00 +Enter the amount from page 1, line 14 1b +00 +Multiply line 1b by 7.5% (0.075) +1c +00 + +00 +00 +00 + +Subtract line 1c from line 1a and enter the total here, but not less than zero. +This is your deductible medical and dental expenses subject +to a percentage of Montana Adjusted Gross Income. +2 Medical insurance premiums not deducted elsewhere on your return +3 Long-term care insurance premiums not deducted elsewhere on your return +4 Federal income tax withheld +Federal estimated tax payments +2022 federal income taxes paid +Other back year federal income taxes + +4a +4b +4c +4d + +00 +00 +00 +00 + +00 +00 +00 +00 + +00 +00 +00 +00 + +00 +00 +00 +00 + +Add lines 4a through 4d and enter the total here, but not more than $5,000 if you are single, +head of household, or married filing separately; or $10,000 if you are married filing jointly. +This is your federal income tax deduction. +5 General state and local sales taxes 5a Local income taxes +5b +Real estate taxes paid +5c +Value-based personal property taxes 5d + +Add lines 5a through 5d, enter the total here, but not more than $10,000 if your status is single, +head of household or married filing jointly; or $5,000 if you are married filing separately. +This is your state and local tax deduction. +6 Montana light vehicle registration fees +7 Per capita livestock fees +8 Other deductible taxes paid. List type and amount: + +A + +B + +1 +2 +3 + +00 +00 +00 + +00 +00 +00 + +4 + +00 + +00 + +5 +6 +7 + +00 +00 +00 + +00 +00 +00 + +8 +00 +00 +9 Home mortgage interest and points. If paid to the person from whom you bought the house, provide their name, Social Security Number, and address +9 +00 +00 +10 Investment interest. Include federal Form 4952. +10 +00 +00 +11 Charitable contributions made by cash or check +11 +00 +00 +12 Charitable contributions made by other than cash or check +12 +00 +00 +13 Charitable contribution carryover from the previous year +13 +00 +00 +14 Child and dependent care expenses. Include Montana Form 2441-M. +14 +00 +00 +15 Casualty and theft losses. Include federal Form 4684. +15 +00 +00 +16 Political contributions, limited to $100 per taxpayer +16 +00 +00 +17 Gambling losses allowed under federal law +17 +00 +00 +18 Other miscellaneous deductions. List type and amount: +18 +00 +00 +19 Add lines 1 through 18, and enter the total on page 1, line 15. +00 +00 +This is your total itemized deductions. 19 -Itemized Deductions Schedule, line 5 -Add lines 5a through 5d +*23CE0701* +*23CE0701* -Context: The Department of Revenue asks taxpayers to add both categories with real estate and value-based personal property taxes before applying the cap. The department provides no election instruction on these lines. + \ No newline at end of file diff --git a/source_conflicts/sources/mt-salt-election/form-2-instructions-2017-p29.txt b/source_conflicts/sources/mt-salt-election/form-2-instructions-2017-p29.txt new file mode 100644 index 00000000000..41f300ed516 --- /dev/null +++ b/source_conflicts/sources/mt-salt-election/form-2-instructions-2017-p29.txt @@ -0,0 +1,125 @@ +Source: https://revenuefiles.mt.gov/files/forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2017_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=29 +2017 Montana Form 2 instructions, Schedule III lines 7e-14. Page 29, text extracted with pdftotext 26.09.0 (poppler), reading order. + +2017 Montana Form 2 + +Schedule III, Lines 7e-14 + +Line 7e – Federal Income Tax Deduction +Add lines 7a through 7d. If the result is less than $10,000 +and you file your Montana return jointly with your spouse, +or the result is less than $5,000 and you file your return +using another filing status, enter the result. +If the result is more, your federal tax deduction is limited +as follows: +●● If your filing status is single, married filing separately +or head of household, deduct the lesser of $5,000 or +the sum of lines 7a through 7d. If you are married filing +separately on the same form or on separate forms, you +each are limited to the $5,000 federal tax deduction +and you cannot arbitrarily allocate this deduction +between spouses. +●● If you file your Montana tax return jointly with your +spouse, your federal income tax deduction is limited to +the lesser of $10,000 or the sum of lines 7a through 7d. + +Line 8 – General State and Local Sales Taxes Paid +in 2017 +Enter the amount you claimed on your federal Schedule +A as a deduction for state and local sales taxes. If you +were not required to file a federal return or claimed the +standard deduction on your federal return and you saved +your receipts throughout the year, you can add up the +total amount of sales taxes you actually paid and claim +that amount. If you didn’t save your receipts, you can fill +out the worksheet and use the optional general sales tax +tables in the instructions for federal Schedule A (Form +1040) or use the Sales Tax Deduction Calculator available +on the Internal Revenue Service’s website at apps.irs. +gov/app/stdc. If you claimed your state income taxes as +an itemized deduction on your federal return, you cannot +claim the deduction for sales taxes on your Montana return. +Also, none of the resort, accommodations or similar taxes +collected in Montana qualify as a general sales tax under +the federal definitions, so they cannot be deducted. + +Page 25 + +The exception is the Montana light vehicle registration +fee which is deductible even though it is based not on the +vehicle’s value, but on the age of the vehicle. However, +any light vehicle registration fee that you pay to another +state is not deductible on your Montana tax return. Taxes +and fees deductible on this line from your Montana vehicle +registration receipt include the light vehicle registration fee +(LVREG) and any county option tax (COOPT) assessed +by the county where the vehicle is registered. However, +because receipts may vary by county, these items may not +appear on your receipt exactly as listed here. + +Line 12 – Other Deductible Taxes +Enter any other deductible taxes that you paid in 2017 and +that you did not report on lines 7a through 11. When you +claim these other deductible taxes, list on this line the type +and amount of tax that you paid. +Taxes you may be able to deduct include generationskipping transfer taxes imposed on income distributions, +environmental taxes imposed under section 59A of the +Internal Revenue Code and taxes paid to a foreign country. +Note that you can only deduct foreign taxes on your +Montana tax return if you claimed them as a deduction on +your federal tax return. +You cannot take a deduction on your Montana individual +income tax return for the following taxes that you paid +in 2017: state income, federal excise, social security, +Medicare, gasoline, lodging, alcoholic beverage, cigarette, +tobacco, or selective sales taxes. Also, you cannot take a +deduction for certain license fees paid in 2017—such as +hunting, fishing or driver license fees. + +Line 13 – Home Mortgage Interest and Points + +Enter any local income taxes that you paid in 2017. No +city in Montana imposes a local income tax, so a Montana +resident would be unlikely to take this deduction. + +Enter your home mortgage interest and points allowed +by federal law that were reported to you on your federal +Form 1098. +Enter any home mortgage interest that you paid that was +not reported on your federal Form 1098. If you bought your +home from another person, write that person’s name, social +security number and address in the space provided. +Enter any points that you paid that were not reported to you +on federal Form 1098. + +Line 10 – Real Estate Taxes Paid in 2017 + +Line 14 – Qualified Mortgage Insurance Premiums + +Line 9 – Local Income Taxes Paid in 2017 + +Enter any real estate taxes that you paid in 2017 on real +estate that you own and did not use for business. If you +apply for the elderly homeowner/renter credit, do not +confuse this amount with the amount of your property +tax billed that is used to determine the amount of your +elderly homeowner/renter credit. See Montana Form +2EC for information on the Montana elderly homeowner/ +renter credit. + +Line 11 – Personal Property Taxes Paid in 2017 +Enter any personal property taxes that you paid in 2017. +Only personal property taxes that are based on value +and charged on a yearly basis are deductible, with +one exception. + +The deduction amount you can claim on your Montana +tax return is the same amount you can claim on your +federal tax return. If you did not itemize your deductions +on your federal return, complete Worksheet VI, Qualified +Mortgage Insurance Premiums Deduction, on page 46 to +determine the amount you can deduct. Married taxpayers +filing separately in Montana may allocate the total allowable +amount between both spouses. + + \ No newline at end of file diff --git a/source_conflicts/sources/mt-salt-election/form-2-instructions-2017-p6.txt b/source_conflicts/sources/mt-salt-election/form-2-instructions-2017-p6.txt new file mode 100644 index 00000000000..6e4d1a93a9f --- /dev/null +++ b/source_conflicts/sources/mt-salt-election/form-2-instructions-2017-p6.txt @@ -0,0 +1,118 @@ +Source: https://revenuefiles.mt.gov/files/forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2017_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=6 +2017 Montana Form 2 instructions, filing status. Page 6, text extracted with pdftotext 26.09.0 (poppler), reading order. + +Page 2 + +Form Heading, Filing Status and Main Form - Boxes 1-3a + +Heading +Print your name, mailing address and social security +number in the spaces provided. If you are married filing a +joint return or married filing separately on the same form, +enter your spouse’s name and social security number. If +your filing status is married filing separately on separate +forms or married filing separately and your spouse is not +filing a return, do not include your spouse’s information +in the heading. You need to include your spouse’s social +security number when you select your filing status. +If either the primary taxpayer or the spouse died prior to +filing this return, enter the date of death in the field next to +his or her name. Include a copy of the federal Form 1310 +unless you use filing status 2 (married filing jointly) or 3a +(married filing separately on the same form) on this return. + +Filing Status – (Mark only one box) +Montana law does not require you to claim the same filing +status that you claimed on your federal tax return. For +example, if you are married and you filed your federal +income tax return jointly, you and your spouse have the +option to file your Montana tax return either jointly or +separately. See the following explanation about the filing +statuses available to you on your Montana tax return. + +Box 1 – Single +You can claim this filing status if on December 31, +2017, you: +●● were single, +●● were legally separated according to your state law +under a decree of divorce or separate maintenance, or +●● were widowed before January 1, 2017, and you did not +remarry in 2017. +If your filing status is single, report your income and +deductions in column A only. + +Box 2 – Married Filing Jointly +You can claim this filing status if: +●● you were married as of December 31, 2017, even if +you did not live with your spouse at the end of 2017; or +●● your spouse died in 2017 and you did not remarry in +2017; or +●● you were married as of December 31, 2017, and your +spouse died in 2018 before filing a 2017 return. +You and your spouse can file a joint return even though +one of you has no income or deductions, but note that both +spouses have to sign the return. If you filed your federal tax +return jointly with your spouse, you are not required to file +your Montana tax return jointly with your spouse. Generally, +if you both have taxable income, you can benefit by filing +your return separately using filing status 3a or 3b. +If your filing status is married filing jointly, report your +combined income and deductions in column A. + +2017 Montana Form 2 + +Box 3a – Married Filing Separately on the +Same Form +If both you and your spouse have income, you can file +your Montana tax returns separately, even if you filed +your federal income tax return jointly. But, if you and your +spouse are filing separately, you will each need to report +your own adjusted gross income. You cannot arbitrarily +assign income between the two of you. +Your income from salaries, wages, bonuses, commissions +and other income from providing personal services either +as an employee or as an independent contractor should +be reported by the spouse who earned it. Any other +income that you earned from rents, royalties, dividends, +etc., from property that is owned by only one spouse has +to be reported by that spouse. If any income is earned +from property that is jointly owned by both spouses, +that income should be split equally, unless you and your +spouse can show a different proportional ownership. +When you file separately, both spouses must either claim +the standard deduction or itemize their deductions. You +cannot file separately on the same form when one spouse +is a resident and the other spouse is a nonresident. In this +case, use either filing status 3b or 3c. +When you file separately on the same form, report your +income and deductions for one spouse in column A and the +other spouse in column B. +Although submitted on the same form, married +taxpayers electing to file using this status are submitting +two tax returns. If both taxpayers are entitled to refunds, we +issue two separate checks or direct deposits. In the event +both spouses owe additional tax, penalties or interest, we +mail separate Notices of Assessment. However, if you are +entitled to a refund and your spouse owes and you file +separate returns on the same form, we treat your election +to file separately on the same form as your direction +to us to apply your refund to the amount owed by your +spouse. If you do not want your refund to be used to pay +any tax due from your spouse, you and your spouse must +file on separate forms. If we discover a math or other +computational error when processing the form, we adjust +it to correct the error and this may result in our applying +one spouse’s refund to the other spouse’s increased tax. If +you do not want this to happen, you need to file your own +separate return. +REMINDER! Montana law permits department employees +to discuss all information on the form with either spouse +when the couple elects to file with this status. The +department may also discuss any subsequent adjustments +with either spouse. If you do not want to allow this, you +and your spouse should file on separate forms. However, +the new law does not allow you to make decisions for your +spouse or to receive information about an amount your +spouse may owe. + + \ No newline at end of file diff --git a/source_conflicts/sources/mt-salt-election/form-2-instructions-2018-p10.txt b/source_conflicts/sources/mt-salt-election/form-2-instructions-2018-p10.txt new file mode 100644 index 00000000000..8837ac5c75d --- /dev/null +++ b/source_conflicts/sources/mt-salt-election/form-2-instructions-2018-p10.txt @@ -0,0 +1,119 @@ +Source: https://revenuefiles.mt.gov/files/forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2018_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=10 +2018 Montana Form 2 instructions, filing status. Page 10, text extracted with pdftotext 26.09.0 (poppler), reading order. + +2018 Montana Form 2 + +Filing Status + +Page 4 + +Line Instructions +Personal Information +Enter your name, address and Social Security Number (SSN) +or Individual Tax Identification Number (ITIN). An incorrect +number may delay your refund. +Enter the address where you receive your mail. We will +use this address to send correspondence and your refund +(if applicable). +If either the primary taxpayer or the spouse died prior to filing +this return, enter the date of death in the field next to his or +her name. Include a copy of the federal Form 1310 unless +you use filing Status 2a (married filing separately on the +same form) or Status 4 (married filing jointly) on this return. + +Filing Status – (mark only one box) + +Montana law does not require you to claim the same filing +status that you claimed on your federal tax return. For +example, if you are married and you filed your federal income +tax return jointly, you and your spouse have the option to file +your Montana tax return either jointly or separately. +TIP: If you are married, and both spouses report income, +filing separately may result in less tax due. +Filing Separately When Married +If you and your spouse chose to file separately, you and +your spouse will each need to report your own Adjusted +Gross Income. You cannot arbitrarily assign income or +deductions between the two of you. +When filing separately, you must select whether you and +your spouse are filing on the same form (Status 2a), on +separate forms (Status 2b), or separately with your spouse +not filing (Status 2c). +When you choose to file separately, you are filing a separate +return from your spouse, even if you file on the same form. +How to allocate income and deductions when +filing separately +Apply the following general rules as you allocate income +and deductions between you and your spouse. +When filing separately on the same form this allocation is done +between Columns A and B, with each column being a return. +Allocation of income – If you filed your federal tax return +separately, report the items of income the same way you +reported them on your Form 1040. +Allocate income as follows: +●● Income from wages, salaries, bonuses, commissions +and other income that is earned from providing +personal services as an employee or as an +independent contractor should be reported by the +spouse who earned it. +●● Income such as capital gains or losses, rents, royalties, +dividends and interest should be reported by the +spouse who owns the property from which the income +is derived. If you and your spouse jointly hold the +property, you must split the income equally between + +both spouses unless you and your spouse can show a +different proportional ownership. +●● Income from your or your spouse’s ownership in a sole +proprietorship (federal Schedules C or F), partnership, +S Corporation or trust must be reported by the spouse +who is the owner. An allocation for services rendered by +a spouse can also be made (see instructions for Montana +Additions and Montana Subtractions Schedules.) +Allocation of deductions – In general, if you filed your federal +return separately, report the items of income the same way you +reported them on your Form 1040. +●● Spouses must either both claim the standard deduction +or both itemize their deductions. You are not allowed to +claim one method for one spouse and another method +for the other spouse. +●● Deductions that are attributable to only one spouse must +be claimed by that spouse. This includes, for example, +federal income tax withheld from your wages and the +Student Loan Interest Deduction. +●● Payments made from accounts owned by both spouses +and that pertain to expenses that are not attributable +specifically to one spouse can be allocated to either +spouse in any proportional amount. +Review the following before choosing Status 2a +– Married filing separately on the same form. +The Status 2a election includes: +●● An authorization to direct the department to automatically +apply the overpayment reported by one spouse to the +amount owed by the other spouse, including when the +return is revised. For example, if we discover a math or +other computational error when processing the form, the +correction may result in our applying one spouse’s refund +to the other spouse’s increased tax automatically, even +when neither of the spouses were expecting a refund. +If you file separately on the same form, before requesting +any refund on line 23, you must apply your overpayment +on line 22 to the amount owed by your spouse, if any, on +line 25. Use the worksheet on page 8 of these instructions. +●● An authorization to allow department employees to +discuss all information on the form with either spouse, +as permitted by Montana law. The department may also +discuss any subsequent adjustments with either spouse. +The law, however, does not allow you to make decisions +for your spouse or to receive information about an amount +your spouse may owe. +●● The opportunity to qualify for the Household and +Dependent Care Services itemized deduction, if you are +married and you do not file jointly. +●● The requirement to calculate your interest on +underpayment of estimated tax on a combined basis. +If none of the above provisions apply to your tax situation +and you still want to file separately, you must file on +separate forms and choose Status 2b. + + \ No newline at end of file diff --git a/source_conflicts/sources/mt-salt-election/form-2-instructions-2018-p27-28.txt b/source_conflicts/sources/mt-salt-election/form-2-instructions-2018-p27-28.txt new file mode 100644 index 00000000000..e42d4ba5d80 --- /dev/null +++ b/source_conflicts/sources/mt-salt-election/form-2-instructions-2018-p27-28.txt @@ -0,0 +1,250 @@ +Source: https://revenuefiles.mt.gov/files/forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2018_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=27 +2018 Montana Form 2 instructions, Itemized Deductions Schedule line 5. Pages 27-28, text extracted with pdftotext 26.09.0 (poppler), reading order. + +2018 Montana Form 2 + +Itemized Deductions - Taxes + +●● Your premiums cannot be deducted as a Self-Employed +Health Insurance Deduction on your Form 2, Schedule 1, +line 29, or as a subtraction from Federal Adjusted Gross +Income on your Montana Subtractions Schedule, line 11. +●● Medicare taxes that are withheld from your wages +or paid as part of your self-employment tax are not +deductible on this line. + +Line 3 – Long-Term Care Insurance Premiums +You may be eligible to deduct 100 percent of the long-term +care insurance premiums that are deductible on your federal +Schedule A (under IRC 213(d)) without regard to the 10 percent +floor limitation. You must meet all of the following criteria: +●● Your payments must be for long-term care policies +covering primarily qualified long-term care services +such as the necessary diagnostic, preventive, +therapeutic, curing, treating, mitigating and +rehabilitative service and personal care that is +required for a chronically ill individual who is under the +prescribed care of a licensed health care practitioner. +●● The long-term care policies must be for the benefit of you, +your dependents, your parents or your grandparents. +●● Your premiums cannot have been deducted elsewhere +on your tax return when you determined your Montana +Adjusted Gross Income. +●● Your premiums cannot have been included as qualified +elderly care expenses when you claimed the Elderly +Care Credit that you reported on the Nonrefundable +Credits Schedule, line 9. + +Taxes + +Line 4 – Federal Income Tax +Montana allows federal income taxes paid during the year as +an itemized deduction. This does not include any state income +taxes you may have paid to Montana or any other state even +if you were able to deduct them on your federal return. +Enter the total amount of federal income tax paid in 2018. +4a. Enter the income tax withheld that was reported to +you on your federal Forms W-2 and 1099. If you are +married filing separately with your spouse, the federal +income tax withheld should be reported by the spouse +who earned the income; +4b. Enter the amount of federal estimated income +tax payments; +4c. Enter the balance of the total amount of the 2017 +federal income tax that you paid in 2018; +4d. Enter the total amount of additional back year federal +income taxes that you paid in 2018. For example, you may +have paid additional 2015 federal income taxes in 2018. +Add lines 4a through 4d. Your federal tax deduction is +limited as follows: +●● If your filing status is Single, Married Filing Separately or +Head of Household, your deduction is limited to $5,000. +●● If your status is Married Filing Separately, you each are +limited to the $5,000 federal tax deduction and you cannot +arbitrarily allocate this deduction between spouses. +●● If you file your Montana tax return jointly with your spouse, +your federal income tax deduction is limited to $10,000. + +Page 21 + +Note: The detail provided on line 4 allows you to calculate +the sum of income tax payments made in 2018. +However, some of the payments included on line 4a and 4b +may be pre-payments of taxes other than federal income tax. +For the purpose of this deduction, federal income tax means: +●● The tax calculated on line 11 of your federal Form +1040, excluding any repayment of excess advance +payments of the Health Coverage Tax Credit from +federal Form 8885; +●● Line 45 of the federal Form 1040, Schedule 2 +(Alternative Minimum Tax, federal Form 6251); +●● The Healthcare Individual Shared Responsibility Tax on +your federal Form 1040, Schedule 4, line 61; +●● The Net Investment Income Tax reported on your +federal Form 1040, Schedule 4, line 62; +●● Any recapture tax based on any federal credit or deduction +reported on federal Form 1040, Schedule 4, line 62; +●● IRC 965 net tax liability on federal Form 1040, +Schedule 4, line 63; +●● Tax on excess golden parachute payment, Form W-2, +code K; and +●● Tax on accumulation distribution of trusts, federal +Form 4970. +If the combined amount of federal tax withheld (line 4a) and the +federal estimated tax payments (line 4b), is more than the sum +of all the taxes listed above on your 2018 federal Form 1040, +the difference represents payments you made for taxes that +are not deductible federal income taxes. You may reduce the +amount you can report on lines 4a and 4b by this difference +beginning with the amount on line 4b. +If the combined amount you paid is less than the sum of +all taxes listed, part or all your return payment you make in +2019 will be deductible on your 2019 tax return. +Make sure that the taxes you paid for other back years +on line 4d are income taxes. For example, back-year +self-employment taxes, or additional taxes on IRA or other +qualified plans distributions are not income taxes and +cannot be deducted. + +Line 5 – State and Local Taxes Limited to $10,000 +You can deduct the state and local taxes you paid in +2018, excluding state income taxes. If you are a resident, +state income taxes paid to another state may be claimed +as a nonrefundable credit on the Nonrefundable Credits +Schedule, page 8. +5a. General State and Local Sales Taxes: You may claim +the general state and local sales taxes you paid in 2018 +as a deduction. Montana does not have a general sales +tax. None of the resort, accommodations or similar taxes +collected in Montana qualify as a general sales tax under +the federal definitions, so they cannot be deducted. +If you didn’t save your receipts, you can fill out the +worksheet and use the optional General Sales Tax +Tables in the instructions for federal Schedule A +(Form 1040) or use the Sales Tax Deduction Calculator +available on the Internal Revenue Service’s website at +apps.irs.gov/app/stdc/. + + 2018 Montana Form 2 + +Itemized Deductions - Interest + +5b. Local Income Tax: Enter any local income taxes that +you paid in 2018. No city in Montana imposes a local +income tax, so a Montana full-year resident would be +unlikely to take this deduction. +5c. Real estate tax paid: Enter any real estate taxes that +you paid in 2018 on real estate that you own and did +not use for business. +If you apply for the Elderly Homeowner/Renter Credit, +do not confuse this amount with the amount of your +property tax billed that is used to determine the amount +of your Elderly Homeowner/Renter Credit. +5d. Value-based personal property taxes: Enter any +personal property taxes based on value that you paid +in 2018. +Only personal property taxes that are based on value and +charged on a yearly basis are deductible on this line. +Tip: When registering or renewing a registration of a +light vehicle in Montana, you pay a registration fee and +a county option tax. The county option tax is valuebased and must be reported on line 5d. The light vehicle +registration fee must be reported on line 6. + +Line 6 – Montana light vehicle registration fees +You may claim the Montana Light Vehicle Registration Fees +(LVREG) you paid in 2018. These fees are identified on +specific lines of your vehicle registration bills. + +Line 7 – Per Capita Livestock Fees +You may claim the per capita livestock fees you paid in +Montana in 2018 as a deduction. + +Line 8 – Other Deductible Taxes Paid +Enter any other deductible taxes that you paid in 2018 +and that you did not report on lines 4 through 7. When you +claim these other deductible taxes, list on this line the type +and amount of tax that you paid. +Taxes you may be able to deduct include generation-skipping +transfer taxes imposed on income distributions, environmental +taxes imposed under IRC 59A of the Internal Revenue +Code, and taxes paid to a foreign country. Note that you can +only deduct foreign taxes on your Montana tax return if you +claimed them as a deduction on your federal tax return. +You cannot take a deduction on your Montana individual +income tax return for the following taxes that you paid +in 2018: state income, federal excise, Social Security, +Medicare, gasoline, lodging, alcoholic beverage, cigarette, +tobacco, or selective sales taxes. Also, you cannot take a +deduction for certain license fees paid in 2018—such as +hunting, fishing or driver license fees. + +Interest + +Line 9 – Home Mortgage Interest and Points +Enter your home mortgage interest and points allowed +by federal law that were reported to you on your federal +Form 1098. +Enter any home mortgage interest that you paid that was not +reported on your federal Form 1098. If you bought your home + +Page 22 + +from another person, write that person’s name, Social Security +Number and address in the space provided. +Enter any points that you paid that were not reported to you +on federal Form 1098. +Note that: +●● For acquisition indebtedness incurred after Dec. 15, 2017, +the deduction of interest is limited to the first $750,000. +●● You cannot deduct interest paid on home equity +indebtedness in 2018. +Note: At the time these instructions were drafted, Congress had +not extended the applicability of IRC 163(h)(3)(E) to provide for +deductibility of Mortgage Insurance Premiums paid in 2018. If +IRC 163(h)(3)(E) applies for 2018, include on this line the total +premiums paid in 2018. + +Line 10 – Investment Interest +Determine your Montana Investment Interest Expense +Deduction by following the computation on federal +Form 4952, but include any Montana adjustments to +income. You cannot use interest expense related to income +that is exempt from Montana tax when computing your +Investment Interest Deduction. If you and your spouse +are filing separately, compute your Investment Interest +Deduction on federal Form 4952 separately. +Gifts or Charity +The charitable contributions allowed as a deduction in +computing your net income for Montana income tax purposes +are those same contributions allowed as a deduction for federal +income tax purposes—with the following exceptions: +●● You can include your contributions made in 2018 to the +Montana Veterans’ Service Special Revenue Account +or the Montana State Veterans’ Cemetery program, +or the surcharge you paid for purchasing a Montana +patriotic specialty license plate, as itemized deductions +on your Montana income tax return even if they are not +allowed as itemized deductions on your federal return. +For further instructions about this contribution, see +Montana Form VT available at revenue.mt.gov. +●● When you apply the federal 60 percent, 50 percent, +30 percent and 20 percent contribution limitations, use +your Montana Adjusted Gross Income instead of your +Federal Adjusted Gross Income when you determine +your contributions that are allowed. +●● Any portion of a contribution that you used to +calculate your Qualified Endowment Tax Credit, your +Innovative Educational Program Credit, or your Student +Scholarship Organization Credit, cannot also be +claimed as a contribution deduction. You can claim a +charitable deduction for that portion of the contribution +not used to calculate this credit. +In general, excess charitable contributions can be carried +over five years. +You may deduct your 2018 contributions to the Child Abuse +and Neglect Prevention Program on line 11 or 12. If you +decide to use the checkoff provided on your Contributions, +Penalties, and Interest Schedule, line 1b, you may deduct +this contribution on the 2018 return. Just add it to line 11. + + \ No newline at end of file diff --git a/source_conflicts/sources/mt-salt-election/form-2-instructions-2019-p32-33.txt b/source_conflicts/sources/mt-salt-election/form-2-instructions-2019-p32-33.txt new file mode 100644 index 00000000000..9a5d2c7ce51 --- /dev/null +++ b/source_conflicts/sources/mt-salt-election/form-2-instructions-2019-p32-33.txt @@ -0,0 +1,214 @@ +Source: https://revenuefiles.mt.gov/files/forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2019_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=32 +2019 Montana Form 2 instructions, Itemized Deductions Schedule line 5. Pages 32-33, text extracted with pdftotext 26.09.0 (poppler), reading order. + +Taxes +Line 4 – Federal Income Tax. Montana allows +federal income taxes paid during the year as an +itemized deduction. This does not include any state +income taxes you may have paid to Montana or any +other state even if you were able to deduct them on +your federal return. +Enter the total amount of federal income tax paid +in 2019. +4a. Enter the income tax withheld that was +reported to you on your federal Forms W-2 +and 1099. If you are married filing separately +with your spouse, the federal income tax +withheld should be reported by the spouse +who earned the income; +4b. Enter the amount of federal estimated +income tax payments; +4c. Enter the balance of the total amount of the +2018 federal income tax that you paid in 2019; +4d. Enter the total amount of additional back year +federal income taxes that you paid in 2019. +For example, you may have paid additional +2016 federal income taxes in 2019. +Add lines 4a through 4d. Your federal tax +deduction is limited as follows: +● If your filing status is Single, Married +Filing Separately, or Head of Household, +your deduction is limited to $5,000. +● If your status is Married Filing Separately, +you each are limited to the $5,000 federal +tax deduction and you cannot arbitrarily +allocate this deduction between spouses. +● If you file your Montana tax return jointly +with your spouse, your federal income tax +deduction is limited to $10,000. +Note: The detail provided on line 4 allows +you to calculate the sum of income tax +payments made in 2019. +If the combined amount of federal tax withheld +(line 4a) and the federal estimated tax payments +(line 4b) is more than the sum of all the taxes +listed above after nonrefundable credits on your +2019 federal Form 1040, the difference represents +payments that are not deductible. To avoid a +recovery on your Montana income tax return for +2020, you may reduce the amount you can report +on lines 4a and 4b by the amounts you paid for +federal liabilities that were not income taxes. See +page 17 for a list of liabilities that are considered +federal income taxes. + +If the combined amount you paid is less than +the sum of all taxes listed, part or all your return +payment you make in 2020 will be deductible on +your 2020 tax return. +Make sure that the taxes you paid for other back +years on line 4d are income taxes. For example, +back-year self-employment taxes, or additional +taxes on IRA or other qualified plans distributions +are not income taxes and cannot be deducted. +Line 5 – State and Local Taxes Limited to $10,000. +You can deduct the state and local taxes you paid +in 2019, excluding state income taxes. If you are a +resident, state income taxes paid to another state +may be claimed as a nonrefundable credit on the +Nonrefundable Credits Schedule, page 9. +5a. General State and Local Sales Taxes: You may +claim the general state and local sales taxes +you paid in 2019 as a deduction. Montana does +not have a general sales tax. None of the resort, +accommodations, or similar taxes collected in +Montana qualify as a general sales tax under the +federal definitions, so they cannot be deducted. +If you are a nonresident and you did not save +your receipts, you can fill out the worksheet +and use the optional General Sales Tax Tables +in the instructions for federal Schedule A +(Form 1040) or use the Sales Tax Deduction +Calculator available on the Internal Revenue +Service’s website at apps.irs.gov/app/stdc/. +5b. Local Income Tax: Enter any local income taxes +that you paid in 2019. No city in Montana imposes +a local income tax, so a Montana full-year +resident would be unlikely to take this deduction. +5c. Real estate tax paid: Enter any real estate +taxes that you paid in 2019 on real estate that +you own and did not use for business. +Tip: If you apply for the Elderly Homeowner/ +Renter Credit, do not confuse this amount with the +amount of your property tax billed that is used to +determine the amount of your Elderly Homeowner/ +Renter Credit. +5d. Value-based personal property taxes: Enter +any personal property taxes based on value +that you paid in 2019. +Only personal property taxes that are based +on value and charged on a yearly basis are +deductible on this line. + +2019 Montana Form 2 Instructions + +Page 28 + + Tip: When registering or renewing a registration +of a light vehicle in Montana, you pay a +registration fee and a county option tax. The +county option tax is value-based and must be +reported on line 5d. The light vehicle registration +fee must be reported on line 6. +Line 6 – Montana Light Vehicle Registration +Fees. You may claim the Montana Light Vehicle +Registration Fees (LVREG) you paid in 2019. +These fees are identified on specific lines of your +vehicle registration bills. +Line 7 – Per Capita Livestock Fees. You may claim +the per capita livestock fees you paid in Montana in +2019 as a deduction. +Line 8 – Other Deductible Taxes Paid. Enter any +other deductible taxes that you paid in 2019 and +that you did not report on lines 4 through 7. When +you claim these other deductible taxes, list on this +line the type and amount of tax that you paid. +Taxes you may be able to deduct include generationskipping transfer taxes imposed on income +distributions, environmental taxes imposed under IRC +59A of the Internal Revenue Code, and taxes paid to a +foreign country. Note that you can only deduct foreign +taxes on your Montana tax return if you claimed them +as a deduction on your federal tax return. +You cannot take a deduction on your Montana +individual income tax return for the following taxes +that you paid in 2019: state income, federal excise, +Social Security, Medicare, gasoline, lodging, +alcoholic beverage, cigarette, tobacco, or selective +sales taxes. Also, you cannot take a deduction for +certain license fees paid in 2019 – such as hunting, +fishing, or driver license fees. + +Interest +Line 9 – Home Mortgage Interest and Points. Enter +your home mortgage interest and points allowed +by federal law that were reported to you on your +federal Form 1098. +Enter any home mortgage interest and points that you +paid that were not reported on your federal Form 1098. +Note that: +● For acquisition indebtedness incurred after +Dec. 15, 2017, the deduction of interest is +limited to the first $750,000. +● You cannot deduct interest paid on home +equity indebtedness for tax years beginning +after Dec. 31, 2017 and before Jan. 1, 2026. + +Qualified Mortgage Insurance Premiums. Include +on line 9 the deduction amount you can claim on +your federal tax return. If you did not itemize your +deductions on your federal return, complete the +Qualified Mortgage Insurance Premiums Deduction +Worksheet on page 52. Married taxpayers filing +separately in Montana may allocate the total +allowable amount between both spouses. +If you bought your home from another person, write +that person’s name, Social Security Number and +address in the space provided. +Line 10 – Investment Interest. Determine your Montana +Investment Interest Expense Deduction by following +the computation on federal Form 4952, but include +any Montana adjustments to income. You cannot use +interest expense related to income that is exempt from +Montana tax when computing your Investment Interest +Deduction. If you and your spouse are filing separately, +compute your Investment Interest Deduction on federal +Form 4952 separately. + +Gifts or Charity +The charitable contributions allowed as a deduction +in computing your net income for Montana income +tax purposes are those same contributions allowed +as a deduction for federal income tax purposes, +with the following exceptions: +● You can include your contributions made in +2019 to the Montana Veterans’ Service Special +Revenue Account or the Montana State Veterans’ +Cemetery Program, or the surcharge you paid for +purchasing a Montana patriotic specialty license +plate, as itemized deductions on your Montana +income tax return even if they are not allowed as +itemized deductions on your federal return. For +further instructions about this contribution, see +Montana Form VT, available at MTRevenue.gov. +● When you apply the federal 60 percent, +50 percent, 30 percent, and 20 percent +contribution limitations, use your Montana +Adjusted Gross Income instead of your +Federal Adjusted Gross Income when you +determine your contributions that are allowed. +● Any portion of a contribution that you used +to calculate your Qualified Endowment Tax +Credit, College Contribution Credit, Innovative +Educational Program Credit, or Student +Scholarship Organization Credit, cannot also be +claimed as a contribution deduction. You can +claim a charitable deduction for that portion of the +contribution not used to calculate this credit. +In general, excess charitable contributions can be +carried over five years. + +2019 Montana Form 2 Instructions + +Page 29 + + \ No newline at end of file diff --git a/source_conflicts/sources/mt-salt-election/form-2-instructions-2019-p9.txt b/source_conflicts/sources/mt-salt-election/form-2-instructions-2019-p9.txt new file mode 100644 index 00000000000..ce1b2a186f7 --- /dev/null +++ b/source_conflicts/sources/mt-salt-election/form-2-instructions-2019-p9.txt @@ -0,0 +1,102 @@ +Source: https://revenuefiles.mt.gov/files/forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2019_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=9 +2019 Montana Form 2 instructions, filing status. Page 9, text extracted with pdftotext 26.09.0 (poppler), reading order. + +Line Instructions +Personal Information +Enter your name, address, and Social Security +Number (SSN) or Individual Tax Identification Number +(ITIN). An incorrect number may delay your refund. +Enter the address where you receive your mail. We +will use this address to send correspondence and +your refund (if applicable). +If either the primary taxpayer or the spouse died +prior to filing this return, enter the date of death in the +field next to his or her name. Include a copy of the +federal Form 1310 unless you use filing Status 2a +(married filing separately on the same form) or +Status 4 (married filing jointly) on this return. + +Filing Status – (mark only one box) +Montana law does not require you to claim the +same filing status that you claimed on your federal +tax return. For example, if you are married and you +filed your federal income tax return jointly, you and +your spouse have the option to file your Montana +tax return either jointly or separately. +TIP: If you are married, and both spouses report +income, filing separately may result in less tax due. + +Filing Separately When Married. +If you and your spouse chose to file separately, you +and your spouse will each need to report your own +adjusted gross income. You cannot arbitrarily assign +income or deductions between the two of you. +When filing separately, you must select whether +you and your spouse are filing on the same form +(Status 2a), on separate forms (Status 2b), or +separately with your spouse not filing (Status 2c). +When you choose to file separately, you are filing a +separate return from your spouse, even if you file +on the same form. + +How to allocate income and deductions +when filing separately. +Apply the following general rules as you allocate +income and deductions between you and your +spouse. +When filing separately on the same form this +allocation is done between Columns A and B, with +each column being a return. + +Allocation of income. If you filed your federal tax +return separately, report the items of income the same +way you reported them on your federal Form 1040. +Allocate income as follows: +● Income from wages, salaries, bonuses, +commissions, and other income that is +earned from providing personal services as +an employee or as an independent contractor +should be reported by the spouse who earned it. +● Income such as capital gains or losses, rents, +royalties, dividends, and interest should be +reported by the spouse who owns the property +from which the income is derived. If you and +your spouse jointly hold the property, you must +split the income equally between both spouses +unless you and your spouse can show a +different proportional ownership. +● Income from your or your spouse’s ownership +in a sole proprietorship (federal Schedules C +or F), partnership, S Corporation, or trust must +be reported by the spouse who is the owner. +An allocation for services rendered by a spouse +can also be made (see instructions for Montana +Additions and Montana Subtractions Schedules.) +Allocation of deductions. In general, if you filed +your federal return separately, report the items of +deduction the same way you reported them on your +federal Form 1040. +● Spouses must either both claim the standard +deduction, or both itemize their deductions. +You are not allowed to claim one method for +one spouse and another method for the other +spouse. +● Deductions that are attributable to only one +spouse must be claimed by that spouse. This +includes, for example, federal income tax +withheld from your wages and the Student +Loan Interest Deduction. +● Payments made from accounts owned by both +spouses and that pertain to expenses that +are not attributable specifically to one spouse +can be allocated to either spouse in any +proportional amount. +Review the following before choosing +Status 2a (Married Filing Separately on the +Same Form). + +2019 Montana Form 2 Instructions + +Page 5 + + \ No newline at end of file diff --git a/source_conflicts/sources/mt-salt-election/form-2-instructions-2020-p29-30.txt b/source_conflicts/sources/mt-salt-election/form-2-instructions-2020-p29-30.txt new file mode 100644 index 00000000000..e52d82bc608 --- /dev/null +++ b/source_conflicts/sources/mt-salt-election/form-2-instructions-2020-p29-30.txt @@ -0,0 +1,218 @@ +Source: https://revenuefiles.mt.gov/files/forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2020_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=29 +2020 Montana Form 2 instructions, Itemized Deductions Schedule line 5. Pages 29-30, text extracted with pdftotext 26.09.0 (poppler), reading order. + +● Medicare taxes that are withheld from your +wages or paid as part of your self-employment +tax are not deductible on this line. +Line 3–Long-Term Care Insurance Premiums. You +may be eligible to deduct 100 percent of the long-term +care insurance premiums that are deductible on your +federal Schedule A (under Internal Revenue Code 213(d)) +without regard to the federal limitation. You must meet all +of the following criteria: +● Your payments must be for long-term care +policies covering primarily qualified longterm care services such as the necessary +diagnostic, preventive, therapeutic, curing, +treating, mitigating, and rehabilitative service and +personal care that is required for a chronically ill +individual who is under the prescribed care of a +licensed health care practitioner. +● The long-term care policies must be for the +benefit of you, your dependents, your parents or +your grandparents. +● Your premiums cannot have been deducted +elsewhere on your tax return when you +determined your Montana Adjusted Gross Income. +● Your premiums cannot have been included as +qualified elderly care expenses when you claimed +the Elderly Care Credit that you reported on the +Nonrefundable Credits Schedule, line 9. + +Taxes +Line 4–Federal Income Tax. Montana allows federal +income taxes paid during the year as an itemized +deduction. This does not include any state income taxes +you may have paid to Montana or any other state even if +you were able to deduct them on your federal return. +Enter the total amount of federal income tax paid in 2020. +4a. Enter the income tax withheld that was +reported to you on your federal Forms W-2 and +1099. If you are married filing separately with your +spouse, the federal income tax withheld should be +reported by the spouse who earned the income; +4b. Enter the amount of federal estimated +income tax payments; +4c. Enter the balance of the total amount of the +2019 federal income tax that you paid in 2020; +4d. Enter the total amount of additional back +year federal income taxes that you paid +in 2020. For example, you may have paid +additional 2016 federal income taxes in 2020. +Add lines 4a through 4d. Your federal tax +deduction is limited as follows: +● If your filing status is Single, Married Filing +Separately, or Head of Household, your + +deduction is limited to $5,000. +● If your status is Married Filing Separately, +you each are limited to the $5,000 federal +tax deduction and you cannot arbitrarily +allocate this deduction between spouses. +● If you file your Montana tax return jointly +with your spouse, your federal income tax +deduction is limited to $10,000. +Note: The detail provided on line 4 allows +you to calculate the sum of income tax +payments made in 2020. +If the combined amount of federal tax withheld on +line 4a and federal estimated tax payments on line +4b is more than the sum of all the taxes listed above +after nonrefundable credits on your 2020 federal +Form 1040, the difference represents payments +that are not deductible. To avoid a recovery on your +Montana income tax return for 2021, you may reduce +the amount you can report on lines 4a and 4b by the +amounts you paid for federal liabilities that were not +income taxes. See page 15 for a list of liabilities that +are considered federal income taxes. +If the combined amount you paid is less than the sum of +all taxes listed, part or all your return payment you make +in 2021 will be deductible on your 2021 tax return. +Make sure that the taxes you paid for other back +years on line 4d are income taxes. For example, +back-year self-employment taxes, or additional taxes +on IRA or other qualified plans distributions are not +income taxes and cannot be deducted. +Line 5–State and Local Taxes Limited to $10,000. +You can deduct the state and local taxes you paid +in 2020, excluding state income taxes. If you are a +resident, state income taxes paid to another state +may be claimed as a nonrefundable credit on the +Nonrefundable Credits Schedule, page 9. +5a. General State and Local Sales Taxes: You +may claim the general state and local sales taxes +you paid in 2020 as a deduction. Montana does +not have a general sales tax. None of the resort, +accommodations, or similar taxes collected in +Montana qualify as a general sales tax under the +federal definitions, so they cannot be deducted. +If you are a nonresident and you did not save +your receipts, you can fill out the worksheet and +use the optional General Sales Tax Tables in the +instructions for Form 1040, Schedule A or use +the Sales Tax Deduction Calculator available on +the IRS’s website at apps.irs.gov/app/stdc/. +5b. Local Income Tax: Enter any local income +taxes that you paid in 2020. No city in Montana +imposes a local income tax, so a Montana full-year +resident would be unlikely to take this deduction. + +2020 Montana Form 2 Instructions + +Page 25 + + 5c. Real estate tax paid: Enter any real estate +taxes that you paid in 2020 on real estate that +you own and did not use for business. +TIP: If you apply for the Elderly Homeowner/ +Renter Credit, do not confuse this amount with the +amount of your property tax billed that is used to +determine the amount of your Elderly Homeowner/ +Renter Credit. +5d. Value-based personal property taxes: Enter +any personal property taxes based on value +that you paid in 2020. +Only personal property taxes that are based +on value and charged on a yearly basis are +deductible on this line. +TIP: When registering or renewing a registration of +a light vehicle in Montana, you pay a registration +fee and a county option tax. The county option tax +is value-based and must be reported on line 5d. +The light vehicle registration fee must be reported +on line 6. +Line 6–Montana Light Vehicle Registration Fees. +You may claim the Montana Light Vehicle Registration +Fees (LVREG) you paid in 2020. These fees are identified +on specific lines of your vehicle registration bills. +Line 7–Per Capita Livestock Fees. You may claim +the per capita livestock fees you paid in Montana in +2020 as a deduction. +Line 8–Other Deductible Taxes Paid. Enter any +other deductible taxes that you paid in 2020 and that +you did not report on lines 4 through 7. When you +claim these other deductible taxes, list on this line the +type and amount of tax that you paid. +Taxes you may be able to deduct include generationskipping transfer taxes imposed on income +distributions, environmental taxes imposed under +Internal Revenue Code 59A, and taxes paid to a +foreign country. Note that you can only deduct foreign +taxes on your Montana tax return if you claimed them +as a deduction on your federal tax return. +You cannot take a deduction on your Montana individual +income tax return for the following taxes that you paid +in 2020: state income, federal excise, Social Security, +Medicare, gasoline, lodging, alcoholic beverage, +cigarette, tobacco, or selective sales taxes. Also, you +cannot take a deduction for certain license fees paid in +2020–such as hunting, fishing, or driver license fees. + +Interest +Line 9–Home Mortgage Interest and Points. Enter +your home mortgage interest and points allowed +by federal law that were reported to you on your +federal Form 1098. +Enter any home mortgage interest and points that you +paid that were not reported on your federal Form 1098. +Note: For acquisition indebtedness incurred after +Dec. 15, 2018, the deduction of interest is limited +to the first $750,000. +Qualified Mortgage Insurance Premiums. Include +the amount you claim on your federal tax return on line 9. +If you did not itemize your deductions on your federal +return, complete the Qualified Mortgage Insurance +Premiums Deduction Worksheet on page 46. Married +taxpayers filing separately in Montana may allocate the +total allowable amount between both spouses. +If you bought your home from another person, write +that person’s name, Social Security Number and +address in the space provided. +Line 10–Investment Interest. Determine your Montana +Investment Interest Expense Deduction by following +the computation on federal Form 4952, but include +any Montana adjustments to income. You cannot use +interest expense related to income that is exempt +from Montana tax when computing your Investment +Interest Deduction. If you and your spouse are +filing separately, compute your Investment Interest +Deduction on federal Form 4952 separately. + +Gifts or Charity +The charitable contributions allowed as a deduction +in computing your net income for Montana income tax +purposes are those same contributions allowed as a +deduction for federal income tax purposes, with the +following exceptions: +● You can include your contributions made in +2020 to the Montana Veterans’ Service Special +Revenue Account or the Montana State Veterans’ +Cemetery Program, or the surcharge you paid for +purchasing a Montana patriotic specialty license +plate, as itemized deductions on your Montana +income tax return even if they are not allowed as +itemized deductions on your federal return. For +further instructions about this contribution, see +Montana Form VT, available at MTRevenue.gov. +● Any portion of a contribution that you used +to calculate your Qualified Endowment Tax +Credit, College Contribution Credit, Innovative +Educational Program Credit, or Student Scholarship +Organization Credit, cannot also be claimed as a +contribution deduction. You can claim a charitable +deduction for that portion of the contribution not used + +2020 Montana Form 2 Instructions + +Page 26 + + \ No newline at end of file diff --git a/source_conflicts/sources/mt-salt-election/form-2-instructions-2020-p8.txt b/source_conflicts/sources/mt-salt-election/form-2-instructions-2020-p8.txt new file mode 100644 index 00000000000..a7187a25e92 --- /dev/null +++ b/source_conflicts/sources/mt-salt-election/form-2-instructions-2020-p8.txt @@ -0,0 +1,111 @@ +Source: https://revenuefiles.mt.gov/files/forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2020_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=8 +2020 Montana Form 2 instructions, filing status. Page 8, text extracted with pdftotext 26.09.0 (poppler), reading order. + +Amending Your 2020 Return +If you are amending your 2020 return, you must +complete a new Form 2 with all the schedules, even +if none of the amounts previously reported on them +have changed, and do the following: +1. Mark the box on the top left of page 1. +2. Make sure you sign and date your return. +3. Complete the Amended Return Information +section on page 2. +4. Include any payments made with or after filing the +original return on line 7 of the Other Payments +and Refundable Credits Schedule on page 11. +5. If you requested a refund or if you carried over +all or part of the overpayment reported on your +original return to 2021, make sure that you +completed line 2 of the Contributions, Penalties, +and Interest Schedule on page 11. +Important: If you file an amended tax return that +reflects an increased tax liability, you may have the +late payment penalty waived. To receive the waiver, +simply mark the “Amended Return” box on the top +left-hand corner of the tax return and pay the tax and +applicable interest in full when you file the amended +return. By marking this box and paying all tax and +interest, you are treated as having requested a waiver +of the late payment penalty. + +Interest Rate for 2021 +Effective January 1, 2021, the annual interest rate +assessed on outstanding balances is 3 percent. This +rate also applies to underpayment of estimated taxes. +Interest is calculated daily. + +Line Instructions +Personal Information +Enter your name, address, and Social Security Number +(SSN) or Individual Tax Identification Number (ITIN). An +incorrect number may delay your refund. +Enter the address where you receive your mail. We +will use this address to send correspondence and +your refund (if applicable). +If either the primary taxpayer or the spouse died prior +to filing this return, enter the date of death in the field +next to his or her name. Include a copy of the federal +Form 1310 unless you use filing Status 2a (married +filing separately on the same form) or Status 4 (married +filing jointly) on this return. + +Filing Status–(mark only one box) +Montana law does not require you to claim the same + +filing status that you claimed on your federal tax +return. For example, if you are married and you filed +your federal income tax return jointly, you and your +spouse have the option to file your Montana tax return +either jointly or separately. +TIP: If you are married, and both spouses report +income, filing separately may result in less tax due. + +Filing Separately When Married. +If you and your spouse chose to file separately, you +and your spouse must each report your own adjusted +gross income. You cannot arbitrarily assign income or +deductions between the two of you. +When filing separately, you must select whether +you and your spouse are filing on the same form +(Status 2a), on separate forms (Status 2b), or +separately with your spouse not filing (Status 2c). +When you choose to file separately, you are filing a +separate return from your spouse, even if you file on +the same form. + +How to allocate income and deductions when +filing separately. +Apply the following general rules as you allocate +income and deductions between you and your +spouse. +When filing separately on the same form this +allocation is done between Columns A and B, with +each column constituting its own return. +Allocation of income. If you filed your federal tax +return separately, report the items of income the same +way you reported them on your federal Form 1040. +Allocate income as follows: +● Income from wages, salaries, bonuses, +commissions, and other income that is earned from +providing personal services as an employee or as +an independent contractor should be reported by +the spouse who earned it. +● Income such as capital gains or losses, rents, +royalties, dividends, and interest should be +reported by the spouse who owns the property +from which the income is derived. If you and +your spouse jointly hold the property, you must +split the income equally between both spouses +unless you and your spouse can show a different +proportional ownership. +● Income from your or your spouse’s ownership +in a sole proprietorship (federal Schedules C +or F), partnership, S corporation, or trust must +be reported by the spouse who is the owner. +An allocation for services rendered by a spouse + +2020 Montana Form 2 Instructions + +Page 4 + + \ No newline at end of file diff --git a/source_conflicts/sources/mt-salt-election/mca-15-30-2131-2017.txt b/source_conflicts/sources/mt-salt-election/mca-15-30-2131-2017.txt new file mode 100644 index 00000000000..50ee1692577 --- /dev/null +++ b/source_conflicts/sources/mt-salt-election/mca-15-30-2131-2017.txt @@ -0,0 +1,54 @@ +Source: https://mca.legmt.gov/bills/2017/mca/title_0150/chapter_0300/part_0210/section_0310/0150-0300-0210-0310.html +Montana Code Annotated 2017, 15-30-2131, with its history note. Text of the official HTML page: one line per heading or paragraph, tags and scripts removed, HTML entities decoded. + +Montana Code Annotated 2017 +TITLE 15. TAXATION +CHAPTER 30. INDIVIDUAL INCOME TAX +Part 21. Rate and General Provisions +Deductions Allowed In Computing Net Income +15-30-2131. Deductions allowed in computing net income. (1) In computing net income, there are allowed as deductions: +(a) the items referred to in sections 161, including the contributions referred to in 33-15-201(5)(b), and 211 of the Internal Revenue Code, 26 U.S.C. 161 and 211, subject to the following exceptions, which are not deductible: +(i) items provided for in 15-30-2133; +(ii) state income tax paid; +(iii) premium payments for medical care as provided in subsection (1)(g)(i); +(iv) long-term care insurance premium payments as provided in subsection (1)(g)(ii); and +(v) a charitable contribution using a charitable gift annuity unless the annuity is a qualified charitable gift annuity as defined in 33-20-701; +(b) federal income tax paid within the tax year, not to exceed $5,000 for each taxpayer filing singly, head of household, or married filing separately or $10,000 if married and filing jointly; +(c) expenses of household and dependent care services as outlined in subsections (1)(c)(i) through (1)(c)(iii) and (2) and subject to the limitations and rules as set out in subsections (1)(c)(iv) through (1)(c)(vi), as follows: +(i) expenses for household and dependent care services necessary for gainful employment incurred for: +(A) a dependent under 15 years of age for whom an exemption can be claimed; +(B) a dependent as allowable under 15-30-2114(5), except that the limitations for age and gross income do not apply, who is unable to provide self-care because of physical or mental illness; and +(C) a spouse who is unable to provide self-care because of physical or mental illness; +(ii) employment-related expenses incurred for the following services, but only if the expenses are incurred to enable the taxpayer to be gainfully employed: +(A) household services that are attributable to the care of the qualifying individual; and +(B) care of an individual who qualifies under subsection (1)(c)(i); +(iii) expenses incurred in maintaining a household if over half of the cost of maintaining the household is furnished by an individual or, if the individual is married during the applicable period, is furnished by the individual and the individual's spouse; +(iv) the amounts deductible in subsections (1)(c)(i) through (1)(c)(iii), subject to the following limitations: +(A) a deduction is allowed under subsection (1)(c)(i) for employment-related expenses incurred during the year only to the extent that the expenses do not exceed $4,800; +(B) expenses for services in the household are deductible under subsection (1)(c)(i) for employment-related expenses only if they are incurred for services in the taxpayer's household, except that employment-related expenses incurred for services outside the taxpayer's household are deductible, but only if incurred for the care of a qualifying individual described in subsection (1)(c)(i)(A) and only to the extent that the expenses incurred during the year do not exceed: +(I) $2,400 in the case of one qualifying individual; +(II) $3,600 in the case of two qualifying individuals; and +(III) $4,800 in the case of three or more qualifying individuals; +(v) if the combined adjusted gross income of the taxpayers exceeds $18,000 for the tax year during which the expenses are incurred, the amount of the employment-related expenses incurred, to be reduced by one-half of the excess of the combined adjusted gross income over $18,000; +(vi) for purposes of this subsection (1)(c): +(A) married couples shall file a joint return or file separately on the same form; +(B) if the taxpayer is married during any period of the tax year, employment-related expenses incurred are deductible only if: +(I) both spouses are gainfully employed, in which case the expenses are deductible only to the extent that they are a direct result of the employment; or +(II) the spouse is a qualifying individual described in subsection (1)(c)(i)(C); +(C) an individual legally separated from the individual's spouse under a decree of divorce or of separate maintenance may not be considered as married; +(D) the deduction for employment-related expenses must be divided equally between the spouses when filing separately on the same form; +(E) payment made to a child of the taxpayer who is under 19 years of age at the close of the tax year and payments made to an individual with respect to whom a deduction is allowable under 15-30-2114(5) are not deductible as employment-related expenses; +(d) in the case of an individual, political contributions determined in accordance with the provisions of section 218(a) and (b) of the Internal Revenue Code of 1954 (now repealed) that were in effect for the tax year that ended December 31, 1978; +(e) that portion of expenses for organic fertilizer and inorganic fertilizer produced as a byproduct allowed as a deduction under 15-32-303 that was not otherwise deducted in computing taxable income; +(f) contributions to the child abuse and neglect prevention program provided for in 52-7-101, subject to the conditions set forth in 15-30-2143; +(g) the entire amount of premium payments made by the taxpayer, except premiums deducted in determining Montana adjusted gross income, or for which a credit was claimed under 15-30-2366, for: +(i) insurance for medical care, as defined in 26 U.S.C. 213(d), for coverage of the taxpayer, the taxpayer's dependents, and the parents and grandparents of the taxpayer; and +(ii) long-term care insurance policies or certificates that provide coverage primarily for any qualified long-term care services, as defined in 26 U.S.C. 7702B(c), for: +(A) the benefit of the taxpayer for tax years beginning after December 31, 1994; or +(B) the benefit of the taxpayer, the taxpayer's dependents, and the parents and grandparents of the taxpayer for tax years beginning after December 31, 1996; +(h) light vehicle registration fees, as provided for in 61-3-321(2) and 61-3-562, paid during the tax year; and +(i) per capita livestock fees imposed pursuant to 15-24-921, 15-24-922, 81-6-104, 81-6-204, 81-6-209, 81-7-118, or 81-7-201. +(2) (a) Subject to the conditions of subsection (1)(c), a taxpayer who operates a family day-care home or a group day-care home, as these terms are defined in 52-2-703, and who cares for the taxpayer's own child and at least one unrelated child in the ordinary course of business may deduct employment-related expenses considered to have been paid for the care of the child. +(b) The amount of employment-related expenses considered to have been paid by the taxpayer is equal to the amount that the taxpayer charges for the care of a child of the same age for the same number of hours of care. The employment-related expenses apply regardless of whether any expenses actually have been paid. Employment-related expenses may not exceed the amounts specified in subsection (1)(c)(iv)(B). +(c) Only a day-care operator who is licensed and registered as required in 52-2-721 is allowed the deduction under this subsection (2). +History: En. Sec. 6, Ch. 181, L. 1933; re-en. Sec. 2295.6, R.C.M. 1935; amd. Sec. 2, Ch. 167, L. 1947; amd. Sec. 2, Ch. 260, L. 1955; amd. Sec; 1, Ch. 102, L. 1977; amd. Sec. 2, Ch. 574, L. 1977; amd. Sec. 5, Ch. 576, L. 1977; R.C.M. 1947, 84-4906; amd. Sec. 1, Ch. 90, L. 1979; amd. Sec. 1, Ch. 129, L. 1979; amd. Sec. 3, Ch. 480, L. 1981; amd. Sec. 4, Ch. 533, L; 1981; amd. Sec. 20, Ch. 614, L. 1981; amd. Sec. 1, Ch. 118, L. 1983; amd. Sec. 10, Ch. 516, L. 1985; amd. Sec. 8, Ch. 610, L. 1985; amd. Sec. 1, Ch. 613, L. 1985; amd. Sec. 1, Ch. 501, L. 1987; amd. Sec. 11, Ch. 611, L. 1987; amd. Sec. 1, Ch. 613, L. 1991; amd. Sec. 2, Ch. 670, L. 1991; amd. Sec. 6, Ch. 808, L. 1991; amd. Sec. 1, Ch. 565, L. 1993; amd. Sec. 1, Ch. 284, L. 1995; amd. Sec. 68, Ch. 42, L. 1997; amd. Sec. 1, Ch. 218, L. 1997; amd. Secs. 1, 2(2), Ch. 383, L. 1997; amd. Sec. 10, Ch. 515, L. 1999; amd. Sec. 102, Ch. 574, L. 2001; amd. Sec. 25, Ch. 114, L. 2003; amd. Sec. 6, Ch. 482, L. 2003; amd. Sec. 45, Ch. 544, L. 2003; amd. Sec. 14, Ch. 542, L. 2005; Sec. 15-30-121, MCA 2007; redes. 15-30-2131 by Sec. 1, Ch. 147, L. 2009. diff --git a/source_conflicts/sources/mt-salt-election/mca-15-30-2131-2019.txt b/source_conflicts/sources/mt-salt-election/mca-15-30-2131-2019.txt new file mode 100644 index 00000000000..52ec8a81ea1 --- /dev/null +++ b/source_conflicts/sources/mt-salt-election/mca-15-30-2131-2019.txt @@ -0,0 +1,54 @@ +Source: https://mca.legmt.gov/bills/2019/mca/title_0150/chapter_0300/part_0210/section_0310/0150-0300-0210-0310.html +Montana Code Annotated 2019, 15-30-2131, with its history note. Text of the official HTML page: one line per heading or paragraph, tags and scripts removed, HTML entities decoded. + +Montana Code Annotated 2019 +TITLE 15. TAXATION +CHAPTER 30. INDIVIDUAL INCOME TAX +Part 21. Rate and General Provisions +Deductions Allowed In Computing Net Income +15-30-2131. Deductions allowed in computing net income. (1) In computing net income, there are allowed as deductions: +(a) the items referred to in sections 161, including the contributions referred to in 33-15-201(5)(b), and 211 of the Internal Revenue Code, 26 U.S.C. 161 and 211, subject to the following exceptions, which are not deductible: +(i) items provided for in 15-30-2133; +(ii) state income tax paid; +(iii) premium payments for medical care as provided in subsection (1)(g)(i); +(iv) long-term care insurance premium payments as provided in subsection (1)(g)(ii); and +(v) a charitable contribution using a charitable gift annuity unless the annuity is a qualified charitable gift annuity as defined in 33-20-701; +(b) federal income tax paid within the tax year, not to exceed $5,000 for each taxpayer filing singly, head of household, or married filing separately or $10,000 if married and filing jointly; +(c) expenses of household and dependent care services as outlined in subsections (1)(c)(i) through (1)(c)(iii) and (2) and subject to the limitations and rules as set out in subsections (1)(c)(iv) through (1)(c)(vi), as follows: +(i) expenses for household and dependent care services necessary for gainful employment incurred for: +(A) a dependent under 15 years of age for whom an exemption can be claimed; +(B) a dependent as allowable under 15-30-2114(5), except that the limitations for age and gross income do not apply, who is unable to provide self-care because of physical or mental illness; and +(C) a spouse who is unable to provide self-care because of physical or mental illness; +(ii) employment-related expenses incurred for the following services, but only if the expenses are incurred to enable the taxpayer to be gainfully employed: +(A) household services that are attributable to the care of the qualifying individual; and +(B) care of an individual who qualifies under subsection (1)(c)(i); +(iii) expenses incurred in maintaining a household if over half of the cost of maintaining the household is furnished by an individual or, if the individual is married during the applicable period, is furnished by the individual and the individual's spouse; +(iv) the amounts deductible in subsections (1)(c)(i) through (1)(c)(iii), subject to the following limitations: +(A) a deduction is allowed under subsection (1)(c)(i) for employment-related expenses incurred during the year only to the extent that the expenses do not exceed $4,800; +(B) expenses for services in the household are deductible under subsection (1)(c)(i) for employment-related expenses only if they are incurred for services in the taxpayer's household, except that employment-related expenses incurred for services outside the taxpayer's household are deductible, but only if incurred for the care of a qualifying individual described in subsection (1)(c)(i)(A) and only to the extent that the expenses incurred during the year do not exceed: +(I) $2,400 in the case of one qualifying individual; +(II) $3,600 in the case of two qualifying individuals; and +(III) $4,800 in the case of three or more qualifying individuals; +(v) if the combined adjusted gross income of the taxpayers exceeds $18,000 for the tax year during which the expenses are incurred, the amount of the employment-related expenses incurred, to be reduced by one-half of the excess of the combined adjusted gross income over $18,000; +(vi) for purposes of this subsection (1)(c): +(A) married couples shall file a joint return or file separately on the same form; +(B) if the taxpayer is married during any period of the tax year, employment-related expenses incurred are deductible only if: +(I) both spouses are gainfully employed, in which case the expenses are deductible only to the extent that they are a direct result of the employment; or +(II) the spouse is a qualifying individual described in subsection (1)(c)(i)(C); +(C) an individual legally separated from the individual's spouse under a decree of divorce or of separate maintenance may not be considered as married; +(D) the deduction for employment-related expenses must be divided equally between the spouses when filing separately on the same form; +(E) payment made to a child of the taxpayer who is under 19 years of age at the close of the tax year and payments made to an individual with respect to whom a deduction is allowable under 15-30-2114(5) are not deductible as employment-related expenses; +(d) in the case of an individual, political contributions determined in accordance with the provisions of section 218(a) and (b) of the Internal Revenue Code of 1954 (now repealed) that were in effect for the tax year that ended December 31, 1978; +(e) that portion of expenses for organic fertilizer and inorganic fertilizer produced as a byproduct allowed as a deduction under 15-32-303 that was not otherwise deducted in computing taxable income; +(f) contributions to the child abuse and neglect prevention program provided for in 52-7-101, subject to the conditions set forth in 15-30-2143; +(g) the entire amount of premium payments made by the taxpayer, except premiums deducted in determining Montana adjusted gross income, or for which a credit was claimed under 15-30-2366, for: +(i) insurance for medical care, as defined in 26 U.S.C. 213(d), for coverage of the taxpayer, the taxpayer's dependents, and the parents and grandparents of the taxpayer; and +(ii) long-term care insurance policies or certificates that provide coverage primarily for any qualified long-term care services, as defined in 26 U.S.C. 7702B(c), for: +(A) the benefit of the taxpayer for tax years beginning after December 31, 1994; or +(B) the benefit of the taxpayer, the taxpayer's dependents, and the parents and grandparents of the taxpayer for tax years beginning after December 31, 1996; +(h) light vehicle registration fees, as provided for in 61-3-321(2) and 61-3-562, paid during the tax year; and +(i) per capita livestock fees imposed pursuant to 15-24-921, 15-24-922, 81-6-104, 81-6-204, 81-6-209, 81-7-118, or 81-7-201. +(2) (a) Subject to the conditions of subsection (1)(c), a taxpayer who operates a family day-care home or a group day-care home, as these terms are defined in 52-2-703, and who cares for the taxpayer's own child and at least one unrelated child in the ordinary course of business may deduct employment-related expenses considered to have been paid for the care of the child. +(b) The amount of employment-related expenses considered to have been paid by the taxpayer is equal to the amount that the taxpayer charges for the care of a child of the same age for the same number of hours of care. The employment-related expenses apply regardless of whether any expenses actually have been paid. Employment-related expenses may not exceed the amounts specified in subsection (1)(c)(iv)(B). +(c) Only a day-care operator who is licensed and registered as required in 52-2-721 is allowed the deduction under this subsection (2). +History: En. Sec. 6, Ch. 181, L. 1933; re-en. Sec. 2295.6, R.C.M. 1935; amd. Sec. 2, Ch. 167, L. 1947; amd. Sec. 2, Ch. 260, L. 1955; amd. Sec; 1, Ch. 102, L. 1977; amd. Sec. 2, Ch. 574, L. 1977; amd. Sec. 5, Ch. 576, L. 1977; R.C.M. 1947, 84-4906; amd. Sec. 1, Ch. 90, L. 1979; amd. Sec. 1, Ch. 129, L. 1979; amd. Sec. 3, Ch. 480, L. 1981; amd. Sec. 4, Ch. 533, L; 1981; amd. Sec. 20, Ch. 614, L. 1981; amd. Sec. 1, Ch. 118, L. 1983; amd. Sec. 10, Ch. 516, L. 1985; amd. Sec. 8, Ch. 610, L. 1985; amd. Sec. 1, Ch. 613, L. 1985; amd. Sec. 1, Ch. 501, L. 1987; amd. Sec. 11, Ch. 611, L. 1987; amd. Sec. 1, Ch. 613, L. 1991; amd. Sec. 2, Ch. 670, L. 1991; amd. Sec. 6, Ch. 808, L. 1991; amd. Sec. 1, Ch. 565, L. 1993; amd. Sec. 1, Ch. 284, L. 1995; amd. Sec. 68, Ch. 42, L. 1997; amd. Sec. 1, Ch. 218, L. 1997; amd. Secs. 1, 2(2), Ch. 383, L. 1997; amd. Sec. 10, Ch. 515, L. 1999; amd. Sec. 102, Ch. 574, L. 2001; amd. Sec. 25, Ch. 114, L. 2003; amd. Sec. 6, Ch. 482, L. 2003; amd. Sec. 45, Ch. 544, L. 2003; amd. Sec. 14, Ch. 542, L. 2005; Sec. 15-30-121, MCA 2007; redes. 15-30-2131 by Sec. 1, Ch. 147, L. 2009. diff --git a/source_conflicts/sources/mt-salt-election/mca-15-30-2131-2021-incorporation.txt b/source_conflicts/sources/mt-salt-election/mca-15-30-2131-2021-incorporation.txt index d68116a00ef..ac9fb55dcfc 100644 --- a/source_conflicts/sources/mt-salt-election/mca-15-30-2131-2021-incorporation.txt +++ b/source_conflicts/sources/mt-salt-election/mca-15-30-2131-2021-incorporation.txt @@ -1,10 +1,54 @@ Source: https://mca.legmt.gov/bills/2022/mca/title_0150/chapter_0300/part_0210/section_0310/0150-0300-0210-0310.html -Extracted the excerpts below from the official archived HTML and decoded HTML entities. Retained subsection labels; omitted other text. +Montana Code Annotated 2021, 15-30-2131, with its history note. Text of the official HTML page: one line per heading or paragraph, tags and scripts removed, HTML entities decoded. -Former MCA 15-30-2131(1)(a), MCA 2021 -the items referred to in sections 161 - -Former MCA 15-30-2131(1)(a)(ii), MCA 2021 -state income tax paid - -Context: Montana taxpayers deduct the incorporated federal itemized expenses, subject to state exceptions. Montana excludes state income taxes from those deductions. +Montana Code Annotated 2021 +TITLE 15. TAXATION +CHAPTER 30. INDIVIDUAL INCOME TAX +Part 21. Rate and General Provisions +Deductions Allowed In Computing Net Income +15-30-2131. (Temporary) Deductions allowed in computing net income. (1) In computing net income, there are allowed as deductions: +(a) the items referred to in sections 161, including the contributions referred to in 33-15-201(5)(b), and 211 of the Internal Revenue Code, 26 U.S.C. 161 and 211, subject to the following exceptions, which are not deductible: +(i) items provided for in 15-30-2133; +(ii) state income tax paid; +(iii) premium payments for medical care as provided in subsection (1)(g)(i); +(iv) long-term care insurance premium payments as provided in subsection (1)(g)(ii); and +(v) a charitable contribution using a charitable gift annuity unless the annuity is a qualified charitable gift annuity as defined in 33-20-701; +(b) federal income tax paid within the tax year, not to exceed $5,000 for each taxpayer filing singly, head of household, or married filing separately or $10,000 if married and filing jointly; +(c) expenses of household and dependent care services as outlined in subsections (1)(c)(i) through (1)(c)(iii) and (2) and subject to the limitations and rules as set out in subsections (1)(c)(iv) through (1)(c)(vi), as follows: +(i) expenses for household and dependent care services necessary for gainful employment incurred for: +(A) a dependent under 15 years of age for whom an exemption can be claimed; +(B) a dependent as allowable under 15-30-2114(5), except that the limitations for age and gross income do not apply, who is unable to provide self-care because of physical or mental illness; and +(C) a spouse who is unable to provide self-care because of physical or mental illness; +(ii) employment-related expenses incurred for the following services, but only if the expenses are incurred to enable the taxpayer to be gainfully employed: +(A) household services that are attributable to the care of the qualifying individual; and +(B) care of an individual who qualifies under subsection (1)(c)(i); +(iii) expenses incurred in maintaining a household if over half of the cost of maintaining the household is furnished by an individual or, if the individual is married during the applicable period, is furnished by the individual and the individual's spouse; +(iv) the amounts deductible in subsections (1)(c)(i) through (1)(c)(iii), subject to the following limitations: +(A) a deduction is allowed under subsection (1)(c)(i) for employment-related expenses incurred during the year only to the extent that the expenses do not exceed $4,800; +(B) expenses for services in the household are deductible under subsection (1)(c)(i) for employment-related expenses only if they are incurred for services in the taxpayer's household, except that employment-related expenses incurred for services outside the taxpayer's household are deductible, but only if incurred for the care of a qualifying individual described in subsection (1)(c)(i)(A) and only to the extent that the expenses incurred during the year do not exceed: +(I) $2,400 in the case of one qualifying individual; +(II) $3,600 in the case of two qualifying individuals; and +(III) $4,800 in the case of three or more qualifying individuals; +(v) if the combined adjusted gross income of the taxpayers exceeds $18,000 for the tax year during which the expenses are incurred, the amount of the employment-related expenses incurred, to be reduced by one-half of the excess of the combined adjusted gross income over $18,000; +(vi) for purposes of this subsection (1)(c): +(A) married couples shall file a joint return or file separately on the same form; +(B) if the taxpayer is married during any period of the tax year, employment-related expenses incurred are deductible only if: +(I) both spouses are gainfully employed, in which case the expenses are deductible only to the extent that they are a direct result of the employment; or +(II) the spouse is a qualifying individual described in subsection (1)(c)(i)(C); +(C) an individual legally separated from the individual's spouse under a decree of divorce or of separate maintenance may not be considered as married; +(D) the deduction for employment-related expenses must be divided equally between the spouses when filing separately on the same form; +(E) payment made to a child of the taxpayer who is under 19 years of age at the close of the tax year and payments made to an individual with respect to whom a deduction is allowable under 15-30-2114(5) are not deductible as employment-related expenses; +(d) in the case of an individual, political contributions determined in accordance with the provisions of section 218(a) and (b) of the Internal Revenue Code of 1954 (now repealed) that were in effect for the tax year that ended December 31, 1978; +(e) that portion of expenses for organic fertilizer and inorganic fertilizer produced as a byproduct allowed as a deduction under 15-32-303 that was not otherwise deducted in computing taxable income; +(f) contributions to the child abuse and neglect prevention program provided for in 52-7-101, subject to the conditions set forth in 15-30-2143; +(g) the entire amount of premium payments made by the taxpayer, except premiums deducted in determining Montana adjusted gross income, [or for which a credit was claimed under 15-30-2366,] for: +(i) insurance for medical care, as defined in 26 U.S.C. 213(d), for coverage of the taxpayer, the taxpayer's dependents, and the parents and grandparents of the taxpayer; and +(ii) long-term care insurance policies or certificates that provide coverage primarily for any qualified long-term care services, as defined in 26 U.S.C. 7702B(c), for: +(A) the benefit of the taxpayer for tax years beginning after December 31, 1994; or +(B) the benefit of the taxpayer, the taxpayer's dependents, and the parents and grandparents of the taxpayer for tax years beginning after December 31, 1996; +(h) light vehicle registration fees, as provided for in 61-3-321(2) and 61-3-562, paid during the tax year; and +(i) per capita livestock fees imposed pursuant to 15-24-921, 15-24-922, 81-6-104, 81-6-204, 81-6-209, 81-7-118, or 81-7-201. +(2) (a) Subject to the conditions of subsection (1)(c), a taxpayer who operates a family day-care home or a group day-care home, as these terms are defined in 52-2-703, and who cares for the taxpayer's own child and at least one unrelated child in the ordinary course of business may deduct employment-related expenses considered to have been paid for the care of the child. +(b) The amount of employment-related expenses considered to have been paid by the taxpayer is equal to the amount that the taxpayer charges for the care of a child of the same age for the same number of hours of care. The employment-related expenses apply regardless of whether any expenses actually have been paid. Employment-related expenses may not exceed the amounts specified in subsection (1)(c)(iv)(B). +(c) Only a day-care operator who is licensed and registered as required in 52-2-721 is allowed the deduction under this subsection (2). (Repealed effective January 1, 2024--secs. 65, 70(1), Ch. 503, L. 2021.) +History: En. Sec. 6, Ch. 181, L. 1933; re-en. Sec. 2295.6, R.C.M. 1935; amd. Sec. 2, Ch. 167, L. 1947; amd. Sec. 2, Ch. 260, L. 1955; amd. Sec; 1, Ch. 102, L. 1977; amd. Sec. 2, Ch. 574, L. 1977; amd. Sec. 5, Ch. 576, L. 1977; R.C.M. 1947, 84-4906; amd. Sec. 1, Ch. 90, L. 1979; amd. Sec. 1, Ch. 129, L. 1979; amd. Sec. 3, Ch. 480, L. 1981; amd. Sec. 4, Ch. 533, L; 1981; amd. Sec. 20, Ch. 614, L. 1981; amd. Sec. 1, Ch. 118, L. 1983; amd. Sec. 10, Ch. 516, L. 1985; amd. Sec. 8, Ch. 610, L. 1985; amd. Sec. 1, Ch. 613, L. 1985; amd. Sec. 1, Ch. 501, L. 1987; amd. Sec. 11, Ch. 611, L. 1987; amd. Sec. 1, Ch. 613, L. 1991; amd. Sec. 2, Ch. 670, L. 1991; amd. Sec. 6, Ch. 808, L. 1991; amd. Sec. 1, Ch. 565, L. 1993; amd. Sec. 1, Ch. 284, L. 1995; amd. Sec. 68, Ch. 42, L. 1997; amd. Sec. 1, Ch. 218, L. 1997; amd. Secs. 1, 2(2), Ch. 383, L. 1997; amd. Sec. 10, Ch. 515, L. 1999; amd. Sec. 102, Ch. 574, L. 2001; amd. Sec. 25, Ch. 114, L. 2003; amd. Sec. 6, Ch. 482, L. 2003; amd. Sec. 45, Ch. 544, L. 2003; amd. Sec. 14, Ch. 542, L. 2005; Sec. 15-30-121, MCA 2007; redes. 15-30-2131 by Sec. 1, Ch. 147, L. 2009. diff --git a/source_conflicts/sources/mt-salt-election/usc-26-164-2017.txt b/source_conflicts/sources/mt-salt-election/usc-26-164-2017.txt new file mode 100644 index 00000000000..12a8610d47c --- /dev/null +++ b/source_conflicts/sources/mt-salt-election/usc-26-164-2017.txt @@ -0,0 +1,209 @@ +Source: https://www.govinfo.gov/content/pkg/USCODE-2017-title26/html/USCODE-2017-title26-subtitleA-chap1-subchapB-partVI-sec164.htm +United States Code, 2017 edition, 26 USC 164, with its notes. Text of the official HTML page: one line per heading or paragraph, tags and scripts removed, HTML entities decoded. + +26 U.S.C. +United States Code, 2017 Edition +Title 26 - INTERNAL REVENUE CODE +Subtitle A - Income Taxes +CHAPTER 1 - NORMAL TAXES AND SURTAXES +Subchapter B - Computation of Taxable Income +PART VI - ITEMIZED DEDUCTIONS FOR INDIVIDUALS AND CORPORATIONS +Sec. 164 - Taxes +From the U.S. Government Publishing Office, www.gpo.gov +§164. Taxes +(a) General rule +Except as otherwise provided in this section, the following taxes shall be allowed as a deduction for the taxable year within which paid or accrued: +(1) State and local, and foreign, real property taxes. +(2) State and local personal property taxes. +(3) State and local, and foreign, income, war profits, and excess profits taxes. +(4) The GST tax imposed on income distributions. +In addition, there shall be allowed as a deduction State and local, and foreign, taxes not described in the preceding sentence which are paid or accrued within the taxable year in carrying on a trade or business or an activity described in section 212 (relating to expenses for production of income). Notwithstanding the preceding sentence, any tax (not described in the first sentence of this subsection) which is paid or accrued by the taxpayer in connection with an acquisition or disposition of property shall be treated as part of the cost of the acquired property or, in the case of a disposition, as a reduction in the amount realized on the disposition. +(b) Definitions and special rules +For purposes of this section— +(1) Personal property taxes +The term "personal property tax" means an ad valorem tax which is imposed on an annual basis in respect of personal property. +(2) State or local taxes +A State or local tax includes only a tax imposed by a State, a possession of the United States, or a political subdivision of any of the foregoing, or by the District of Columbia. +(3) Foreign taxes +A foreign tax includes only a tax imposed by the authority of a foreign country. +(4) Special rules for GST tax +(A) In general +The GST tax imposed on income distributions is— +(i) the tax imposed by section 2601, and +(ii) any State tax described in section 2604 (as in effect before its repeal), +but only to the extent such tax is imposed on a transfer which is included in the gross income of the distributee and to which section 666 does not apply. +(B) Special rule for tax paid before due date +Any tax referred to in subparagraph (A) imposed with respect to a transfer occurring during the taxable year of the distributee (or, in the case of a taxable termination, the trust) which is paid not later than the time prescribed by law (including extensions) for filing the return with respect to such transfer shall be treated as having been paid on the last day of the taxable year in which the transfer was made. +(5) General sales taxes +For purposes of subsection (a)— +(A) Election to deduct State and local sales taxes in lieu of State and local income taxes +At the election of the taxpayer for the taxable year, subsection (a) shall be applied— +(i) without regard to the reference to State and local income taxes, and +(ii) as if State and local general sales taxes were referred to in a paragraph thereof. +(B) Definition of general sales tax +The term "general sales tax" means a tax imposed at one rate with respect to the sale at retail of a broad range of classes of items. +(C) Special rules for food, etc. +In the case of items of food, clothing, medical supplies, and motor vehicles— +(i) the fact that the tax does not apply with respect to some or all of such items shall not be taken into account in determining whether the tax applies with respect to a broad range of classes of items, and +(ii) the fact that the rate of tax applicable with respect to some or all of such items is lower than the general rate of tax shall not be taken into account in determining whether the tax is imposed at one rate. +(D) Items taxed at different rates +Except in the case of a lower rate of tax applicable with respect to an item described in subparagraph (C), no deduction shall be allowed under this paragraph for any general sales tax imposed with respect to an item at a rate other than the general rate of tax. +(E) Compensating use taxes +A compensating use tax with respect to an item shall be treated as a general sales tax. For purposes of the preceding sentence, the term "compensating use tax" means, with respect to any item, a tax which— +(i) is imposed on the use, storage, or consumption of such item, and +(ii) is complementary to a general sales tax, but only if a deduction is allowable under this paragraph with respect to items sold at retail in the taxing jurisdiction which are similar to such item. +(F) Special rule for motor vehicles +In the case of motor vehicles, if the rate of tax exceeds the general rate, such excess shall be disregarded and the general rate shall be treated as the rate of tax. +(G) Separately stated general sales taxes +If the amount of any general sales tax is separately stated, then, to the extent that the amount so stated is paid by the consumer (other than in connection with the consumer's trade or business) to the seller, such amount shall be treated as a tax imposed on, and paid by, such consumer. +(H) Amount of deduction may be determined under tables +(i) In general +At the election of the taxpayer for the taxable year, the amount of the deduction allowed under this paragraph for such year shall be— +(I) the amount determined under this paragraph (without regard to this subparagraph) with respect to motor vehicles, boats, and other items specified by the Secretary, and +(II) the amount determined under tables prescribed by the Secretary with respect to items to which subclause (I) does not apply. +(ii) Requirements for tables +The tables prescribed under clause (i)— +(I) shall reflect the provisions of this paragraph, +(II) shall be based on the average consumption by taxpayers on a State-by-State basis (as determined by the Secretary) of items to which clause (i)(I) does not apply, taking into account filing status, number of dependents, adjusted gross income, and rates of State and local general sales taxation, and +(III) need only be determined with respect to adjusted gross incomes up to the applicable amount (as determined under section 68(b)). +(6) Limitation on individual deductions for taxable years 2018 through 2025 +In the case of an individual and a taxable year beginning after December 31, 2017, and before January 1, 2026— +(A) foreign real property taxes shall not be taken into account under subsection (a)(1), and +(B) the aggregate amount of taxes taken into account under paragraphs (1), (2), and (3) of subsection (a) and paragraph (5) of this subsection for any taxable year shall not exceed $10,000 ($5,000 in the case of a married individual filing a separate return). +The preceding sentence shall not apply to any foreign taxes described in subsection (a)(3) or to any taxes described in paragraph (1) and (2) of subsection (a) which are paid or accrued in carrying on a trade or business or an activity described in section 212. For purposes of subparagraph (B), an amount paid in a taxable year beginning before January 1, 2018, with respect to a State or local income tax imposed for a taxable year beginning after December 31, 2017, shall be treated as paid on the last day of the taxable year for which such tax is so imposed. +(c) Deduction denied in case of certain taxes +No deduction shall be allowed for the following taxes: +(1) Taxes assessed against local benefits of a kind tending to increase the value of the property assessed; but this paragraph shall not prevent the deduction of so much of such taxes as is properly allocable to maintenance or interest charges. +(2) Taxes on real property, to the extent that subsection (d) requires such taxes to be treated as imposed on another taxpayer. +(d) Apportionment of taxes on real property between seller and purchaser +(1) General rule +For purposes of subsection (a), if real property is sold during any real property tax year, then— +(A) so much of the real property tax as is properly allocable to that part of such year which ends on the day before the date of the sale shall be treated as a tax imposed on the seller, and +(B) so much of such tax as is properly allocable to that part of such year which begins on the date of the sale shall be treated as a tax imposed on the purchaser. +(2) Special rules +(A) In the case of any sale of real property, if— +(i) a taxpayer may not, by reason of his method of accounting, deduct any amount for taxes unless paid, and +(ii) the other party to the sale is (under the law imposing the real property tax) liable for the real property tax for the real property tax year, +then for purposes of subsection (a) the taxpayer shall be treated as having paid, on the date of the sale, so much of such tax as, under paragraph (1) of this subsection, is treated as imposed on the taxpayer. For purposes of the preceding sentence, if neither party is liable for the tax, then the party holding the property at the time the tax becomes a lien on the property shall be considered liable for the real property tax for the real property tax year. +(B) In the case of any sale of real property, if the taxpayer's taxable income for the taxable year during which the sale occurs is computed under an accrual method of accounting, and if no election under section 461(c) (relating to the accrual of real property taxes) applies, then, for purposes of subsection (a), that portion of such tax which— +(i) is treated, under paragraph (1) of this subsection, as imposed on the taxpayer, and +(ii) may not, by reason of the taxpayer's method of accounting, be deducted by the taxpayer for any taxable year, +shall be treated as having accrued on the date of the sale. +(e) Taxes of shareholder paid by corporation +Where a corporation pays a tax imposed on a shareholder on his interest as a shareholder, and where the shareholder does not reimburse the corporation, then— +(1) the deduction allowed by subsection (a) shall be allowed to the corporation; and +(2) no deduction shall be allowed the shareholder for such tax. +(f) Deduction for one-half of self-employment taxes +(1) In general +In the case of an individual, in addition to the taxes described in subsection (a), there shall be allowed as a deduction for the taxable year an amount equal to one-half of the taxes imposed by section 1401 (other than the taxes imposed by section 1401(b)(2)) for such taxable year. +(2) Deduction treated as attributable to trade or business +For purposes of this chapter, the deduction allowed by paragraph (1) shall be treated as attributable to a trade or business carried on by the taxpayer which does not consist of the performance of services by the taxpayer as an employee. +(g) Cross references +(1) For provisions disallowing any deduction for certain taxes, see section 275. +(2) For treatment of taxes imposed by Indian tribal governments (or their subdivisions), see section 7871. +(Aug. 16, 1954, ch. 736, 68A Stat. 47; Pub. L. 85–866, title I, §6(a), Sept. 2, 1958, 72 Stat. 1608; Pub. L. 88–272, title II, §207(a), (b)(1), (2), Feb. 26, 1964, 78 Stat. 40–42; Pub. L. 92–580, §4(a), Oct. 27, 1972, 86 Stat. 1277; Pub. L. 94–455, title XIX, §§1901(a)(25), 1951(b)(3)(A), Oct. 4, 1976, 90 Stat. 1767, 1837; Pub. L. 95–600, title I, §111(a), (b), Nov. 6, 1978, 92 Stat. 2777; Pub. L. 96–223, title I, §101(b), Apr. 2, 1980, 94 Stat. 250; Pub. L. 97–473, title II, §202(b)(3), Jan. 14, 1983, 96 Stat. 2609; Pub. L. 98–21, title I, §124(c)(1), Apr. 20, 1983, 97 Stat. 90; Pub. L. 98–369, div. A, title IV, §474(r)(29)(F), July 18, 1984, 98 Stat. 844; Pub. L. 99–499, title V, §516(b)(2)(A), Oct. 17, 1986, 100 Stat. 1771; Pub. L. 99–514, title I, §134, title XIV, §1432(a)(1), (2), Oct. 22, 1986, 100 Stat. 2116, 2729; Pub. L. 100–418, title I, §1941(b)(2)(A), Aug. 23, 1988, 102 Stat. 1323; Pub. L. 100–647, title I, §1018(u)(11), Nov. 10, 1988, 102 Stat. 3590; Pub. L. 104–188, title I, §1704(t)(79), Aug. 20, 1996, 110 Stat. 1891; Pub. L. 108–357, title V, §501(a), Oct. 22, 2004, 118 Stat. 1520; Pub. L. 109–135, title IV, §403(r)(1), Dec. 21, 2005, 119 Stat. 2628; Pub. L. 109–432, div. A, title I, §103(a), Dec. 20, 2006, 120 Stat. 2934; Pub. L. 110–343, div. C, title II, §201(a), Oct. 3, 2008, 122 Stat. 3864; Pub. L. 111–5, div. B, title I, §1008(a), (b), Feb. 17, 2009, 123 Stat. 317; Pub. L. 111–148, title IX, §9015(b)(2)(A), Mar. 23, 2010, 124 Stat. 871; Pub. L. 111–312, title VII, §722(a), Dec. 17, 2010, 124 Stat. 3316; Pub. L. 112–240, title II, §205(a), Jan. 2, 2013, 126 Stat. 2323; Pub. L. 113–295, div. A, title I, §105(a), title II, §§209(c), 221(a)(12)(D), (26), (95)(B)(ii), Dec. 19, 2014, 128 Stat. 4013, 4028, 4038, 4040, 4051; Pub. L. 114–113, div. Q, title I, §106(a), Dec. 18, 2015, 129 Stat. 3046; Pub. L. 115–97, title I, §11042(a), Dec. 22, 2017, 131 Stat. 2085.) +References in Text +Section 2604, referred to in subsec. (b)(4)(A)(ii), was repealed by Pub. L. 113–295, div. A, title II, §221(a)(95)(B)(i), Dec. 19, 2014, 128 Stat. 4051, effective Dec. 19, 2014. +Amendments +2017—Subsec. (b)(6). Pub. L. 115–97 added par. (6). +2015—Subsec. (b)(5)(I). Pub. L. 114–113 struck out subpar. (I). Text read as follows: "This paragraph shall apply to taxable years beginning after December 31, 2003, and before January 1, 2015." +2014—Subsec. (a)(5). Pub. L. 113–295, §221(a)(12)(D), struck out par. (5) which read as follows: "The environmental tax imposed by section 59A." +Subsec. (a)(6). Pub. L. 113–295, §221(a)(26), struck out par. (6) which read as follows: "Qualified motor vehicle taxes." +Subsec. (b)(4)(A)(ii). Pub. L. 113–295, §221(a)(95)(B)(ii), inserted "(as in effect before its repeal)" after "section 2604". +Subsec. (b)(5)(I). Pub. L. 113–295, §105(a), substituted "January 1, 2015" for "January 1, 2014". +Subsec. (b)(6). Pub. L. 113–295, §221(a)(26), struck out par. (6) which related to qualified motor vehicle taxes. +Subsec. (b)(6)(E) to (G). Pub. L. 113–295, §209(c), redesignated subpars. (F) and (G) as (E) and (F), respectively, substituted "Subsection (a)(6)" for "This paragraph" in subpars. (E) and (F), and struck out former subpar. (E). Prior to amendment, text of former subpar. (E) read as follows: "The last sentence of subsection (a) shall not apply to any qualified motor vehicle taxes." +2013—Subsec. (b)(5)(I). Pub. L. 112–240 substituted "January 1, 2014" for "January 1, 2012". +2010—Subsec. (b)(5)(I). Pub. L. 111–312 substituted "January 1, 2012" for "January 1, 2010". +Subsec. (f)(1). Pub. L. 111–148, which directed the insertion of "(other than the taxes imposed by section 1401(b)(2))" after "section 1401)" in subsec. (f), was executed by making the insertion after "section 1401" in subsec. (f)(1), to reflect the probable intent of Congress. +2009—Subsec. (a)(6). Pub. L. 111–5, §1008(a), added par. (6). +Subsec. (b)(6). Pub. L. 111–5, §1008(b), added par. (6). +2008—Subsec. (b)(5)(I). Pub. L. 110–343 substituted "January 1, 2010" for "January 1, 2008". +2006—Subsec. (b)(5)(I). Pub. L. 109–432 substituted "2008" for "2006". +2005—Subsec. (b)(5)(A). Pub. L. 109–135 reenacted heading without change and amended text generally. Prior to amendment, text read as follows: +"(i) In general.—At the election of the taxpayer for the taxable year, subsection (a) shall be applied— +"(I) without regard to the reference to State and local income taxes, and +"(II) as if State and local general sales taxes were referred to in a paragraph thereof." +2004—Subsec. (b)(5). Pub. L. 108–357 added par. (5). +1996—Subsec. (a)(4), (5). Pub. L. 104–188 added pars. (4) and (5) and struck out former pars. (4) and (5) which read as follows: +"(4) The environmental tax imposed by section 59A. +"(5) The GST tax imposed on income distributions." +1988—Subsec. (a)(4). Pub. L. 100–418 struck out par. (4) relating to windfall profit tax imposed by section 4986 and redesignated par. (5) relating to environmental tax as (4). +Subsec. (a)(5). Pub. L. 100–647 substituted "The GST" for "the GST". +Pub. L. 100–418 redesignated par. (5), relating to environmental tax, as (4). +1986—Subsec. (a). Pub. L. 99–514, §134(a)(2), inserted "Notwithstanding the preceding sentence, any tax (not described in the first sentence of this subsection) which is paid or accrued by the taxpayer in connection with an acquisition or disposition of property shall be treated as part of the cost of the acquired property or, in the case of a disposition, as a reduction in the amount realized on the disposition." +Subsec. (a)(4). Pub. L. 99–514, §134(a)(1), struck out par. (4) relating to "State and local general sales taxes" and redesignated as par. (4) former par. (5) relating to windfall profit tax. +Subsec. (a)(5). Pub. L. 99–514, §1432(a)(1), added par. (5) relating to GST tax imposed on income distributions. +Pub. L. 99–499 added par. (5) relating to environmental tax. +Subsec. (b)(2). Pub. L. 99–514, §134(b)(1), (2), redesignated par. (3) as (2) and struck out former par. (2), general sales taxes provisions, subpars. (A) to (E) of which covered in general rule, special rules for food, etc., items taxed at different rates, compensating use taxes, and special rules for motor vehicles, respectively. +Subsec. (b)(3). Pub. L. 99–514, §134(b)(2), redesignated par. (4) as (3). Former par. (3) redesignated (2). +Subsec. (b)(4). Pub. L. 99–514, §1432(a)(2), added par. (4). +Pub. L. 99–514, §134(b)(2), redesignated par. (4) as (3). +Subsec. (b)(5). Pub. L. 99–514, §134(b)(1), struck out par. (5), separately stated general sales taxes, which read as follows: "If the amount of any general sales tax is separately stated, then, to the extent that the amount so stated is paid by the consumer (otherwise than in connection with the consumer's trade or business) to his seller, such amount shall be treated as a tax imposed on, and paid by, such consumer." +1984—Subsec. (f). Pub. L. 98–369 redesignated pars. (2) and (3) as pars. (1) and (2), respectively. Former par. (1), which referred to section 1451 for provisions disallowing any deduction for the payment of the tax imposed by subchapter B of chapter 3 (relating to tax-free covenant bonds), was struck out. +1983—Subsec. (f). Pub. L. 98–21 added subsec. (f). Former subsec. (f) redesignated (g). +Subsec. (f)(3). Pub. L. 97–473 added par. (3). +Subsec. (g). Pub. L. 98–21 redesignated subsec. (f) as (g). +1980—Subsec. (a)(5). Pub. L. 96–223 added par. (5). +1978—Subsec. (a)(5). Pub. L. 95–600, §111(a), struck out par. (5) relating to a deduction for State and local taxes on the sale of gasoline, diesel fuel, and other motor fuels. +Subsec. (b)(5). Pub. L. 95–600, §111(b), struck out in heading "and gasoline taxes" after "sales taxes", and in text "or of any tax on the sale of gasoline, diesel fuel, or other motor fuel" after "sales tax". +1976—Subsec. (d)(2). Pub. L. 94–455, §1901(a)(25), redesignated subpar. (D) as (B), and struck out subpar. (B) which related to the taxable years that subsec. (d)(1) applied and subpar. (C) which related to the limitations on subsec. (d)(1) where real property tax was allowable as a deduction under the Internal Revenue Code of 1939. +Subsecs. (f), (g). Pub. L. 94–455, §1951(b)(3)(A), redesignated subsec. (g) as (f). Former subsec. (f), which related to payments for municipal services in atomic energy communities, was struck out. +1972—Subsec. (b)(2)(E). Pub. L. 92–580 added subpar. (E). +1964—Subsec. (a). Pub. L. 88–272, §207(a), limited the subsection to State, local and foreign real property, income, war profits, excess profits, and unspecified taxes, on a business or activity described in section 212, and to State and local personal property, general sales, gasoline, diesel fuel and other motor fuel taxes. +Subsec. (b). Pub. L. 88–272, §207(a), added subsec. (b). Former subsec. (b), which denied the deduction for certain Federal income taxes, for Federal war profits and excess profits taxes, import duties, excise and stamp taxes, and estate, inheritance, legacy, succession and gift taxes, local assessments against benefits increasing property values, and certain taxes imposed by any foreign country or possession of the United States if the taxpayer chose to benefit by section 901 relating to foreign tax credit, and for taxes on real property to the extent that they are treated as imposed on another taxpayer, was struck out. +Subsec. (c). Pub. L. 88–272, §207(a), substituted provisions denying the deduction for taxes assessed against local benefits which increase property value, except for so much as is properly allocable to maintenance or interest charges, and for real property taxes to the extent they are treated as imposed on another taxpayer, for provisions relating to certain retail sales taxes and gasoline taxes, the extent to which they were deductible, and to definition of "state or local sales tax". +Subsec. (f). Pub. L. 88–272, §207(b)(1), inserted "State" before "real property taxes". +Subsec. (g). Pub. L. 88–272, §207(b)(2), designated existing provisions as par. (1), substituted "1451" for "1451(f)" and added par. (2). +1958—Subsecs. (f), (g). Pub. L. 85–866, §6(a), added subsec. (f) and redesignated former subsec. (f) as (g). +Effective Date of 2017 Amendment +Pub. L. 115–97, title I, §11042(b), Dec. 22, 2017, 131 Stat. 2086, provided that: "The amendment made by this section [amending this section] shall apply to taxable years beginning after December 31, 2016." +Effective Date of 2015 Amendment +Pub. L. 114–113, div. Q, title I, §106(b), Dec. 18, 2015, 129 Stat. 3046, provided that: "The amendment made by this section [amending this section] shall apply to taxable years beginning after December 31, 2014." +Effective Date of 2014 Amendment +Pub. L. 113–295, div. A, title I, §105(b), Dec. 19, 2014, 128 Stat. 4013, provided that: "The amendment made by this section [amending this section] shall apply to taxable years beginning after December 31, 2013." +Amendment by section 209(c) of Pub. L. 113–295 effective as if included in the provisions of the American Recovery and Reinvestment Tax Act of 2009, Pub. L. 111–5, div. B, title I, to which such amendment relates, see section 209(k) of Pub. L. 113–295, set out as a note under section 24 of this title. +Amendment by section 221(a)(12)(D), (26), (95)(B)(ii) of Pub. L. 113–295 effective Dec. 19, 2014, subject to a savings provision, see section 221(b) of Pub. L. 113–295, set out as a note under section 1 of this title. +Effective Date of 2013 Amendment +Pub. L. 112–240, title II, §205(b), Jan. 2, 2013, 126 Stat. 2323, provided that: "The amendment made by this section [amending this section] shall apply to taxable years beginning after December 31, 2011." +Effective Date of 2010 Amendment +Pub. L. 111–312, title VII, §722(b), Dec. 17, 2010, 124 Stat. 3316, provided that: "The amendment made by this section [amending this section] shall apply to taxable years beginning after December 31, 2009." +Pub. L. 111–148, title IX, §9015(c), Mar. 23, 2010, 124 Stat. 872, provided that: "The amendments made by this section [amending this section and sections 1401, 1402, 3101, and 3102 of this title] shall apply with respect to remuneration received, and taxable years beginning, after December 31, 2012." +Effective Date of 2009 Amendment +Amendment by Pub. L. 111–5 applicable to purchases on or after Feb. 17, 2009, in taxable years ending after such date, see section 1008(e) of Pub. L. 111–5, set out as a note under section 56 of this title. +Effective Date of 2008 Amendment +Pub. L. 110–343, div. C, title II, §201(b), Oct. 3, 2008, 122 Stat. 3864, provided that: "The amendment made by this section [amending this section] shall apply to taxable years beginning after December 31, 2007." +Effective Date of 2006 Amendment +Pub. L. 109–432, div. A, title I, §103(b), Dec. 20, 2006, 120 Stat. 2934, provided that: "The amendments made by this section [amending this section] shall apply to taxable years beginning after December 31, 2005." +Effective Date of 2005 Amendment +Amendment by Pub. L. 109–135 effective as if included in the provision of the American Jobs Creation Act of 2004, Pub. L. 108–357, to which such amendment relates, see section 403(nn) of Pub. L. 109–135, set out as a note under section 26 of this title. +Effective Date of 2004 Amendment +Pub. L. 108–357, title V, §501(b), Oct. 22, 2004, 118 Stat. 1521, provided that: "The amendments made by this section [amending this section] shall apply to taxable years beginning after December 31, 2003." +Effective Date of 1988 Amendment +Amendment by Pub. L. 100–647 effective, except as otherwise provided, as if included in the provision of the Tax Reform Act of 1986, Pub. L. 99–514, to which such amendment relates, see section 1019(a) of Pub. L. 100–647, set out as a note under section 1 of this title. +Pub. L. 100–418, title I, §1941(c), Aug. 23, 1988, 102 Stat. 1324, provided that: "The amendments made by this section [amending this section and sections 193, 291, 6161, 6211, 6212, 6213, 6214, 6302, 6344, 6501, 6511, 6512, 6611, 6654, 6655, 6724, 6862, 7422, and 7512 of this title, and repealing sections 280D, 4986 to 4998, 6050C, 6076, 6232, 6429, 6430, and 7241 of this title] shall apply to crude oil removed from the premises on or after the date of the enactment of this Act [Aug. 23, 1988]." +Effective Date of 1986 Amendment +Amendment by section 134 of Pub. L. 99–514 applicable to taxable years beginning after Dec. 31, 1986, see section 151(a) of Pub. L. 99–514, set out as a note under section 1 of this title. +Amendment by section 1432(a)(1), (2) of Pub. L. 99–514 applicable to generation-skipping transfers (within the meaning of section 2611 of this title) made after Oct. 22, 1986, except as otherwise provided, see section 1433 of Pub. L. 99–514, set out as an Effective Date note under section 2601 of this title. +Amendment by Pub. L. 99–499 applicable to taxable years beginning after Dec. 31, 1986, see section 516(c) of Pub. L. 99–499, set out as a note under section 26 of this title. +Effective Date of 1984 Amendment +Amendment by Pub. L. 98–369 not applicable with respect to obligations issued before Jan. 1, 1984, see section 475(b) of Pub. L. 98–369, set out as a note under section 33 of this title. +Effective Date of 1983 Amendment +Amendment by Pub. L. 98–21 applicable to taxable years beginning after Dec. 31, 1989, see section 124(d)(2) of Pub. L. 98–21, set out as a note under section 1401 of this title. +For effective date of amendment by Pub. L. 97–473, see section 204(1) of Pub. L. 97–473, set out as an Effective Date note under section 7871 of this title. +Effective Date of 1980 Amendment +Amendment by Pub. L. 96–223 applicable to periods after Feb. 29, 1980, see section 101(i) of Pub. L. 96–223, set out as an Effective Date note under section 6161 of this title. +Effective Date of 1978 Amendment +Pub. L. 95–600, title I, §111(c), Nov. 6, 1978, 92 Stat. 2777, provided that: "The amendments made by this section [amending this section] shall apply to taxable years beginning after December 31, 1978." +Effective Date of 1976 Amendment +Amendment by Pub. L. 94–455 applicable with respect to taxable years beginning after Dec. 31, 1976, see sections 1901(d) and 1951(d) of Pub. L. 94–455, set out as notes under sections 2 and 72 of this title, respectively. +Effective Date of 1972 Amendment +Pub. L. 92–580, §4(b), Oct. 27, 1972, 86 Stat. 1277, provided that: "The amendment made by subsection (a) [amending this section] shall apply to taxable years ending on or after January 1, 1971." +Effective Date of 1964 Amendment +Pub. L. 88–272, title II, §207(c), Feb. 26, 1964, 78 Stat. 43, as amended by Pub. L. 99–514, §2, Oct. 22, 1986, 100 Stat. 2095, provided that: +"(1) General rule.—Except as provided in paragraph (2), the amendments made by this section [enacting section 275 of this title and amending this section and sections 535, 545, 556, 901, and 903 of this title] shall apply to taxable years beginning after December 31, 1963. +"(2) Special taxing districts.—Section 164(c)(1) of the Internal Revenue Code of 1986 [formerly I.R.C. 1954] (as amended by subsection (a)) shall not prevent the deduction under section 164 of such Code (as so amended) of taxes levied by a special taxing district which is described in section 164(b)(5) of such Code (as in effect for a taxable year ending on December 31, 1963) and which was in existence on December 31, 1963, for the purpose of retiring indebtedness existing on such date." +Effective Date of 1958 Amendment +Pub. L. 85–866, §6(b), Sept. 2, 1958, 72 Stat. 1608, provided that: "The amendments made by subsection (a) [amending this section] shall apply with respect to taxable years beginning after December 31, 1957." +Savings Provision +Pub. L. 94–455, title XIX, §1951(b)(3)(B), Oct. 4, 1976, 90 Stat. 1837, provided that: "Notwithstanding subparagraph (A) [amending this section], any amount paid or accrued in a taxable year beginning after December 31, 1976, to the Atomic Energy Commission or its successors for municipal-type services shall be allowed as a deduction under section 164 if such amount would have been deductible by reason of section 164(f) (as in effect for a taxable year ending on December 31, 1976) and if the amount is paid or accrued with respect to real property in a community (within the meaning of section 21(b) of the Atomic Energy Community Act of 1955 (42 U.S.C. 2304(b))) in which the Commission on December 31, 1976, was rendering municipal-type services for which it received compensation from the owners of property within such community." diff --git a/source_conflicts/sources/mt-salt-election/usc-26-164-2023-election-cap.txt b/source_conflicts/sources/mt-salt-election/usc-26-164-2023-election-cap.txt index b6f1c738f0c..5d85dd6ae10 100644 --- a/source_conflicts/sources/mt-salt-election/usc-26-164-2023-election-cap.txt +++ b/source_conflicts/sources/mt-salt-election/usc-26-164-2023-election-cap.txt @@ -1,10 +1,216 @@ Source: https://www.govinfo.gov/content/pkg/USCODE-2023-title26/html/USCODE-2023-title26-subtitleA-chap1-subchapB-partVI-sec164.htm -Extracted the excerpts below from the official HTML and decoded HTML entities. Retained section labels; omitted other text. +United States Code, 2023 edition, 26 USC 164, with its notes. Text of the official HTML page: one line per heading or paragraph, tags and scripts removed, HTML entities decoded. -26 USC 164(b)(5)(A)(i), 2023 edition -without regard to the reference to State and local income taxes - -26 USC 164(b)(6)(B), 2023 edition -$10,000 ($5,000 in the case of a married individual filing a separate return) - -Context: A taxpayer who elects general sales taxes excludes state and local income taxes. Congress capped the combined eligible taxes and reduced the cap for a married taxpayer filing separately. +26 U.S.C. +United States Code, 2023 Edition +Title 26 - INTERNAL REVENUE CODE +Subtitle A - Income Taxes +CHAPTER 1 - NORMAL TAXES AND SURTAXES +Subchapter B - Computation of Taxable Income +PART VI - ITEMIZED DEDUCTIONS FOR INDIVIDUALS AND CORPORATIONS +Sec. 164 - Taxes +From the U.S. Government Publishing Office, www.gpo.gov +§164. Taxes +(a) General rule +Except as otherwise provided in this section, the following taxes shall be allowed as a deduction for the taxable year within which paid or accrued: +(1) State and local, and foreign, real property taxes. +(2) State and local personal property taxes. +(3) State and local, and foreign, income, war profits, and excess profits taxes. +(4) The GST tax imposed on income distributions. +In addition, there shall be allowed as a deduction State and local, and foreign, taxes not described in the preceding sentence which are paid or accrued within the taxable year in carrying on a trade or business or an activity described in section 212 (relating to expenses for production of income). Notwithstanding the preceding sentence, any tax (not described in the first sentence of this subsection) which is paid or accrued by the taxpayer in connection with an acquisition or disposition of property shall be treated as part of the cost of the acquired property or, in the case of a disposition, as a reduction in the amount realized on the disposition. +(b) Definitions and special rules +For purposes of this section— +(1) Personal property taxes +The term "personal property tax" means an ad valorem tax which is imposed on an annual basis in respect of personal property. +(2) State or local taxes +A State or local tax includes only a tax imposed by a State, a possession of the United States, or a political subdivision of any of the foregoing, or by the District of Columbia. +(3) Foreign taxes +A foreign tax includes only a tax imposed by the authority of a foreign country. +(4) Special rules for GST tax +(A) In general +The GST tax imposed on income distributions is— +(i) the tax imposed by section 2601, and +(ii) any State tax described in section 2604 (as in effect before its repeal), +but only to the extent such tax is imposed on a transfer which is included in the gross income of the distributee and to which section 666 does not apply. +(B) Special rule for tax paid before due date +Any tax referred to in subparagraph (A) imposed with respect to a transfer occurring during the taxable year of the distributee (or, in the case of a taxable termination, the trust) which is paid not later than the time prescribed by law (including extensions) for filing the return with respect to such transfer shall be treated as having been paid on the last day of the taxable year in which the transfer was made. +(5) General sales taxes +For purposes of subsection (a)— +(A) Election to deduct State and local sales taxes in lieu of State and local income taxes +At the election of the taxpayer for the taxable year, subsection (a) shall be applied— +(i) without regard to the reference to State and local income taxes, and +(ii) as if State and local general sales taxes were referred to in a paragraph thereof. +(B) Definition of general sales tax +The term "general sales tax" means a tax imposed at one rate with respect to the sale at retail of a broad range of classes of items. +(C) Special rules for food, etc. +In the case of items of food, clothing, medical supplies, and motor vehicles— +(i) the fact that the tax does not apply with respect to some or all of such items shall not be taken into account in determining whether the tax applies with respect to a broad range of classes of items, and +(ii) the fact that the rate of tax applicable with respect to some or all of such items is lower than the general rate of tax shall not be taken into account in determining whether the tax is imposed at one rate. +(D) Items taxed at different rates +Except in the case of a lower rate of tax applicable with respect to an item described in subparagraph (C), no deduction shall be allowed under this paragraph for any general sales tax imposed with respect to an item at a rate other than the general rate of tax. +(E) Compensating use taxes +A compensating use tax with respect to an item shall be treated as a general sales tax. For purposes of the preceding sentence, the term "compensating use tax" means, with respect to any item, a tax which— +(i) is imposed on the use, storage, or consumption of such item, and +(ii) is complementary to a general sales tax, but only if a deduction is allowable under this paragraph with respect to items sold at retail in the taxing jurisdiction which are similar to such item. +(F) Special rule for motor vehicles +In the case of motor vehicles, if the rate of tax exceeds the general rate, such excess shall be disregarded and the general rate shall be treated as the rate of tax. +(G) Separately stated general sales taxes +If the amount of any general sales tax is separately stated, then, to the extent that the amount so stated is paid by the consumer (other than in connection with the consumer's trade or business) to the seller, such amount shall be treated as a tax imposed on, and paid by, such consumer. +(H) Amount of deduction may be determined under tables +(i) In general +At the election of the taxpayer for the taxable year, the amount of the deduction allowed under this paragraph for such year shall be— +(I) the amount determined under this paragraph (without regard to this subparagraph) with respect to motor vehicles, boats, and other items specified by the Secretary, and +(II) the amount determined under tables prescribed by the Secretary with respect to items to which subclause (I) does not apply. +(ii) Requirements for tables +The tables prescribed under clause (i)— +(I) shall reflect the provisions of this paragraph, +(II) shall be based on the average consumption by taxpayers on a State-by-State basis (as determined by the Secretary) of items to which clause (i)(I) does not apply, taking into account filing status, number of dependents, adjusted gross income, and rates of State and local general sales taxation, and +(III) need only be determined with respect to adjusted gross incomes up to the applicable amount (as determined under section 68(b)). +(6) Limitation on individual deductions for taxable years 2018 through 2025 +In the case of an individual and a taxable year beginning after December 31, 2017, and before January 1, 2026— +(A) foreign real property taxes shall not be taken into account under subsection (a)(1), and +(B) the aggregate amount of taxes taken into account under paragraphs (1), (2), and (3) of subsection (a) and paragraph (5) of this subsection for any taxable year shall not exceed $10,000 ($5,000 in the case of a married individual filing a separate return). +The preceding sentence shall not apply to any foreign taxes described in subsection (a)(3) or to any taxes described in paragraph (1) and (2) of subsection (a) which are paid or accrued in carrying on a trade or business or an activity described in section 212. For purposes of subparagraph (B), an amount paid in a taxable year beginning before January 1, 2018, with respect to a State or local income tax imposed for a taxable year beginning after December 31, 2017, shall be treated as paid on the last day of the taxable year for which such tax is so imposed. +(c) Deduction denied in case of certain taxes +No deduction shall be allowed for the following taxes: +(1) Taxes assessed against local benefits of a kind tending to increase the value of the property assessed; but this paragraph shall not prevent the deduction of so much of such taxes as is properly allocable to maintenance or interest charges. +(2) Taxes on real property, to the extent that subsection (d) requires such taxes to be treated as imposed on another taxpayer. +(d) Apportionment of taxes on real property between seller and purchaser +(1) General rule +For purposes of subsection (a), if real property is sold during any real property tax year, then— +(A) so much of the real property tax as is properly allocable to that part of such year which ends on the day before the date of the sale shall be treated as a tax imposed on the seller, and +(B) so much of such tax as is properly allocable to that part of such year which begins on the date of the sale shall be treated as a tax imposed on the purchaser. +(2) Special rules +(A) In the case of any sale of real property, if— +(i) a taxpayer may not, by reason of his method of accounting, deduct any amount for taxes unless paid, and +(ii) the other party to the sale is (under the law imposing the real property tax) liable for the real property tax for the real property tax year, +then for purposes of subsection (a) the taxpayer shall be treated as having paid, on the date of the sale, so much of such tax as, under paragraph (1) of this subsection, is treated as imposed on the taxpayer. For purposes of the preceding sentence, if neither party is liable for the tax, then the party holding the property at the time the tax becomes a lien on the property shall be considered liable for the real property tax for the real property tax year. +(B) In the case of any sale of real property, if the taxpayer's taxable income for the taxable year during which the sale occurs is computed under an accrual method of accounting, and if no election under section 461(c) (relating to the accrual of real property taxes) applies, then, for purposes of subsection (a), that portion of such tax which— +(i) is treated, under paragraph (1) of this subsection, as imposed on the taxpayer, and +(ii) may not, by reason of the taxpayer's method of accounting, be deducted by the taxpayer for any taxable year, +shall be treated as having accrued on the date of the sale. +(e) Taxes of shareholder paid by corporation +Where a corporation pays a tax imposed on a shareholder on his interest as a shareholder, and where the shareholder does not reimburse the corporation, then— +(1) the deduction allowed by subsection (a) shall be allowed to the corporation; and +(2) no deduction shall be allowed the shareholder for such tax. +(f) Deduction for one-half of self-employment taxes +(1) In general +In the case of an individual, in addition to the taxes described in subsection (a), there shall be allowed as a deduction for the taxable year an amount equal to one-half of the taxes imposed by section 1401 (other than the taxes imposed by section 1401(b)(2)) for such taxable year. +(2) Deduction treated as attributable to trade or business +For purposes of this chapter, the deduction allowed by paragraph (1) shall be treated as attributable to a trade or business carried on by the taxpayer which does not consist of the performance of services by the taxpayer as an employee. +(g) Cross references +(1) For provisions disallowing any deduction for certain taxes, see section 275. +(2) For treatment of taxes imposed by Indian tribal governments (or their subdivisions), see section 7871. +(Aug. 16, 1954, ch. 736, 68A Stat. 47; Pub. L. 85–866, title I, §6(a), Sept. 2, 1958, 72 Stat. 1608; Pub. L. 88–272, title II, §207(a), (b)(1), (2), Feb. 26, 1964, 78 Stat. 40–42; Pub. L. 92–580, §4(a), Oct. 27, 1972, 86 Stat. 1277; Pub. L. 94–455, title XIX, §§1901(a)(25), 1951(b)(3)(A), Oct. 4, 1976, 90 Stat. 1767, 1837; Pub. L. 95–600, title I, §111(a), (b), Nov. 6, 1978, 92 Stat. 2777; Pub. L. 96–223, title I, §101(b), Apr. 2, 1980, 94 Stat. 250; Pub. L. 97–473, title II, §202(b)(3), Jan. 14, 1983, 96 Stat. 2609; Pub. L. 98–21, title I, §124(c)(1), Apr. 20, 1983, 97 Stat. 90; Pub. L. 98–369, div. A, title IV, §474(r)(29)(F), July 18, 1984, 98 Stat. 844; Pub. L. 99–499, title V, §516(b)(2)(A), Oct. 17, 1986, 100 Stat. 1771; Pub. L. 99–514, title I, §134, title XIV, §1432(a)(1), (2), Oct. 22, 1986, 100 Stat. 2116, 2729; Pub. L. 100–418, title I, §1941(b)(2)(A), Aug. 23, 1988, 102 Stat. 1323; Pub. L. 100–647, title I, §1018(u)(11), Nov. 10, 1988, 102 Stat. 3590; Pub. L. 104–188, title I, §1704(t)(79), Aug. 20, 1996, 110 Stat. 1891; Pub. L. 108–357, title V, §501(a), Oct. 22, 2004, 118 Stat. 1520; Pub. L. 109–135, title IV, §403(r)(1), Dec. 21, 2005, 119 Stat. 2628; Pub. L. 109–432, div. A, title I, §103(a), Dec. 20, 2006, 120 Stat. 2934; Pub. L. 110–343, div. C, title II, §201(a), Oct. 3, 2008, 122 Stat. 3864; Pub. L. 111–5, div. B, title I, §1008(a), (b), Feb. 17, 2009, 123 Stat. 317; Pub. L. 111–148, title IX, §9015(b)(2)(A), Mar. 23, 2010, 124 Stat. 871; Pub. L. 111–312, title VII, §722(a), Dec. 17, 2010, 124 Stat. 3316; Pub. L. 112–240, title II, §205(a), Jan. 2, 2013, 126 Stat. 2323; Pub. L. 113–295, div. A, title I, §105(a), title II, §§209(c), 221(a)(12)(D), (26), (95)(B)(ii), Dec. 19, 2014, 128 Stat. 4013, 4028, 4038, 4040, 4051; Pub. L. 114–113, div. Q, title I, §106(a), Dec. 18, 2015, 129 Stat. 3046; Pub. L. 115–97, title I, §11042(a), Dec. 22, 2017, 131 Stat. 2085; Pub. L. 117–169, title I, §§13903(a)(1), 13904(b)(1), Aug. 16, 2022, 136 Stat. 2014, 2015.) +Editorial Notes +References in Text +Section 2604, referred to in subsec. (b)(4)(A)(ii), was repealed by Pub. L. 113–295, div. A, title II, §221(a)(95)(B)(i), Dec. 19, 2014, 128 Stat. 4051, effective Dec. 19, 2014. +Amendments +2022—Subsec. (b)(6). Pub. L. 117–169, §13903(a)(1), amended par. (6), "as amended by section 13904", by substituting "2025" for "2026" in heading and "2026" for "2027" in introductory provisions. See note below. +Pub. L. 117–169, §13904(b)(1), substituted "2026" for "2025" in heading and "2027" for "2026" in introductory provisions. +2017—Subsec. (b)(6). Pub. L. 115–97 added par. (6). +2015—Subsec. (b)(5)(I). Pub. L. 114–113 struck out subpar. (I). Text read as follows: "This paragraph shall apply to taxable years beginning after December 31, 2003, and before January 1, 2015." +2014—Subsec. (a)(5). Pub. L. 113–295, §221(a)(12)(D), struck out par. (5) which read as follows: "The environmental tax imposed by section 59A." +Subsec. (a)(6). Pub. L. 113–295, §221(a)(26), struck out par. (6) which read as follows: "Qualified motor vehicle taxes." +Subsec. (b)(4)(A)(ii). Pub. L. 113–295, §221(a)(95)(B)(ii), inserted "(as in effect before its repeal)" after "section 2604". +Subsec. (b)(5)(I). Pub. L. 113–295, §105(a), substituted "January 1, 2015" for "January 1, 2014". +Subsec. (b)(6). Pub. L. 113–295, §221(a)(26), struck out par. (6) which related to qualified motor vehicle taxes. +Subsec. (b)(6)(E) to (G). Pub. L. 113–295, §209(c), redesignated subpars. (F) and (G) as (E) and (F), respectively, substituted "Subsection (a)(6)" for "This paragraph" in subpars. (E) and (F), and struck out former subpar. (E). Prior to amendment, text of former subpar. (E) read as follows: "The last sentence of subsection (a) shall not apply to any qualified motor vehicle taxes." +2013—Subsec. (b)(5)(I). Pub. L. 112–240 substituted "January 1, 2014" for "January 1, 2012". +2010—Subsec. (b)(5)(I). Pub. L. 111–312 substituted "January 1, 2012" for "January 1, 2010". +Subsec. (f)(1). Pub. L. 111–148, which directed the insertion of "(other than the taxes imposed by section 1401(b)(2))" after "section 1401)" in subsec. (f), was executed by making the insertion after "section 1401" in subsec. (f)(1), to reflect the probable intent of Congress. +2009—Subsec. (a)(6). Pub. L. 111–5, §1008(a), added par. (6). +Subsec. (b)(6). Pub. L. 111–5, §1008(b), added par. (6). +2008—Subsec. (b)(5)(I). Pub. L. 110–343 substituted "January 1, 2010" for "January 1, 2008". +2006—Subsec. (b)(5)(I). Pub. L. 109–432 substituted "2008" for "2006". +2005—Subsec. (b)(5)(A). Pub. L. 109–135 reenacted heading without change and amended text generally. Prior to amendment, text read as follows: +"(i) In general.—At the election of the taxpayer for the taxable year, subsection (a) shall be applied— +"(I) without regard to the reference to State and local income taxes, and +"(II) as if State and local general sales taxes were referred to in a paragraph thereof." +2004—Subsec. (b)(5). Pub. L. 108–357 added par. (5). +1996—Subsec. (a)(4), (5). Pub. L. 104–188 added pars. (4) and (5) and struck out former pars. (4) and (5) which read as follows: +"(4) The environmental tax imposed by section 59A. +"(5) The GST tax imposed on income distributions." +1988—Subsec. (a)(4). Pub. L. 100–418 struck out par. (4) relating to windfall profit tax imposed by section 4986 and redesignated par. (5) relating to environmental tax as (4). +Subsec. (a)(5). Pub. L. 100–647 substituted "The GST" for "the GST". +Pub. L. 100–418 redesignated par. (5), relating to environmental tax, as (4). +1986—Subsec. (a). Pub. L. 99–514, §134(a)(2), inserted "Notwithstanding the preceding sentence, any tax (not described in the first sentence of this subsection) which is paid or accrued by the taxpayer in connection with an acquisition or disposition of property shall be treated as part of the cost of the acquired property or, in the case of a disposition, as a reduction in the amount realized on the disposition." +Subsec. (a)(4). Pub. L. 99–514, §134(a)(1), struck out par. (4) relating to "State and local general sales taxes" and redesignated as par. (4) former par. (5) relating to windfall profit tax. +Subsec. (a)(5). Pub. L. 99–514, §1432(a)(1), added par. (5) relating to GST tax imposed on income distributions. +Pub. L. 99–499 added par. (5) relating to environmental tax. +Subsec. (b)(2). Pub. L. 99–514, §134(b)(1), (2), redesignated par. (3) as (2) and struck out former par. (2), general sales taxes provisions, subpars. (A) to (E) of which covered in general rule, special rules for food, etc., items taxed at different rates, compensating use taxes, and special rules for motor vehicles, respectively. +Subsec. (b)(3). Pub. L. 99–514, §134(b)(2), redesignated par. (4) as (3). Former par. (3) redesignated (2). +Subsec. (b)(4). Pub. L. 99–514, §1432(a)(2), added par. (4). +Pub. L. 99–514, §134(b)(2), redesignated par. (4) as (3). +Subsec. (b)(5). Pub. L. 99–514, §134(b)(1), struck out par. (5), separately stated general sales taxes, which read as follows: "If the amount of any general sales tax is separately stated, then, to the extent that the amount so stated is paid by the consumer (otherwise than in connection with the consumer's trade or business) to his seller, such amount shall be treated as a tax imposed on, and paid by, such consumer." +1984—Subsec. (f). Pub. L. 98–369 redesignated pars. (2) and (3) as pars. (1) and (2), respectively. Former par. (1), which referred to section 1451 for provisions disallowing any deduction for the payment of the tax imposed by subchapter B of chapter 3 (relating to tax-free covenant bonds), was struck out. +1983—Subsec. (f). Pub. L. 98–21 added subsec. (f). Former subsec. (f) redesignated (g). +Subsec. (f)(3). Pub. L. 97–473 added par. (3). +Subsec. (g). Pub. L. 98–21 redesignated subsec. (f) as (g). +1980—Subsec. (a)(5). Pub. L. 96–223 added par. (5). +1978—Subsec. (a)(5). Pub. L. 95–600, §111(a), struck out par. (5) relating to a deduction for State and local taxes on the sale of gasoline, diesel fuel, and other motor fuels. +Subsec. (b)(5). Pub. L. 95–600, §111(b), struck out in heading "and gasoline taxes" after "sales taxes", and in text "or of any tax on the sale of gasoline, diesel fuel, or other motor fuel" after "sales tax". +1976—Subsec. (d)(2). Pub. L. 94–455, §1901(a)(25), redesignated subpar. (D) as (B), and struck out subpar. (B) which related to the taxable years that subsec. (d)(1) applied and subpar. (C) which related to the limitations on subsec. (d)(1) where real property tax was allowable as a deduction under the Internal Revenue Code of 1939. +Subsecs. (f), (g). Pub. L. 94–455, §1951(b)(3)(A), redesignated subsec. (g) as (f). Former subsec. (f), which related to payments for municipal services in atomic energy communities, was struck out. +1972—Subsec. (b)(2)(E). Pub. L. 92–580 added subpar. (E). +1964—Subsec. (a). Pub. L. 88–272, §207(a), limited the subsection to State, local and foreign real property, income, war profits, excess profits, and unspecified taxes, on a business or activity described in section 212, and to State and local personal property, general sales, gasoline, diesel fuel and other motor fuel taxes. +Subsec. (b). Pub. L. 88–272, §207(a), added subsec. (b). Former subsec. (b), which denied the deduction for certain Federal income taxes, for Federal war profits and excess profits taxes, import duties, excise and stamp taxes, and estate, inheritance, legacy, succession and gift taxes, local assessments against benefits increasing property values, and certain taxes imposed by any foreign country or possession of the United States if the taxpayer chose to benefit by section 901 relating to foreign tax credit, and for taxes on real property to the extent that they are treated as imposed on another taxpayer, was struck out. +Subsec. (c). Pub. L. 88–272, §207(a), substituted provisions denying the deduction for taxes assessed against local benefits which increase property value, except for so much as is properly allocable to maintenance or interest charges, and for real property taxes to the extent they are treated as imposed on another taxpayer, for provisions relating to certain retail sales taxes and gasoline taxes, the extent to which they were deductible, and to definition of "state or local sales tax". +Subsec. (f). Pub. L. 88–272, §207(b)(1), inserted "State" before "real property taxes". +Subsec. (g). Pub. L. 88–272, §207(b)(2), designated existing provisions as par. (1), substituted "1451" for "1451(f)" and added par. (2). +1958—Subsecs. (f), (g). Pub. L. 85–866, §6(a), added subsec. (f) and redesignated former subsec. (f) as (g). +Statutory Notes and Related Subsidiaries +Effective Date of 2022 Amendment +Pub. L. 117–169, title I, §13903(a)(2), Aug. 16, 2022, 136 Stat. 2014, provided that: "The amendments made by this subsection [amending this section] shall apply to taxable years beginning after December 31, 2022." +Pub. L. 117–169, title I, §13904(b)(2), Aug. 16, 2022, 136 Stat. 2015, provided that: "The amendments made by this subsection [amending this section] shall apply to taxable years beginning after December 31, 2022." +Effective Date of 2017 Amendment +Pub. L. 115–97, title I, §11042(b), Dec. 22, 2017, 131 Stat. 2086, provided that: "The amendment made by this section [amending this section] shall apply to taxable years beginning after December 31, 2016." +Effective Date of 2015 Amendment +Pub. L. 114–113, div. Q, title I, §106(b), Dec. 18, 2015, 129 Stat. 3046, provided that: "The amendment made by this section [amending this section] shall apply to taxable years beginning after December 31, 2014." +Effective Date of 2014 Amendment +Pub. L. 113–295, div. A, title I, §105(b), Dec. 19, 2014, 128 Stat. 4013, provided that: "The amendment made by this section [amending this section] shall apply to taxable years beginning after December 31, 2013." +Amendment by section 209(c) of Pub. L. 113–295 effective as if included in the provisions of the American Recovery and Reinvestment Tax Act of 2009, Pub. L. 111–5, div. B, title I, to which such amendment relates, see section 209(k) of Pub. L. 113–295, set out as a note under section 24 of this title. +Amendment by section 221(a)(12)(D), (26), (95)(B)(ii) of Pub. L. 113–295 effective Dec. 19, 2014, subject to a savings provision, see section 221(b) of Pub. L. 113–295, set out as a note under section 1 of this title. +Effective Date of 2013 Amendment +Pub. L. 112–240, title II, §205(b), Jan. 2, 2013, 126 Stat. 2323, provided that: "The amendment made by this section [amending this section] shall apply to taxable years beginning after December 31, 2011." +Effective Date of 2010 Amendment +Pub. L. 111–312, title VII, §722(b), Dec. 17, 2010, 124 Stat. 3316, provided that: "The amendment made by this section [amending this section] shall apply to taxable years beginning after December 31, 2009." +Pub. L. 111–148, title IX, §9015(c), Mar. 23, 2010, 124 Stat. 872, provided that: "The amendments made by this section [amending this section and sections 1401, 1402, 3101, and 3102 of this title] shall apply with respect to remuneration received, and taxable years beginning, after December 31, 2012." +Effective Date of 2009 Amendment +Amendment by Pub. L. 111–5 applicable to purchases on or after Feb. 17, 2009, in taxable years ending after such date, see section 1008(e) of Pub. L. 111–5, set out as a note under section 56 of this title. +Effective Date of 2008 Amendment +Pub. L. 110–343, div. C, title II, §201(b), Oct. 3, 2008, 122 Stat. 3864, provided that: "The amendment made by this section [amending this section] shall apply to taxable years beginning after December 31, 2007." +Effective Date of 2006 Amendment +Pub. L. 109–432, div. A, title I, §103(b), Dec. 20, 2006, 120 Stat. 2934, provided that: "The amendments made by this section [amending this section] shall apply to taxable years beginning after December 31, 2005." +Effective Date of 2005 Amendment +Amendment by Pub. L. 109–135 effective as if included in the provision of the American Jobs Creation Act of 2004, Pub. L. 108–357, to which such amendment relates, see section 403(nn) of Pub. L. 109–135, set out as a note under section 26 of this title. +Effective Date of 2004 Amendment +Pub. L. 108–357, title V, §501(b), Oct. 22, 2004, 118 Stat. 1521, provided that: "The amendments made by this section [amending this section] shall apply to taxable years beginning after December 31, 2003." +Effective Date of 1988 Amendment +Amendment by Pub. L. 100–647 effective, except as otherwise provided, as if included in the provision of the Tax Reform Act of 1986, Pub. L. 99–514, to which such amendment relates, see section 1019(a) of Pub. L. 100–647, set out as a note under section 1 of this title. +Pub. L. 100–418, title I, §1941(c), Aug. 23, 1988, 102 Stat. 1324, provided that: "The amendments made by this section [amending this section and sections 193, 291, 6161, 6211, 6212, 6213, 6214, 6302, 6344, 6501, 6511, 6512, 6611, 6654, 6655, 6724, 6862, 7422, and 7512 of this title, and repealing sections 280D, 4986 to 4998, 6050C, 6076, 6232, 6429, 6430, and 7241 of this title] shall apply to crude oil removed from the premises on or after the date of the enactment of this Act [Aug. 23, 1988]." +Effective Date of 1986 Amendment +Amendment by section 134 of Pub. L. 99–514 applicable to taxable years beginning after Dec. 31, 1986, see section 151(a) of Pub. L. 99–514, set out as a note under section 1 of this title. +Amendment by section 1432(a)(1), (2) of Pub. L. 99–514 applicable to generation-skipping transfers (within the meaning of section 2611 of this title) made after Oct. 22, 1986, except as otherwise provided, see section 1433 of Pub. L. 99–514, set out as an Effective Date note under section 2601 of this title. +Amendment by Pub. L. 99–499 applicable to taxable years beginning after Dec. 31, 1986, see section 516(c) of Pub. L. 99–499, set out as a note under section 26 of this title. +Effective Date of 1984 Amendment +Amendment by Pub. L. 98–369 not applicable with respect to obligations issued before Jan. 1, 1984, see section 475(b) of Pub. L. 98–369, set out as a note under section 33 of this title. +Effective Date of 1983 Amendment +Amendment by Pub. L. 98–21 applicable to taxable years beginning after Dec. 31, 1989, see section 124(d)(2) of Pub. L. 98–21, set out as a note under section 1401 of this title. +For effective date of amendment by Pub. L. 97–473, see section 204(1) of Pub. L. 97–473, set out as an Effective Date note under section 7871 of this title. +Effective Date of 1980 Amendment +Amendment by Pub. L. 96–223 applicable to periods after Feb. 29, 1980, see section 101(i) of Pub. L. 96–223, set out as an Effective Date note under section 6161 of this title. +Effective Date of 1978 Amendment +Pub. L. 95–600, title I, §111(c), Nov. 6, 1978, 92 Stat. 2777, provided that: "The amendments made by this section [amending this section] shall apply to taxable years beginning after December 31, 1978." +Effective Date of 1976 Amendment +Amendment by Pub. L. 94–455 applicable with respect to taxable years beginning after Dec. 31, 1976, see sections 1901(d) and 1951(d) of Pub. L. 94–455, set out as notes under sections 2 and 72 of this title, respectively. +Effective Date of 1972 Amendment +Pub. L. 92–580, §4(b), Oct. 27, 1972, 86 Stat. 1277, provided that: "The amendment made by subsection (a) [amending this section] shall apply to taxable years ending on or after January 1, 1971." +Effective Date of 1964 Amendment +Pub. L. 88–272, title II, §207(c), Feb. 26, 1964, 78 Stat. 43, as amended by Pub. L. 99–514, §2, Oct. 22, 1986, 100 Stat. 2095, provided that: +"(1) General rule.—Except as provided in paragraph (2), the amendments made by this section [enacting section 275 of this title and amending this section and sections 535, 545, 556, 901, and 903 of this title] shall apply to taxable years beginning after December 31, 1963. +"(2) Special taxing districts.—Section 164(c)(1) of the Internal Revenue Code of 1986 [formerly I.R.C. 1954] (as amended by subsection (a)) shall not prevent the deduction under section 164 of such Code (as so amended) of taxes levied by a special taxing district which is described in section 164(b)(5) of such Code (as in effect for a taxable year ending on December 31, 1963) and which was in existence on December 31, 1963, for the purpose of retiring indebtedness existing on such date." +Effective Date of 1958 Amendment +Pub. L. 85–866, §6(b), Sept. 2, 1958, 72 Stat. 1608, provided that: "The amendments made by subsection (a) [amending this section] shall apply with respect to taxable years beginning after December 31, 1957." +Savings Provision +Pub. L. 94–455, title XIX, §1951(b)(3)(B), Oct. 4, 1976, 90 Stat. 1837, provided that: "Notwithstanding subparagraph (A) [amending this section], any amount paid or accrued in a taxable year beginning after December 31, 1976, to the Atomic Energy Commission or its successors for municipal-type services shall be allowed as a deduction under section 164 if such amount would have been deductible by reason of section 164(f) (as in effect for a taxable year ending on December 31, 1976) and if the amount is paid or accrued with respect to real property in a community (within the meaning of section 21(b) of the Atomic Energy Community Act of 1955 (42 U.S.C. 2304(b))) in which the Commission on December 31, 1976, was rendering municipal-type services for which it received compensation from the owners of property within such community."