Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
edf7cf1
Add North Carolina's claim of right repayment itemized deduction
MaxGhenis Oct 9, 2026
3b57231
From 2026 limit North Carolina's claim of right deduction to income N…
MaxGhenis Oct 9, 2026
a6a96cd
Model the section 1341 claim of right deduction and credit; wire Nort…
MaxGhenis Oct 9, 2026
4526aed
Keep the federal claim of right deduction and credit out of state rul…
MaxGhenis Oct 10, 2026
09ee710
Document the unmodeled pre-2018 small repayment deduction; changelog …
MaxGhenis Oct 10, 2026
0343962
Fix the federal method in the North Carolina worksheet property test …
MaxGhenis Oct 10, 2026
8f268ca
Remove a stray empty log file
MaxGhenis Oct 10, 2026
6c2a76e
Address review: isolate the method branches, compare to the cent, ret…
MaxGhenis Oct 10, 2026
c2b9602
Keep the simulation's claim of right method in the itemizing branches
MaxGhenis Oct 10, 2026
81528e0
Merge main into North Carolina claim of right deduction
MaxGhenis Oct 11, 2026
1500215
Merge PR 10028's branch (with main) into the section 1341 branch
MaxGhenis Oct 11, 2026
9c98f0d
Restore conservative branch invalidation; fix the method in itemizing…
MaxGhenis Oct 11, 2026
de58d20
Merge main into the section 1341 branch
MaxGhenis Oct 11, 2026
dc10cc5
Test both NC contrib credits stacked on the claim of right payment wi…
MaxGhenis Oct 11, 2026
474c403
Derive the states with their own claim of right rules in the cross-st…
MaxGhenis Oct 13, 2026
eb4d8d0
Model Indiana's, Massachusetts's and West Virginia's claim of right r…
MaxGhenis Oct 13, 2026
b4bc8ae
Property tests for Indiana's, Massachusetts's and West Virginia's cla…
MaxGhenis Oct 13, 2026
fa22039
List the states whose own claim of right relief applies under the fed…
MaxGhenis Oct 13, 2026
c01afd9
Address review of #10196: West Virginia's senior base, its own thresh…
MaxGhenis Oct 13, 2026
3407bf4
Address review r2 nits on #10196
MaxGhenis Oct 13, 2026
56c7e98
Cite Form 1 line 11a for the Massachusetts FICA deduction in the YAML…
MaxGhenis Oct 13, 2026
2d36a76
Merge main into the section 1341 branch
MaxGhenis Oct 13, 2026
5307f52
Merge #10038's merge of main into the in-ma-wv-claim-of-right branch
MaxGhenis Oct 13, 2026
32b0c13
Carry the claim of right deduction into Montana itemized deductions f…
MaxGhenis Oct 13, 2026
1edee22
Merge #10038's Montana 2024 list change into the in-ma-wv-claim-of-ri…
MaxGhenis Oct 13, 2026
6f34ccd
Merge main into the section 1341 branch
MaxGhenis Oct 14, 2026
8633699
Merge #10038's merge of main (6f34ccde23) into the in-ma-wv-claim-of-…
MaxGhenis Oct 14, 2026
d1c695b
Give every itemizing branch the simulation's claim of right method
MaxGhenis Oct 14, 2026
38787e2
Merge #10038's d1c695b2f7 (itemizing branches inherit the claim of ri…
MaxGhenis Oct 14, 2026
17cad4b
Drop #10028's merged changelog fragment; date period_branch's set_inp…
MaxGhenis Oct 14, 2026
d2a1b9e
Merge #10038's 17cad4b53b (drops the compiled NC changelog fragment) …
MaxGhenis Oct 14, 2026
184a75b
Clarify federal claim of right input documentation
MaxGhenis Oct 18, 2026
0871d52
Keep claim of right threshold references specific to its value
MaxGhenis Oct 18, 2026
6612771
Explain Wisconsin claim of right worksheet interpretation
MaxGhenis Oct 18, 2026
4944560
Carry the federal claim of right deduction into California itemized d…
MaxGhenis Oct 18, 2026
60cb3dd
Require section 1341 eligibility for North Carolina repayment relief
MaxGhenis Oct 18, 2026
3d336f2
Merge reviewed federal claim of right head into state repayments
MaxGhenis Oct 19, 2026
4bd8a37
Merge main into Indiana Massachusetts West Virginia claim of right
MaxGhenis Oct 19, 2026
8742761
Clarify Indiana repayment adjustment and cite Massachusetts guidance
MaxGhenis Oct 19, 2026
bd4fed8
Test West Virginia repayment one dollar above the claim of right thre…
MaxGhenis Oct 19, 2026
e1d600a
Merge remote-tracking branch 'gh/main' into federal-claim-of-right-1341
MaxGhenis Oct 20, 2026
2216889
Align NC refundable claim-of-right accounting with state tax invariants
MaxGhenis Oct 20, 2026
7c24ccf
Apply statute-first claim-of-right treatment in AL MO OR WI and VA
MaxGhenis Oct 20, 2026
2c4d303
Complete Montana repayment deductions and federal taxable income base
MaxGhenis Oct 20, 2026
23bf40a
Preserve Alabama federal deduction credit treatment before 2021
MaxGhenis Oct 20, 2026
aae7056
Document Alabama credit-list verification boundary
MaxGhenis Oct 20, 2026
c69ccc4
Correct entities in Montana repayment regression fixtures
MaxGhenis Oct 20, 2026
3fdef4d
Remove duplicate household inputs from Montana fixtures
MaxGhenis Oct 20, 2026
2ea81fc
Merge remote-tracking branch 'gh/main' into federal-claim-of-right-1341
MaxGhenis Oct 20, 2026
1ab1b5e
Fix Montana state-tax adjustment before taxable-income floor
MaxGhenis Oct 20, 2026
466d7e0
Correct tax-unit inputs in Montana property test
MaxGhenis Oct 20, 2026
bccaeca
Merge main into federal-claim-of-right-1341
MaxGhenis Oct 22, 2026
858dca3
Merge main into federal-claim-of-right-1341
MaxGhenis Oct 23, 2026
4b8cdd1
Merge current main into federal-claim-of-right-1341
MaxGhenis Oct 23, 2026
e1f2066
Merge main into federal-claim-of-right-1341
claude Nov 3, 2026
79b7a8a
Montana: add the state-income-tax addback after the line 3 floor from…
claude Nov 3, 2026
a3f3daa
Alabama: apply the regulation's payment-credit list from 2015
claude Nov 3, 2026
a6202a7
Update the four source-conflict candidates this PR resolves
claude Nov 3, 2026
6fb855d
Replace two dead Montana references
claude Nov 3, 2026
884051b
Rebuild the Missouri and Oregon section 1341 witnesses from a repayment
claude Nov 3, 2026
75f6972
Run the section 1341 property grid in 2020 too
claude Nov 3, 2026
e1e57f8
Changelog: state the Montana and Alabama scope for every filer
claude Nov 3, 2026
d678254
Merge remote-tracking branch 'origin/main' into federal-claim-of-righ…
claude Nov 4, 2026
7ef5ac5
Pin Montana's QBI add-back before the zero floor with a reachable 202…
claude Nov 4, 2026
b695dcd
Pin aca_ptc to 0 in Oregon's section 1341 witness
claude Nov 4, 2026
2ab1b04
Drop the unreachable 2025 branches from the Montana property test
claude Nov 4, 2026
8487d7e
Document mt_federal_deductions as display-only
claude Nov 4, 2026
6906894
Start the Alabama credit-list item at 2018, the first worksheet compared
claude Nov 4, 2026
68c2bb6
Explain Montana's QBI add-back order from Form 2, not section 63
claude Nov 5, 2026
1ffd14e
Merge main
MaxGhenis Nov 6, 2026
340a32b
Merge main into federal-claim-of-right-1341
MaxGhenis Nov 7, 2026
8838c91
Merge main into federal-claim-of-right-1341
MaxGhenis Nov 7, 2026
80a6062
Merge main into federal-claim-of-right-1341
MaxGhenis Nov 7, 2026
6bdb9c4
Merge the final federal claim of right head into the Indiana, Massach…
MaxGhenis Nov 9, 2026
54b4984
Merge main into the Indiana, Massachusetts and West Virginia claim of…
MaxGhenis Nov 9, 2026
447056b
Name Indiana's current input and record the three readings
MaxGhenis Nov 9, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/in-ma-wv-claim-of-right.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add Indiana's repayment of previously taxed income deduction (IC 6-3-1-3.5(a)(22)), Massachusetts's claim of right deduction (M.G.L. c. 62, s. 3(B)(a)(14)) and West Virginia's IRC 1341 repayments modification, which apply whichever federal method is used. Indiana users who entered a repayment in in_other_subtractions should move it to claim_of_right_repayment, or it counts twice.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ values:
- in_nol
- in_unemployment_compensation_deduction
- in_other_subtractions
# IC 6-3-1-3.5(a)(22) / IT-40 Schedule 2 (code 630)
- in_claim_of_right_deduction
- in_disability_retirement_deduction # IC 6-3-2-9 (code 602)
- in_civil_service_annuity_deduction
- in_military_retirement_deduction
Expand All @@ -36,6 +38,8 @@ values:
- in_unemployment_compensation_deduction
# IC 6-3-2
- in_other_subtractions
# IC 6-3-1-3.5(a)(22) / IT-40 Schedule 2 (code 630)
- in_claim_of_right_deduction
# IC 6-3-2-9 (code 602)
- in_disability_retirement_deduction
# IC 6-3-2-4 (b)
Expand Down Expand Up @@ -66,6 +70,8 @@ values:
- in_unemployment_compensation_deduction
# IC 6-3-2
- in_other_subtractions
# IC 6-3-1-3.5(a)(22) / IT-40 Schedule 2 (code 630)
- in_claim_of_right_deduction
# IC 6-3-2-9 (code 602)
- in_disability_retirement_deduction
# IC 6-3-2-4 (b)
Expand Down Expand Up @@ -98,6 +104,8 @@ values:
- in_unemployment_compensation_deduction
# IC 6-3-2
- in_other_subtractions
# IC 6-3-1-3.5(a)(22) / IT-40 Schedule 2 (code 630)
- in_claim_of_right_deduction
# IC 6-3-2-9 (code 602)
- in_disability_retirement_deduction
# IC 6-3-2-4 (b)
Expand Down Expand Up @@ -136,6 +144,8 @@ values:
- in_unemployment_compensation_deduction
# IC 6-3-2
- in_other_subtractions
# IC 6-3-1-3.5(a)(22) / IT-40 Schedule 2 (code 630)
- in_claim_of_right_deduction
# IC 6-3-2-9 (code 602)
- in_disability_retirement_deduction
# IC 6-3-2-4 (b)
Expand All @@ -158,5 +168,5 @@ metadata:
href: http://iga.in.gov/legislative/laws/2021/ic/titles/006#6-3
- title: U.S. Code
href: https://www.law.cornell.edu/uscode/text
- title: 2025 IT-40 Income Tax Form Instruction Booklet, pg. 19
- title: "2025 IT-40 Income Tax Form Instruction Booklet #page 19,23"
href: https://forms.in.gov/Download.aspx?id=16915#page=19
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
description: West Virginia allows the IRC 1341 repayments decreasing modification when the income repaid on the return is more than this amount.
values:
2017-01-01: 3_000
metadata:
unit: currency-USD
period: year
label: West Virginia IRC 1341 repayments modification threshold
reference:
- title: "West Virginia 2025 Personal Income Tax Forms and Instructions, Schedule M line 42 #page 5,29"
href: https://tax.wv.gov/Documents/PIT/2025/it140.PersonalIncomeTaxFormsAndInstructions.2025.pdf#page=5
- title: West Virginia 2020 Personal Income Tax Forms and Instructions, Schedule M line 40
href: https://tax.wv.gov/Documents/TaxForms/2020/it140.booklet.pdf#page=24
- title: West Virginia 2017 Personal Income Tax Forms and Instructions, Schedule M line 50 (money paid back under IRC 1341)
href: https://tax.wv.gov/Documents/TaxForms/2017/it140.booklet.pdf#page=23
- title: "IRS Publication 525 (2025), Repayments: consider the total amount being repaid on the return #page 36-37"
href: https://www.irs.gov/pub/irs-prior/p525--2025.pdf#page=36
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ values:
- military_service_income # Line 34
- salt_refund_income # Line 36
- wv_529_plan_deduction
- wv_claim_of_right_subtraction # Line 42
- wv_senior_citizen_disability_deduction # Line 47
- wv_other_subtractions

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,229 @@
# IC 6-3-1-3.5(a)(22) and the 2025 IT-40 instructions, deduction 630 (PDF
# page 23): a repayment of income included in Indiana AGI in an earlier year,
# of any amount, whichever federal method applies.

