Repository navigation
Count four missing kinds of nontaxable income in Montana's elderly homeowner/renter credit - #11180
Conversation
hua7450
left a comment
There was a problem hiding this comment.
Thanks, David. The four additions match MCA 15-30-2337(9)(a) and the 2017, 2024 and 2025 Form 2 instructions, and none repeats income federal AGI already counts. The IRC 911 add-back is taken once per tax unit and floors a negative Form 2555 line 45. The 2025 boundary pair checks by hand: 38.005 at 44,999, and 0 at 45,000. One fix before I approve.
Before merge
- Employer-plan Roth distributions now count the participant's own contributions. The PR adds
tax_exempt_401k_distributions,tax_exempt_403b_distributionsandtax_exempt_sep_distributionsat their full amount. (9)(b) says "income is reduced by the taxpayer's basis", and 2025 Schedule 2EC line 5 says "do not include any nontaxable rollovers and your cost or net investment" (2025 Form 2 instructions). Take a 10,000 Roth 401(k) distribution that is 7,000 of the person's own contributions: the law counts 3,000, main counted 0, and this PR counts 10,000. No input holds basis, so counting the full amount is a fair limitation, and no formula change is needed. But CONTRIBUTING asks that a departure from the statute be fixed or tracked, and issue 10802 covers onlytax_exempt_pension_income. Please widen 10802, or open a new issue, to cover these three inputs. Also add asource_conflicts/candidates.yamlentry for the IRA conflict already on main: (9)(b) deducts basis, while ARM 42.4.301(2)(d) and line 4 count "all federal taxable and nontaxable ... IRA payments". The PR body's "Ruling for this PR" isn't recorded anywhere a later reader will find it.
Optional
- Dependent path of the alimony add-back. Every alimony case uses a non-dependent filer, so the dependent branch at
mt_elderly_homeowner_or_renter_credit_alimony_addback.pyline 42 never runs. One case with a dependent receiving pre-2019 alimony (add-back 0) would cover it.
893e315 to
6fcf305
Compare
|
Thanks, Ziming. Fixed in 6fcf305, rebased on main. No formula change. Fixed (your "Before merge" item)
Skipped (optional, not in this round): a case for the dependent path of the alimony add-back. Verification:
|
hua7450
left a comment
There was a problem hiding this comment.
Thanks, David. Issue 11198 covers the three employer-plan inputs, the comment cites 11198 and 10802, and nothing else in the PR's behavior changed. The new us-mt:elderly-credit-ira-distribution-basis entry quotes (9)(b), ARM 42.4.301(2)(d) and Schedule 2EC line 4 accurately. It also passes the structural checks in test_source_conflicts.py, and the 9/7/2024 start of (2)(d) supports beginning it in 2024. One fix before I approve.
Before merge
-
The entry says
state: ruled, but nobody has ruled on it. The PR body's "Basis ruling" decides only that the inputs can't separate basis, so they count in full. It doesn't choose between (9)(b) and the regulation. CONTRIBUTING sends a regulation-versus-statute question to the project lead, and no ruling exists yet. Please setstate: openand keepfollows: conflicting-sourceas a description of what the code does.Please also give the note both readings of (2)(d):
- ARM 42.4.301(2) opens "'Gross household income' means the same as the term defined in 15-30-2337, MCA", and the same "nontaxable pension, annuity, and IRA payments" words sit beside line 5's basis exclusion for pensions. Read that way, (2)(d) works with (9)(b), and the conflict is only with line 4's instructions.
- The other reading is that "all ... nontaxable ... IRA payments" displaces the basis reduction for IRAs.
This matters once issue 11198 adds a basis input: the register shouldn't already say full count from 2024 was decided. Please match issue 11198's IRA paragraph to the same framing.
Optional
- Source captures. The note says the 2024 ARM text and the two instruction pages aren't captured. CONTRIBUTING step 1 asks the PR to add them under
source_conflicts/sources/us-mt/. - Issue 11198 leaves out nontaxable rollovers, which line 5 also excludes. The PR body still sends account-distribution basis to 10802 alone.
- Dependent path of the alimony add-back (from the first round): still no test.
…come MCA 15-30-2337(9)(a) counts federal AGI plus all nontaxable income. Gross household income now also counts alimony outside federal AGI, savings bond interest excluded under IRC 135, income excluded under IRC 911 (Form 2555 line 45, on the head) and tax-exempt 401(k), 403(b) and SEP distributions, which count in full as Roth IRA distributions already did. Moves the four Montana cases from the #10812 audit into the real tests and adds edge cases. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…he Montana IRA basis conflict Document in gross_income_sources.yaml that no input holds basis, so Roth 401(k), 403(b) and SEP distributions count in full, as Roth IRA distributions do (issue #11198). Register the Montana IRA basis conflict in source_conflicts/candidates.yaml. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ture its sources Mark the Montana elderly homeowner/renter credit IRA basis entry in source_conflicts/candidates.yaml as open, and add local captures of ARM 42.4.301 (2024) and the Form 2 instructions (2024 p. 47, 2025 p. 45) that the entry cites. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6fcf305 to
f3aec76
Compare
|
Thanks, Ziming. Fixed in f3aec76, rebased on main. Fixed (your "Before merge" item)
Also done (your optional item): captures under
The entry's note names all three files. All nine of its quotes match the captures word for word. Skipped (optional, not in this round): a test for the dependent path of the alimony add-back. Verification: the source-conflict tests (251) and the Montana elderly homeowner/renter credit directory (199) pass locally. An independent check confirmed nothing in the entry still implies a ruling, and that the captures are clean. |
hua7450
left a comment
There was a problem hiding this comment.
Thanks, David. The us-mt:elderly-credit-ira-distribution-basis entry is now state: open, follows: conflicting-source describes what the code does, and the note gives both readings of ARM 42.4.301(2)(d). The three captures are genuine: the ARM text matches the rules.mt.gov original, and the two instruction pages match the official PDFs. All nine quotes appear in them or in the statute. Issue 11198 now covers rollovers. Nothing in the model changed. Approving.
Optional:
- Issue 11198 quotes ARM (2)(d)'s words ("all federal taxable and nontaxable ... IRA payments") as Schedule 2EC line 4's. Line 4 reads "Enter all IRA distributions, both taxable and nontaxable". The register entry has both right.
- From the first round, still open: a test for the dependent path of the alimony add-back.
Part of #10812 (state credit income audit).
What was wrong
Montana's elderly homeowner/renter credit tests gross household income: under MCA 15-30-2337(9)(a), "federal adjusted gross income, without regard to loss, ... plus all nontaxable income, including but not limited to: (i) the amount of any pension or annuity ... (iii) alimony ... (vii) interest on federal, state, county, and municipal bonds" (MCA 15-30-2337; the 2009 text is the same).
gov.states.mt.tax.income.credits.elderly_homeowner_or_renter.gross_income_sourcesleft out four kinds of nontaxable income:taxable_alimony_incomereaches AGI;us_bonds_for_higher_ed) and never added back;tax_exempt_ira_distributionsbut not the employer-plan Roth amounts.What changes
mt_elderly_homeowner_or_renter_credit_alimony_addbackon the list: alimony received less the taxable alimony federal AGI (or a dependent's own gross income) already countsus_bonds_for_higher_edon the listsection_911_excluded_incomelessforeign_housing_deduction, at least zero), added once to the tax unit head, as the formula already does forloss_aldtax_exempt_ira_distributionsreplaced bytax_exempt_retirement_distributions(Roth IRA, 401(k), 403(b) and SEP)All three year blocks (2009, 2017, 2023) change the same way; the statute's wording is the same in 2009.
Basis (a limitation, not a ruling). (9)(b) says "income is reduced by the taxpayer's basis", and Schedule 2EC line 5 leaves out "your cost or net investment" and nontaxable rollovers. The tax-exempt distribution inputs are whole distributions, basis included, so the basis can't be separated. This PR therefore counts tax-exempt account distributions in full, IRA and employer-plan Roth alike, as Roth IRAs already were. That is a modeling limitation, tracked in #11198 (the 401(k), 403(b) and SEP inputs, Roth IRAs before 2024 and rollovers) and #10802 (
tax_exempt_pension_income). For IRAs from 2024, whether ARM 42.4.301(2)(d) displaces the (9)(b) basis reduction or works with it is an open question for the project lead. It is registered asus-mt:elderly-credit-ira-distribution-basiswithstate: open.Foreign housing deduction. The review proposed
section_911_excluded_income, which is Form 2555 lines 45 and 50. Line 50 is the IRC 911(c)(4) housing deduction for the self-employed, a deduction in figuring AGI (Schedule 1 line 24j) rather than excluded income, so the formula takes it back out. With the legacyforeign_earned_income_exclusioninput alone,foreign_housing_deductionis zero and the full amount counts.Savings bonds recorded on a dependent. By the model's convention (
gov.irs.ald.filer_amounts_recorded_on_dependents), an IRC 135 amount recorded on a dependent comes out of the parent's AGI. The list adds it back on the dependent's record, so the household total is right, though the per-person split shows it on the dependent. Only the household total reaches the credit.Who is affected
Montana residents aged 62 or older who claim the elderly homeowner/renter credit (a refundable Montana income tax credit), when anyone in the household has post-2018 alimony, IRC 135 savings bond interest, IRC 911 excluded income, or tax-exempt (Roth) 401(k), 403(b) or SEP distributions. Gross household income rises, so the credit falls: through the $12,600 exclusion and reduction table, through the Credit Multiplier Table bands from $35,000, and to zero at $45,000. Montana income tax after credits rises for these filers by the same amount. Nobody's credit goes up. The review rates alimony, savings bond interest and the IRC 911 exclusion as small for this population.
Tests
Moved from #10812 (
mt_elderly_homeowner_or_renter_credit_gross_household_income_audit.yaml) intomt_elderly_homeowner_or_renter_credit_gross_household_income.yaml, without the audit framing:Added, with arithmetic in each comment:
section_911_excluded_income11,000); on a joint return the exclusion counts once, on the head, [30,000, 0].mt_elderly_homeowner_or_renter_credit.yaml, end to end in 2025: pension 39,000 plus post-2018 alimony 6,000 gives gross household income of exactly 45,000 and no credit; alimony of 5,999 gives 44,999, net household income 32,399 x 0.05 = 1,619.95, and a credit of (2,000 - 1,619.95) x 10% = 38.005.Existing test changed:
mt_elderly_homeowner_or_renter_credit_dependent_deductions.yaml, "Parent-owned exclusions recorded on a dependent are not deducted twice": the dependent's value goes from 10,000 to 10,700; the parent's 18,800 is unchanged. The 700 of IRC 135 interest is nontaxable interest the statute counts, and the list adds it back on the record that holds it: 10,000 + 700 = 10,700. Household 29,500 = 20,000 + 10,000 - 500 adoption assistance. The audit flagged this case as pinning the undercount.Not in this PR
qualified_adoption_assistance_expense). The audit's interest row names it with the savings bonds as a federal exclusion nothing adds back, but it has no audit case and the review didn't take it up; it still reduces gross household income.axiom: needed (rulespec-us has no us-mt module for MCA 15-30-2337; no encoder run was authorized for this PR)
Tested on Modal: run
w1-mt-a, 298/298 passed (287 YAML files: the Montana folder, every partner file and the changed files; plustest_source_conflicts.py, the eighttest_mt_elderly_credit_*.pyfiles and the twotest_strike_benefits_*.pyfiles, which read this variable).🤖 Generated with Claude Code