Skip to content

Correct New Mexico’s Schedule A SALT and four-place add-back from 2019 - #11299

Draft
MaxGhenis wants to merge 5 commits into
mainfrom
nm-salt-add-back-allowed-salt-and-ratio
Draft

MaxGhenis wants to merge 5 commits into
mainfrom
nm-salt-add-back-allowed-salt-and-ratio

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Agent-written for Max, by a Codex cloud task and Claude Code for Max Ghenis; no person has reviewed it yet.

Fixes #11273

What and why

From tax year 2019, New Mexico PIT-1 line 10 uses the allowed federal SALT amount on Schedule A line 5e. It multiplies that amount by the line 5a share of line 5d, rounded to four decimal places. The excess of allowable itemized deductions over the standard deduction limits the add-back. 2019 PIT-1 instructions, p. 22 · 2025 PIT-1 instructions, p. 24 · 2025 Schedule A, p. 1 · NMSA §7-2-2(N)(2), as reproduced in TRD's Regulations pertaining to the Income Tax Act (July 2023), PDF p. 19

The model applies the statutory SALT cap, including the federal phase-down beginning in 2025, and rounds allocation ties upward. New Mexico includes the full allowed Schedule A SALT in its itemized total when the federal simulation caps SALT at available income. The model carries the worksheet forward to 2026 and compares the itemized total after section 68 with the standard deduction. The 2026 single-filer case uses the $16,100 federal standard deduction. The 2026 state worksheet is not yet published. P.L. 119-21, §§70102, 70111, and 70120 · IRS Rev. Proc. 2025-32, pp. 11 and 18

The branch has no file overlap with #10654, which changes New Jersey and Nebraska taxpayer choices, or #10270, which changes medical-premium attribution used in federal itemized deductions.

Test plan

Case Schedule A line 5e on both Pinned main add-back Branch add-back Pinned main NM taxable income Branch NM taxable income
2025 phase-down $25,000 $15,000 $9,250 $540,000 $534,250
2026 phase-down $26,900 $10,800 $10,087.50 $533,900 $533,187.50
2025 four-place ratio $40,000 $13,333.78 $13,332 $323,333.78 $323,332
  • The three worksheet cases reproduce the values in the table. All 27 SALT cases pass, including the 2019 boundary, a four-place tie in cents, and a low-AGI case with $4,500 of taxable income.
  • Eight related YAML files and the section 68 property test pass, on the branch and on a merge with main.
  • The source-conflict guard passes. A register entry is inapplicable because the statute supplies the allowed amount and the worksheet supplies the allocation and rounding.
  • make format passes. The fixed changelog fragment is included.

The 2025 packet repeats the worksheet on PIT-1-24 and gives separate tax and credit tables on T-7 and RC-11. FYI-109 gives the 2026 credit table. 2025 PIT packet (TRD), PIT-1-24, T-7 and RC-11 · FYI-109, p. 3

axiom: TheAxiomFoundation/rulespec-us#2001 queued

🤖 Generated with Claude Code

Use allowed federal Schedule A SALT and round the worksheet ratio to four
decimal places starting in tax year 2025.

Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
@codecov

codecov Bot commented Nov 30, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 91.22807% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.52%. Comparing base (8999568) to head (f30b519).
⚠️ Report is 403 commits behind head on main.

Files with missing lines Patch % Lines
...tates/nm/tax/income/deductions/nm_salt_add_back.py 85.29% 5 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##              main   #11299       +/-   ##
============================================
- Coverage   100.00%   83.52%   -16.48%     
============================================
  Files            1        3        +2     
  Lines           24       85       +61     
  Branches         0        5        +5     
============================================
+ Hits            24       71       +47     
- Misses           0       14       +14     
Flag Coverage Δ
unittests 83.52% <91.22%> (-16.48%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

MaxGhenis and others added 2 commits November 30, 2026 15:32
Apply the statutory SALT limit from tax year 2019. Compute the allocation ratio from cent amounts and round it to four places. Include the full allowed SALT in New Mexico itemized deductions when the federal simulation caps it at available income.

Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MaxGhenis MaxGhenis changed the title Use allowed federal SALT and a four-place ratio for New Mexico’s add-back Correct New Mexico’s Schedule A SALT and four-place add-back from 2019 Nov 30, 2026
MaxGhenis and others added 2 commits December 1, 2026 04:24
Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New Mexico SALT add-back ignores the federal SALT cap phase-down, adding back more tax than filers deducted

1 participant