# The original $73 unemployment deduction minus $58 refigured without the
# repayment leaves $15 excluded: $345 - ($73 - $58) = $330.
- name: Case 1, 2025 IT-40 Example 1, $345 repayment less the $15 decrease in the earlier unemployment deduction.
period: 2025
input:
people:
head:
age: 40
claim_of_right_repayment: 345
in_claim_of_right_repayment_excluded_from_income: 15
tax_units:
tax_unit:
members: [head]
households:
household:
members: [head]
state_code: IN
output:
claim_of_right_section_1341_eligible: false
in_claim_of_right_deduction: 330

- name: Case 2, 2025 IT-40 Example 2, $3,400 repaid with the federal credit.
period: 2025
input:
people:
head:
age: 40
claim_of_right_repayment: 3_400
tax_units:
tax_unit:
members: [head]
claim_of_right_credit_applies: true
households:
household:
members: [head]
state_code: IN
output:
in_claim_of_right_deduction: 3_400

- name: Case 3, repaid Social Security that Indiana never taxed gives no deduction.
period: 2025
input:
people:
head:
age: 70
claim_of_right_repayment: 4_000
in_claim_of_right_repayment_excluded_from_income: 4_000
tax_units:
tax_unit:
members: [head]
households:
household:
members: [head]
state_code: IN
output:
in_claim_of_right_deduction: 0

