Repository navigation
Conversation
…ests New Mexico's modified gross income (NMSA 1978 § 7-2-2(L)(9), (11)) and Oklahoma's gross household income (OAC 710:50-15-96(c); Form 538-S line 6) count pensions and annuities whether or not they are taxed, but both lists counted only pension_income, which leaves out military retired pay. Add military_retirement_income, which also carries military survivor annuities, with a test for each. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LqCGPgxDukji8Bhs57c5rH
hua7450
left a comment
There was a problem hiding this comment.
Thanks, David. The policy change is right: New Mexico's modified gross income (NMAC 3.3.1.10 and the 2025 PIT-RC instructions) and Oklahoma's gross household income (OAC 710:50-15-96(c), line 6 of Forms 538-S and 538-H) both count pensions and annuities whether or not they're taxed, which includes military retired pay and survivor annuities. military_retirement_income doesn't overlap any other listed source, and the change reaches every credit that reads these incomes (the NM low income comprehensive tax rebate, property tax rebate and child day care credit; the OK sales tax relief and property tax credits). Approving, with two reference fixes to make before merge.
Before merge
- New Mexico reference, page and duplicate. In
modified_gross_income.yaml, the new entry citesNM_PIT_RC_INST.PDF#page=10, but "an annuity, pension, retirement pay" is on physical page 2 (the "If you received any of the following" table); page 10 is the medical care and child income tax credits. The same PDF is also already listed at#page=4(line 11). Please replace the two PIT-RC entries with one:- title: "2025 PIT-RC instructions, modified gross income (an annuity, pension, retirement pay; line 5 pensions and annuities; line 11 estate or trust) #page 2,4" href: https://taxsim.nber.org/historical_state_tax_forms/NM/2025/NM_PIT_RC_INST.PDF#page=2
- Oklahoma reference for line 6. The new comment in
gross_income_sources.yamlcites Form 538-S line 6, but the metadata entry points to511-Pkt.pdf#page=51("lines 9 to 14"). Line 6 and the "taxable and nontaxable gross income" heading are on physical page 50. Something like:- title: "2025 Form 511 packet, Form 538-S, Part 3 (taxable and nontaxable gross income, lines 1 to 14; line 6 other pensions and annuities) #page 50-51" href: https://oklahoma.gov/content/dam/ok/en/tax/documents/forms/individuals/current/511-Pkt.pdf#page=50
Optional
- Neither new case checks a credit, so the $152 NM rebate and $80 OK sales tax relief losses in the PR body aren't pinned. One case with
ok_stcornm_low_income_comprehensive_tax_rebateas an output, for a military retiree near the limit, would lock that in.
… losses
- New Mexico: replace the two PIT-RC entries with one citing page 2 ("an
annuity, pension, retirement pay") and page 4 (lines 5 and 11); page 10
is the medical care and child income tax credits.
- Oklahoma: point Form 538-S Part 3 at page 50, which has line 6 and the
"taxable and nontaxable gross income" heading, through page 51.
- Add a 2025 case for a couple, both 67, with $45,000 of military retired
pay and $30,000 of Social Security: New Mexico modified gross income and
Oklahoma gross income are $75,000, so the NM low income comprehensive tax
rebate (149 without the pay) and the OK sales tax relief credit (80
without it) are 0.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LqCGPgxDukji8Bhs57c5rH
|
@hua7450 Thanks. I pushed all three in d26d228:
The body's New Mexico figure is now the 2025 amount, $149, instead of $152. |
New Mexico and Oklahoma count pensions and annuities in the income tests for their low-income credits, whether or not the state taxes them. PolicyEngine-US counted only
pension_income, which leaves out military retired pay. A military retiree's credit income was therefore understated, and some retirees kept credits they don't qualify for.Changes
gov.states.nm.tax.income.modified_gross_income)gov.states.ok.tax.income.credits.gross_income_sources)Both lists now include
military_retirement_income, which adds the retiree's pay (military_retirement_pay) and military Survivor Benefit Plan annuities (military_retirement_pay_survivors). Both lists sit undertax/, so the military retirement readers guard (#10317) allows either input. The total is used because a survivor annuity is an annuity under both rules.These are income tests only. New Mexico still exempts up to $30,000 of military retired pay from its income tax (NMSA 1978 § 7-2-5.13), and Oklahoma exempts all of it (68 O.S. § 2358(E)(17)).
Effect
The state-law check of the Veterans Day post (PolicyEngine/policyengine-app-v2#1523) found this gap. In 2025, a retired couple, both 67, with $45,000 of military retired pay and $30,000 of Social Security has $30,000 of New Mexico modified gross income and Oklahoma gross household income on main. With the pay counted, it's $75,000:
The same couple with a civilian pension already got these results.
Tests
nm_modified_gross_income.yaml: wages $20,000, military retired pay $30,000 and a $6,000 survivor annuity give $56,000.ok_gross_income.yaml: wages $10,000, military retired pay $15,000 and a $2,000 survivor annuity give $27,000.nm_low_income_comprehensive_tax_rebate.yamlandok_stc.yaml: the 2025 couple above has $75,000 of modified gross income and gross income, six NM rebate exemptions, and no NM rebate or OK sales tax relief credit (149 and 80 without the pay).Locally, the NM modified gross income, NM rebate and NM child day care files, and the OK gross income, sales tax credit and property tax credit files, all pass at 93109b6. The two credit cases were added after review and are checked in CI.
Not included
The Kansas disabled veteran exemption fix the same check recommended is in Ziming's #10768.
axiom: TheAxiomFoundation/rulespec-us#2146 queued (New Mexico § 7-2-2(L)(9), (11)); TheAxiomFoundation/rulespec-us#2147 queued (Oklahoma OAC 710:50-15-96(c))
🤖 Generated with Claude Code
https://claude.ai/code/session_01LqCGPgxDukji8Bhs57c5rH