diff --git a/changelog.d/mt-active-duty-pay-subtraction.fixed.md b/changelog.d/mt-active-duty-pay-subtraction.fixed.md new file mode 100644 index 00000000000..d3bbc5d4acd --- /dev/null +++ b/changelog.d/mt-active-duty-pay-subtraction.fixed.md @@ -0,0 +1 @@ +Applied Montana's qualifying active-duty military pay subtraction beginning in tax year 2024 and preserved the federal taxable Social Security amount. diff --git a/policyengine_us/parameters/gov/states/mt/tax/income/subtractions/subtractions.yaml b/policyengine_us/parameters/gov/states/mt/tax/income/subtractions/subtractions.yaml index 42774c4ee03..25bd56b94ea 100644 --- a/policyengine_us/parameters/gov/states/mt/tax/income/subtractions/subtractions.yaml +++ b/policyengine_us/parameters/gov/states/mt/tax/income/subtractions/subtractions.yaml @@ -25,6 +25,7 @@ values: # and with it the disability income exclusion, for tax years beginning # after December 31, 2023 (section 70(1)). - salt_refund_income # MCA 15-30-2120 / Form 2 Subtractions Schedule + - mt_active_duty_pay_subtraction - mt_other_subtractions 2025-01-01: # Section 15-30-2120 starts from federal taxable income, so federal @@ -38,12 +39,15 @@ values: # Schedule 1-A deductions expire after 2028. - mt_federal_obbba_subtraction - salt_refund_income # MCA 15-30-2120 / Form 2 Subtractions Schedule + - mt_active_duty_pay_subtraction - mt_other_subtractions metadata: unit: list period: year label: Montana adjusted gross income subtractions reference: + - title: Montana Code Annotated 15-30-2120(3)(c)(i)-(ii), qualifying active-duty salary + href: https://mca.legmt.gov/bills/mca/title_0150/chapter_0300/part_0210/section_0200/0150-0300-0210-0200.html - title: 2017 Montana Form 2 instructions, Schedule II, lines 1 and 6 href: 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=21 - title: 2017 Montana Form 2 instructions, Schedule II, line 12 diff --git a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/mt_taxable_income_joint.yaml b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/mt_taxable_income_joint.yaml index efc3ee478ce..6a35caddca3 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/mt_taxable_income_joint.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/mt_taxable_income_joint.yaml @@ -222,3 +222,139 @@ mt_old_age_subtraction: [0, 5_500] # Federal taxable income less the pooled Montana age subtraction. mt_taxable_income_joint: [29_500, 0] + +- name: Montana subtracts only the qualifying share of military pay + period: 2024 + input: + people: + head: + age: 40 + employment_income: 20_000 + military_service_income: 20_000 + mt_qualifying_military_pay_share: 0.5 + spouse: + age: 38 + employment_income: 20_000 + military_service_income: 20_000 + tax_units: + unit: + members: [head, spouse] + marital_units: + couple: + members: [head, spouse] + households: + home: + members: [head, spouse] + state_code: MT + output: + # Qualifying active-duty pay: $20,000 × 0.5 = $10,000. + # The spouse has no reported qualifying share, so subtract $0. + mt_subtractions: [10_000, 0] + mt_active_duty_pay_subtraction: [10_000, 0] + +- name: Qualifying Montana active-duty pay reduces joint income tax to zero + period: 2025 + input: + people: + head: + age: 40 + employment_income: 40_000 + military_service_income: 40_000 + mt_qualifying_military_pay_share: 1 + spouse: + age: 38 + employment_income: 5_000 + tax_units: + unit: + members: [head, spouse] + marital_units: + couple: + members: [head, spouse] + households: + home: + members: [head, spouse] + state_code: MT + output: + # Schedule I subtraction: $40,000 × 1 = $40,000. + mt_subtractions: [40_000, 0] + mt_active_duty_pay_subtraction: [40_000, 0] + # Taxable income: max(0, $45,000 - $31,500 - $40,000) = $0. + # Tax before refundable credits: $0 × 4.7% = $0. + mt_taxable_income_joint: [0, 0] + mt_income_tax_before_refundable_credits_unit: 0 + +- name: Qualifying military pay reduces taxable income for every filing status + period: 2025 + absolute_error_margin: 0.01 + input: + people: + single: {age: 40, employment_income: 35_750, military_service_income: 10_000, mt_qualifying_military_pay_share: 1} + separate: {age: 40, employment_income: 35_750, military_service_income: 10_000, mt_qualifying_military_pay_share: 1} + hoh: {age: 40, employment_income: 43_625, military_service_income: 10_000, mt_qualifying_military_pay_share: 1} + survivor: {age: 40, employment_income: 51_500, military_service_income: 10_000, mt_qualifying_military_pay_share: 1} + head: {age: 40, employment_income: 30_000, military_service_income: 10_000, mt_qualifying_military_pay_share: 1} + spouse: {age: 38, employment_income: 31_500, military_service_income: 20_000, mt_qualifying_military_pay_share: 0.5} + dependent: {age: 18, employment_income: 3_000, military_service_income: 3_000, mt_qualifying_military_pay_share: 1} + tax_units: + s: {members: [single], filing_status: SINGLE} + mfs: {members: [separate], filing_status: SEPARATE} + h: {members: [hoh], filing_status: HEAD_OF_HOUSEHOLD} + q: {members: [survivor], filing_status: SURVIVING_SPOUSE} + j: {members: [head, spouse, dependent], filing_status: JOINT} + marital_units: + pair: {members: [head, spouse]} + households: + home: {members: [single, separate, hoh, survivor, head, spouse, dependent], state_code: MT} + output: + # Each filer has $10,000 of qualifying pay, including $20,000 × 0.5 for the spouse. + # The dependent's $3,000 qualifies for the person output. + mt_subtractions: [10_000, 10_000, 10_000, 10_000, 10_000, 10_000, 3_000] + # Wages minus the federal standard deduction leave $20,000 before each + # non-joint filer's $10,000 subtraction. Joint taxable income is + # $61,500 - $31,500 - $10,000 - $10,000 = $10,000, excluding the dependent. + mt_taxable_income_joint: [10_000, 10_000, 10_000, 10_000, 10_000, 0, 0] + # The first ordinary bracket applies to each return: $10,000 × 4.7% = $470. + mt_income_tax_before_refundable_credits_unit: [470, 470, 470, 470, 470] + +- name: Qualifying military pay and a separate other subtraction exhaust taxable income + period: 2025 + input: + state_code: MT + age: 40 + employment_income: 27_750 + military_service_income: 10_000 + mt_qualifying_military_pay_share: 1 + mt_other_subtractions: 2_000 + output: + # Total subtractions are $10,000 × 1 + $2,000 = $12,000. + mt_subtractions: 12_000 + # Taxable income is $27,750 - $15,750 - $12,000 = $0, so tax is $0. + mt_taxable_income_joint: 0 + mt_income_tax_before_refundable_credits_unit: 0 + +- name: The Montana return includes federal taxable Social Security alongside the military pay subtraction + period: 2025 + absolute_error_margin: 0.01 + input: + people: + head: + age: 62 + employment_income: 54_000 + military_service_income: 54_000 + mt_qualifying_military_pay_share: 1 + social_security: 20_000 + spouse: + age: 48 + employment_income: 20_000 + tax_units: + unit: {members: [head, spouse], filing_status: JOINT} + marital_units: + couple: {members: [head, spouse]} + households: + home: {members: [head, spouse], state_code: MT} + output: + # Federal taxable Social Security reaches the cap of $20,000 × 85% = $17,000. + # Montana taxable income is $74,000 + $17,000 - $31,500 - $54,000 = $5,500. + mt_taxable_income_joint: [5_500, 0] + # Pre-credit tax is $5,500 × 4.7% = $258.50. + mt_income_tax_before_refundable_credits_unit: 258.50 diff --git a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/mt_taxable_social_security.yaml b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/mt_taxable_social_security.yaml index f8622cf7218..32f87cc3ed5 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/mt_taxable_social_security.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/mt_taxable_social_security.yaml @@ -77,3 +77,34 @@ state_code: MT output: mt_taxable_social_security: 85 + +- name: Montana uses federal taxable Social Security with qualifying military pay in 2024 + period: 2024 + input: &military_and_social_security + people: + head: + age: 62 + employment_income: 54_000 + military_service_income: 54_000 + mt_qualifying_military_pay_share: 1 + social_security: 20_000 + spouse: + age: 48 + tax_units: + unit: {members: [head, spouse], filing_status: JOINT} + marital_units: + couple: {members: [head, spouse]} + households: + home: {members: [head, spouse], state_code: MT} + output: &federal_taxable_social_security + # Provisional income is $54,000 + 50% × $20,000 = $64,000. + # Taxable benefits are min(85% × $20,000, $6,000 + 85% × ($64,000 - $44,000)). + # The head received all benefits, so $17,000 is allocated to the head. + taxable_social_security: [17_000, 0] + mt_taxable_social_security: [17_000, 0] + mt_taxable_social_security_joint: 17_000 + +- name: Montana uses federal taxable Social Security with qualifying military pay in 2025 + period: 2025 + input: *military_and_social_security + output: *federal_taxable_social_security diff --git a/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/subtractions/mt_active_duty_pay_subtraction.yaml b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/subtractions/mt_active_duty_pay_subtraction.yaml new file mode 100644 index 00000000000..6e15dbe74b1 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/mt/tax/income/subtractions/mt_active_duty_pay_subtraction.yaml @@ -0,0 +1,49 @@ +- name: Montana entry determines the qualifying share of regular active-duty pay + period: 2025 + input: + people: + zero_pay: + military_service_income: 0 + mt_qualifying_military_pay_share: 1 + negative_pay: + military_service_income: -1_000 + mt_qualifying_military_pay_share: 1 + negative_share: + military_service_income: 20_000 + mt_qualifying_military_pay_share: -0.1 + entered_elsewhere: + employment_income: 20_000 + military_service_income: 20_000 + mt_qualifying_military_pay_share: 0 + entered_from_montana: + employment_income: 20_000 + military_service_income: 20_000 + mt_qualifying_military_pay_share: 1 + above_full: + military_service_income: 20_000 + mt_qualifying_military_pay_share: 1.1 + other_state: + military_service_income: 20_000 + mt_qualifying_military_pay_share: 1 + households: + montana: + members: [zero_pay, negative_pay, negative_share, entered_elsewhere, entered_from_montana, above_full] + state_code: MT + wyoming: {members: [other_state], state_code: WY} + output: + # For regular active duty, classify entry elsewhere as $20,000 × 0 = $0 + # and entry from Montana as $20,000 × 1 = $20,000. + # Nonpositive pay and negative shares give $0, 1.1 is capped at 1, + # and the Wyoming resident receives $0 from this Montana subtraction. + mt_active_duty_pay_subtraction: [0, 0, 0, 0, 20_000, 20_000, 0] + +- name: The dedicated Schedule I subtraction starts in 2024 + period: 2023 + input: + state_code: MT + employment_income: 25_000 + military_service_income: 10_000 + mt_qualifying_military_pay_share: 1 + output: + # The Schedule I subtraction is $0 before 2024, even with $10,000 × 1 in qualifying pay. + mt_active_duty_pay_subtraction: 0 diff --git a/policyengine_us/variables/gov/states/mt/tax/income/base/mt_taxable_social_security.py b/policyengine_us/variables/gov/states/mt/tax/income/base/mt_taxable_social_security.py index 0b0c6173385..d0ec5de0c01 100644 --- a/policyengine_us/variables/gov/states/mt/tax/income/base/mt_taxable_social_security.py +++ b/policyengine_us/variables/gov/states/mt/tax/income/base/mt_taxable_social_security.py @@ -7,7 +7,10 @@ class mt_taxable_social_security(Variable): label = "Montana taxable social security benefits" defined_for = StateCode.MT definition_period = YEAR - reference = "https://revenue.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2021_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=6" + reference = ( + "https://revenue.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2021_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=6", + "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=5", + ) def formula(person, period, parameters): p = parameters(period).gov.states.mt.tax.income.social_security.amount @@ -95,3 +98,6 @@ def formula(person, period, parameters): adjusted_taxable_amount = social_security * p_irs.additional.excess # line 20 return min_(adjusted_taxable_amount, adjusted_tax_amount) + + def formula_2024(person, period, parameters): + return person("taxable_social_security", period) diff --git a/policyengine_us/variables/gov/states/mt/tax/income/base/mt_taxable_social_security_joint.py b/policyengine_us/variables/gov/states/mt/tax/income/base/mt_taxable_social_security_joint.py index 54029434dd0..7c06553c0fb 100644 --- a/policyengine_us/variables/gov/states/mt/tax/income/base/mt_taxable_social_security_joint.py +++ b/policyengine_us/variables/gov/states/mt/tax/income/base/mt_taxable_social_security_joint.py @@ -7,7 +7,10 @@ class mt_taxable_social_security_joint(Variable): label = "Montana taxable social security benefits for joint filers" defined_for = StateCode.MT definition_period = YEAR - reference = "https://revenue.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2021_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=6" + reference = ( + "https://revenue.mt.gov/files/Forms/Montana-Individual-Income-Tax-Return-Form-2/2021_Montana_Individual_Income_Tax_Return_Form_2.pdf#page=6", + "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=5", + ) def formula(tax_unit, period, parameters): p = parameters(period).gov.states.mt.tax.income.social_security.amount @@ -78,3 +81,6 @@ def formula(tax_unit, period, parameters): adjusted_taxable_amount = social_security * p_irs.additional.excess # line 20 return min_(adjusted_taxable_amount, adjusted_tax_amount) + + def formula_2024(tax_unit, period, parameters): + return tax_unit("tax_unit_taxable_social_security", period) diff --git a/policyengine_us/variables/gov/states/mt/tax/income/subtractions/mt_active_duty_pay_subtraction.py b/policyengine_us/variables/gov/states/mt/tax/income/subtractions/mt_active_duty_pay_subtraction.py new file mode 100644 index 00000000000..eb502c61f50 --- /dev/null +++ b/policyengine_us/variables/gov/states/mt/tax/income/subtractions/mt_active_duty_pay_subtraction.py @@ -0,0 +1,20 @@ +from policyengine_us.model_api import * + + +class mt_active_duty_pay_subtraction(Variable): + value_type = float + entity = Person + label = "Montana qualifying active-duty military pay subtraction" + unit = USD + definition_period = YEAR + defined_for = StateCode.MT + reference = ( + "https://mca.legmt.gov/bills/mca/title_0150/chapter_0300/part_0210/section_0200/0150-0300-0210-0200.html", + "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=25", + "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=24", + ) + + def formula_2024(person, period, parameters): + military_pay = person("military_service_income", period) + qualifying_share = person("mt_qualifying_military_pay_share", period) + return max_(military_pay, 0) * clip(qualifying_share, 0, 1) diff --git a/policyengine_us/variables/gov/states/mt/tax/income/subtractions/mt_qualifying_military_pay_share.py b/policyengine_us/variables/gov/states/mt/tax/income/subtractions/mt_qualifying_military_pay_share.py new file mode 100644 index 00000000000..e43dd76432f --- /dev/null +++ b/policyengine_us/variables/gov/states/mt/tax/income/subtractions/mt_qualifying_military_pay_share.py @@ -0,0 +1,24 @@ +from policyengine_us.model_api import * + + +class mt_qualifying_military_pay_share(Variable): + value_type = float + entity = Person + label = "Share of military pay qualifying for Montana's active-duty subtraction" + definition_period = YEAR + default_value = 0 + defined_for = StateCode.MT + reference = "https://mca.legmt.gov/bills/mca/title_0150/chapter_0300/part_0210/section_0200/0150-0300-0210-0200.html" + documentation = ( + "Supply the fraction from 0 to 1 of military_service_income that qualifies " + "under MCA 15-30-2120(3)(c)(i)-(ii) and is included in federal taxable " + "income. The caller must classify the pay before setting this input. " + "Count regular active-duty pay only for Montana residents who entered " + "active duty from Montana. If all pay is regular active-duty pay and the " + "servicemember entered from another state, supply a share of 0. " + "Count Montana residents' National Guard pay under Title 10 orders or " + "under Title 32 homeland defense or contingency orders while serving " + "in a unit engaged in that activity. Include qualifying pay in " + "employment_income. Reserve mt_other_subtractions for amounts reported " + "as other subtractions." + ) diff --git a/source_conflicts/candidates.yaml b/source_conflicts/candidates.yaml index 0fcf676e342..d86e1393766 100644 --- a/source_conflicts/candidates.yaml +++ b/source_conflicts/candidates.yaml @@ -8196,6 +8196,32 @@ candidates: - https://github.com/PolicyEngine/policyengine-us/pull/10640 state: ruled note: "Follows the regulation. Ruled by the project lead, 2026-11-02: https://github.com/PolicyEngine/policyengine-us/pull/10640#issuecomment-6591157776" +- id: us-mt:active-duty-pay-entry-from-montana + program: income-tax + years: + from: 2024 + type: tax + question: Does regular active-duty pay qualify when a Montana resident entered active duty from another state? + sources: + - kind: statute + citation: MCA 15-30-2120(3)(c)(i) + url: https://mca.legmt.gov/bills/mca/title_0150/chapter_0300/part_0210/section_0200/0150-0300-0210-0200.html + - kind: instructions + citation: 2024 Montana Form 2 instructions, PDF pages 10 and 25, Schedule I line 14 + url: 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=10 + - kind: instructions + citation: 2025 Montana Form 2 instructions, PDF pages 8 and 24, Schedule I line 12 + url: 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=8 + readings: + statute: Regular armed forces salary qualifies for Montana residents who entered active duty from Montana. + other: The resident servicemember guidance exempts active-duty basic, special, and incentive pay without an entry location condition. + pe_us: + follows: statute + code: + - policyengine_us/variables/gov/states/mt/tax/income/subtractions/mt_qualifying_military_pay_share.py + prs: + - https://github.com/PolicyEngine/policyengine-us/pull/11348 + state: ruled - id: us-mt:age-65-subtraction-2026-indexed-amount program: income-tax years: diff --git a/source_conflicts/sources/us-mt/form-2-instructions-2024-p10-active-duty.txt b/source_conflicts/sources/us-mt/form-2-instructions-2024-p10-active-duty.txt new file mode 100644 index 00000000000..15ba62f5c31 --- /dev/null +++ b/source_conflicts/sources/us-mt/form-2-instructions-2024-p10-active-duty.txt @@ -0,0 +1,6 @@ +Source: 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=10 +Retrieved: 2026-11-29 +Source PDF SHA-256: a31a761150b7b092a688a00ebad3a1bb18a80a05143c097e8388d2f0d42440d4 +Extraction: PDF page 10, printed page 2. pdftotext 25.03.0, right column with line wraps joined. + +While resident servicemembers must file a Montana tax return, basic, special, and incentive pay are not taxable in Montana. diff --git a/source_conflicts/sources/us-mt/form-2-instructions-2025-p8-active-duty.txt b/source_conflicts/sources/us-mt/form-2-instructions-2025-p8-active-duty.txt new file mode 100644 index 00000000000..f0fd5584d5f --- /dev/null +++ b/source_conflicts/sources/us-mt/form-2-instructions-2025-p8-active-duty.txt @@ -0,0 +1,6 @@ +Source: 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=8 +Retrieved: 2026-11-29 +Source PDF SHA-256: bed29192ae2fb020272962d8629101f05133ca00ccda04bf508c8bf939d2ef98 +Extraction: PDF page 8, printed page 2. pdftotext 25.03.0, right column with line wraps joined. + +While resident servicemembers must file a Montana tax return, basic, special, and incentive pay are not taxable in Montana.