- name: Case 4, the federal deduction method with the standard deduction still gets the Indiana deduction.
period: 2025
input:
people:
head:
age: 40
claim_of_right_repayment: 10_000
tax_units:
tax_unit:
members: [head]
claim_of_right_credit_applies: false
tax_unit_itemizes: false
households:
household:
members: [head]
state_code: IN
output:
in_claim_of_right_deduction: 10_000

- name: Case 5, a joint return deducts both spouses' repayments but not a dependent's.
period: 2025
input:
people:
head:
age: 40
claim_of_right_repayment: 300
spouse:
age: 40
claim_of_right_repayment: 3_000
in_claim_of_right_repayment_excluded_from_income: 500
child:
age: 17
claim_of_right_repayment: 1_000
tax_units:
tax_unit:
members: [head, spouse, child]
households:
household:
members: [head, spouse, child]
state_code: IN
output:
in_claim_of_right_deduction: 2_800

- name: Case 6, outside Indiana.
period: 2025
input:
people:
head:
age: 40
claim_of_right_repayment: 10_000
tax_units:
tax_unit:
members: [head]
households:
household:
members: [head]
state_code: OH
output:
in_claim_of_right_deduction: 0

# Wages $40,000, repays $345 (Example 1 without an unemployment deduction).
# IT-40: Indiana AGI $40,000 - $345 deduction - $1,000 exemption = $38,655;
# state tax at 3% = $1,159.65.
- name: Case 7, the deduction lowers Indiana AGI and state tax.
period: 2025
absolute_error_margin: 0.01
input:
people:
head:
age: 40
employment_income: 40_000
claim_of_right_repayment: 345
tax_units:
tax_unit:
members: [head]
households:
household:
members: [head]
state_code: IN
output:
in_claim_of_right_deduction: 345
in_deductions: 345
in_agi: 38_655
in_agi_tax: 1_159.65

