Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
116ef6d
Model Montana's working military retirement and survivor benefit exem…
MaxGhenis Nov 8, 2026
3b2bcd5
Date the Montana residency condition as the statute does (on or after…
MaxGhenis Nov 8, 2026
2eeb5d3
Merge main into the Montana military retirement exemption branch
MaxGhenis Nov 9, 2026
f6d4650
Merge main into the Montana military retirement exemption branch
MaxGhenis Nov 11, 2026
09ed698
Count SSTB and Schedule F income in Montana's military retirement cap
MaxGhenis Nov 11, 2026
e65f906
Capture the 2025 Montana Form WMRE text for the three source-conflict…
MaxGhenis Nov 13, 2026
538c7c8
Merge main into fix-mt-military-retirement-exemption
MaxGhenis Nov 21, 2026
ceb2f71
Reflow the Montana Form WMRE capture to one paragraph per line
MaxGhenis Nov 21, 2026
87fe953
Merge remote-tracking branch 'upstream/main' into fix-mt-military-ret…
MaxGhenis Nov 29, 2026
a944005
Record Montana's wage-location reading for military retirement
MaxGhenis Nov 29, 2026
6e1da85
Count only Montana work in the military retiree exemption's cap
MaxGhenis Nov 29, 2026
b1a147f
Take the Montana wage amount as an optional input, not an override
MaxGhenis Nov 29, 2026
fb6d94b
Say how the Montana wage-location default differs from the form
MaxGhenis Nov 29, 2026
3b127ca
Limit Montana military retirement wage overrides to the tax year
MaxGhenis Nov 29, 2026
2b57731
Fix Montana military retirement exemption inputs and eligibility
MaxGhenis Nov 30, 2026
382e970
Merge branch 'main' into fix-mt-military-retirement-exemption
MaxGhenis Nov 30, 2026
8250611
Reconcile Montana military exemptions with taxable income and eligibi…
MaxGhenis Dec 1, 2026
8d9f794
Merge branch 'main' into fix-mt-military-retirement-exemption
MaxGhenis Dec 1, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/fix-mt-military-retirement-exemption.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Modeled Montana’s working military retirement and survivor benefit exemption, including taxable dependent care compensation and reporting of prior claims and amounts already entered as other subtractions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
description: Montana counts these income sources as the Montana source wage income that limits the working military retirement exemption.
values:
2024-01-01:
# 15-30-2120(8)(b)(i); Form WMRE line 2: Form 1040 line 1z. The estimate
# adds taxable dependent care benefits (line 1e) to employment income.
- irs_employment_income
# (8)(b)(ii); line 3: Schedule 1 line 3, which nets all Schedule C
# income, including a specified service trade or business.
- total_self_employment_income
# (8)(b)(ii); line 4: partnership and S corporation income, less the
# passive subset that ARM 42.15.1501(2) leaves out.
- mt_military_retirement_nonpassive_partnership_s_corp_income
# (8)(b)(iii); line 5: net farming income, which PolicyEngine holds as
# Schedule F income.
- farm_operations_income
metadata:
unit: list
period: year
label: Montana working military retirement exemption wage income sources
reference:
- title: MCA 15-30-2120(8)(b)
href: https://archive.legmt.gov/bills/mca/title_0150/chapter_0300/part_0210/section_0200/0150-0300-0210-0200.html
- title: ARM 42.15.1501(2)
href: https://rules.mt.gov/api/policy-library-public/collections/aec52c46-128e-4279-9068-8af5d5432d74/policies/3e7310ba-441e-4b10-ac7a-48770622f709/document/87309b9d-15b9-4c4a-b962-91c8ebd32ad3
- title: "2025 Montana Form WMRE, Part II, lines 2 to 5 and their instructions #page 1,3"
href: https://revenue.mt.gov/files/Forms/Montana-Working-Military-Retirement-and-Survivor-Benefit-Exemption.pdf#page=1
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
description: Montana limits its military retirement and survivor benefit exemption to this many consecutive tax years.
values:
2024-01-01: 5
metadata:
unit: year
period: year
label: Montana military retirement exemption eligibility window
reference:
- title: MCA 15-30-2120(9)(b)
href: https://archive.legmt.gov/bills/mca/title_0150/chapter_0300/part_0210/section_0200/0150-0300-0210-0200.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
description: Montana allows the working military retirement and survivor benefit exemption when this is true.
values:
0000-01-01: false
# 15-30-2120(3)(n) first applies to tax year 2024.
2024-01-01: true
metadata:
unit: bool
period: year
label: Montana military retirement exemption in effect
reference:
- title: MCA 15-30-2120(3)(n)
href: https://archive.legmt.gov/bills/mca/title_0150/chapter_0300/part_0210/section_0200/0150-0300-0210-0200.html
- title: 2024 Montana Form 2 instructions, Other Legislation Affecting Tax Year 2024 (Senate Bill 104)
href: https://revenue.mt.gov/files/forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2024_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=6
- title: Montana Revenue Interim Committee, Tax Benefits for Veterans (November 2025)
href: https://archive.legmt.gov/content/Committees/Interim/2025-2026/RIC/Meetings/November_12_13_2025/veteran-tax-benefits.pdf#page=1
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
description: Montana subtracts this share of military retirement pay, up to the return's Montana source wage income, under the working military retirement exemption.
values:
2024-01-01: 0.5
metadata:
unit: /1
period: year
label: Montana working military retirement exemption rate
reference:
- title: MCA 15-30-2120(3)(n)(i) and (8)(a)
href: https://archive.legmt.gov/bills/mca/title_0150/chapter_0300/part_0210/section_0200/0150-0300-0210-0200.html
- title: 2025 Montana Form WMRE, Part II, line 7
href: https://revenue.mt.gov/files/Forms/Montana-Working-Military-Retirement-and-Survivor-Benefit-Exemption.pdf#page=1
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
description: Montana subtracts this share of military survivor benefits under the survivor benefit exemption.
values:
2024-01-01: 0.5
metadata:
unit: /1
period: year
label: Montana military survivor benefit exemption rate
reference:
- title: MCA 15-30-2120(3)(n)(ii)
href: https://archive.legmt.gov/bills/mca/title_0150/chapter_0300/part_0210/section_0200/0150-0300-0210-0200.html
- title: 2025 Montana Form WMRE, Part III, line 2
href: https://revenue.mt.gov/files/Forms/Montana-Working-Military-Retirement-and-Survivor-Benefit-Exemption.pdf#page=1
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@ values:
- salt_refund_income # Form 2 Subtractions Schedule
- mt_other_subtractions
2024-01-01:
# MCA 15-30-2120(3)(n) allows exempting up to 50% of military retirement pay
# (capped at MT earned income, (3)(n)(i)) and up to 50% of military survivor
# benefits regardless of other income ((3)(n)(ii), Form WMRE); not yet modeled.
- mt_interest_exemption_person
- mt_tuition_subtraction_person
- mt_old_age_subtraction
# MCA 15-30-2120(3)(n), Form WMRE
- mt_military_retirement_exemption
# 2021 Mont. Laws ch. 503 (SB 399) section 65 repealed 15-30-2110, MCA,
# and with it the disability income exclusion, for tax years beginning
# after December 31, 2023 (section 70(1)).
Expand All @@ -34,6 +33,8 @@ values:
- mt_interest_exemption_person
- mt_tuition_subtraction_person
- mt_old_age_subtraction
# MCA 15-30-2120(3)(n), Form WMRE
- mt_military_retirement_exemption
# TODO: Remove this subtraction starting in 2029 because the federal
# Schedule 1-A deductions expire after 2028.
- mt_federal_obbba_subtraction
Expand All @@ -60,6 +61,8 @@ metadata:
href: https://leg.mt.gov/bills/mca/title_0150/chapter_0300/part_0210/section_0100/0150-0300-0210-0100.html
- title: 2025 Montana Form 2 Instructions
href: https://revenuefiles.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2-Instructions/2025_Montana_Individual_Income_Tax_Return_Form_2_Instructions.pdf#page=21
- title: 2025 Montana Form WMRE
href: https://revenue.mt.gov/files/Forms/Montana-Working-Military-Retirement-and-Survivor-Benefit-Exemption.pdf#page=1
- title: "2021 Montana Session Laws, chapter 503 (SB 399), section 65 (repealer) and section 70 (effective dates) #page 68,70"
href: https://archive.legmt.gov/content/Publications/sales/2021SessionLaws_V3_ERRATA-VERSION.pdf#page=68
- title: 2024 Montana Form 2 instructions, repealed deductions
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
from policyengine_us import Simulation


def test_montana_wage_override_invalidates_branch_exemption():
year = 2026
simulation = Simulation(
situation={
"people": {
"retiree": {
"age": {year: 45},
"military_retirement_pay": {year: 30_000},
"employment_income": {year: 50_000},
},
},
"households": {
"home": {"members": ["retiree"], "state_name": {year: "MT"}},
},
}
)
branch = simulation.get_branch("wage_override")
exemption = "mt_military_retirement_exemption"
assert branch.calculate(exemption, year).tolist() == [15_000]

branch.set_input(
"mt_military_retirement_montana_source_wage_income_override", year, [0]
)

assert branch.calculate(exemption, year).tolist() == [0]
Loading
Loading