Skip to content

Add Oregon 2026 nonitemizer charitable subtraction, head of household standard deduction and surviving spouse 529 cap - #11669

Draft
hua7450 wants to merge 1 commit into
mainfrom
or-income-tax-2026-audit
Draft

hua7450 wants to merge 1 commit into
mainfrom
or-income-tax-2026-audit

Conversation

@hua7450

@hua7450 hua7450 commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

Addresses the 2026 Oregon part of #11279. The 2021 version of the deduction is not in this PR.

What and why

This PR applies three findings from a check of Oregon's 2026 income tax rules in the model against the final 2026 Form OR-40 Instructions (Rev. 10-20-26) and 2026 Publication OR-17 (Rev. 11-03-26).

Change Before After Source
Head of household standard deduction, 2026 $4,665 (no 2026 entry; the 2025 amount uprated) $4,685 2026 Form OR-40 Instructions, Table 5
Subtraction for charitable contributions by nonitemizers (subtraction code 393), new for 2026 Not modeled New variable or_non_itemizer_charitable_subtraction, in the Oregon subtractions list from 2026 2026 Publication OR-17; ORS 316.048 and 316.695(1)(c)(A)
Oregon Kids Credit qualifying income, from 2026 No add-back Adds the code 393 subtraction back 2026 Form OR-40 Instructions, Oregon Kids Credit worksheet line 2
529 and ABLE contribution credit maximum for a qualifying surviving spouse $300 / $360 / $380 for 2020 / 2025 / 2026 (the joint amounts) $150 / $180 / $190 ORS 315.650(2) and (3)(c); 2026 Publication OR-17

Nonitemizer charitable subtraction

  • Amount: the federal charitable_deduction_for_non_itemizers (up to $1,000, or $2,000 on a joint return, from 2026). Publication OR-17 has a full-year resident enter the amount claimed on the federal return on Schedule OR-ASC, Section B.
  • Who gets it: a filer who does not itemize on the federal return and who takes the Oregon standard deduction. Publication OR-17 denies the subtraction to a filer who itemizes on Schedule OR-A. The formula treats a filer as taking the standard deduction when it is larger than Oregon itemized deductions, the rule in ORS 316.695(1)(c)(A).
  • Where it applies: it is a subtraction, so it lowers or_agi (Form OR-40 line 15), as the form does. or_deductions is unchanged.
  • Kids Credit: line 2 of the 2026 worksheet adds the federal deduction subtractions (codes 390, 391, 393 and 397) back to line 15. This PR adds back code 393, the one it introduces, through the existing qualifying_income/additions list.
  • Earlier years: the list entries are dated 2026-01-01, so results before 2026 do not change.

The end-to-end test uses the household in #11279: a single filer with $75,000 of wages and a $1,000 cash gift has a $1,000 subtraction and Oregon taxable income of $63,640.

529 credit maximum for a qualifying surviving spouse

ORS 315.650(2) sets one maximum for a credit reported on a joint return and half of it for any other type of return, and subsection (3)(c) keeps that ratio when the Department of Revenue adjusts the amounts. The section does not mention a surviving spouse, while other Oregon statutes name a surviving spouse where the joint amount applies (for example the standard deduction in ORS 316.695(1)(c)(B)). Publication OR-17 prints "Joint return" and "All others". The model gave a qualifying surviving spouse the joint amount; this PR gives the amount for other returns. The parameter cited ORS 315.643, which is the Opportunity Grant credit; the reference now points to ORS 315.650.

Overlap with #11313

Draft PR #11313 and issue #11279 cover the same Oregon deduction with a different design. #11313 adds the gift to the standard deduction inside or_deductions; this PR models it as subtraction code 393, following the 2026 forms. The Oregon 2026 part must not merge from both PRs, or the gift is deducted twice.

The two also differ on who counts as itemizing. This PR compares Oregon itemized deductions with the standard deduction. #11313 compares them with the standard deduction plus the gift. The results differ only when Oregon itemized deductions exceed the standard deduction by less than the gift deduction.

This PR does not change 2021, the federal variable or Hawaii, which #11313 also covers. A trial merge with #11142 (Schedule 1-A subtractions) and with #11313 shows no textual conflict.

Reference links

Five references point to the Oregon Department of Revenue's developer draft-forms site (secure.dor.state.or.us/Services/draftforms), where the final 2026 booklet and Publication OR-17 are posted. The public forms library on oregon.gov does not have them yet. These links should be swapped for the public oregon.gov URLs once those exist.

Not in this PR

  • The 529 credit maximum has no 2023 or 2024 entries, so those years use the 2020 amounts. Publication OR-17 prints $340 / $170 for 2023 and $360 / $180 for 2024.
  • or_529_credit caps contributions at the maximum and does not apply the income-based percentages in ORS 315.650(2). Its reference still cites ORS 315.643.
  • The 2021 version of the nonitemizer deduction ($300, or $600 on a joint return).

Test plan

  • YAML tests whose expected values come from the statute and the official forms: 7 new cases (1 standard deduction, 4 subtraction, 1 Kids Credit qualifying income, 1 529 credit).
  • Source-conflict register: not applicable. The statute and the forms agree on each reading here.
  • ruff format and ruff check pass on the changed Python files.
  • Changelog fragment in changelog.d/
  • CI passes. Tests were not run locally.

The axiom: parity line is not filled in yet. It needs to be added before this PR is marked ready for review.

🤖 Generated with Claude Code

… standard deduction and surviving spouse 529 cap

- Add or_non_itemizer_charitable_subtraction (subtraction code 393, new
  for 2026) to the Oregon subtractions list from 2026, and add it back
  to Oregon Kids Credit qualifying income (worksheet line 2).
- Set the 2026 head of household standard deduction to $4,685.
- Give a qualifying surviving spouse the 529 and ABLE credit maximum for
  returns other than joint returns (ORS 315.650(2)).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@codecov

codecov Bot commented Dec 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (8999568) to head (e19a256).
⚠️ Report is 430 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main    #11669   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         2    +1     
  Lines           24        38   +14     
  Branches         0         1    +1     
=========================================
+ Hits            24        38   +14     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

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.

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.

1 participant