# Wages $40,000, repays $10,000: Indiana AGI $40,000 - $10,000 - $1,000 =
# $29,000; tax at 3% = $870, whichever federal method applies.

- name: Case 8, Indiana tax is $870 under the federal credit method.
period: 2025
absolute_error_margin: 0.01
input:
people:
head:
age: 40
employment_income: 40_000
claim_of_right_repayment: 10_000
tax_units:
tax_unit:
members: [head]
claim_of_right_credit_applies: true
households:
household:
members: [head]
state_code: IN
output:
in_agi_tax: 870

- name: Case 9, Indiana tax is $870 under the federal deduction method on a return that itemizes.
period: 2025
absolute_error_margin: 0.01
input:
people:
head:
age: 40
employment_income: 40_000
claim_of_right_repayment: 10_000
tax_units:
tax_unit:
members: [head]
claim_of_right_credit_applies: false
tax_unit_itemizes: true
households:
household:
members: [head]
state_code: IN
output:
in_agi_tax: 870

- name: Case 10, Indiana tax is $870 under the federal deduction method on a return taking the standard deduction.
period: 2025
absolute_error_margin: 0.01
input:
people:
head:
age: 40
employment_income: 40_000
claim_of_right_repayment: 10_000
tax_units:
tax_unit:
members: [head]
claim_of_right_credit_applies: false
tax_unit_itemizes: false
households:
household:
members: [head]
state_code: IN
output:
in_agi_tax: 870

- name: Case 11, the same amount entered as an existing other deduction gives the same Indiana tax.
period: 2025
absolute_error_margin: 0.01
input:
people:
head:
age: 40
employment_income: 40_000
tax_units:
tax_unit:
members: [head]
in_other_subtractions: 10_000
households:
household:
members: [head]
state_code: IN
output:
in_agi_tax: 870
Loading
Loading