Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 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
dcf9749
Derive the states with their own claim of right rules in the cross-st…
MaxGhenis Oct 13, 2026
6d2cd4c
Model Hawaii's claim of right deduction and credit (statute reading, …
MaxGhenis Oct 13, 2026
2c83441
Property tests for Hawaii's claim of right deduction and credit
MaxGhenis Oct 13, 2026
612ea5e
List the states whose own claim of right relief applies under the fed…
MaxGhenis Oct 13, 2026
d1b8b2b
Describe Act 35 as deleting the section 67 sentence, citing DOTAX Ann…
MaxGhenis Oct 13, 2026
2d36a76
Merge main into the section 1341 branch
MaxGhenis Oct 13, 2026
73a2229
Merge #10038's merge of main into the hi-claim-of-right branch
MaxGhenis Oct 13, 2026
32b0c13
Carry the claim of right deduction into Montana itemized deductions f…
MaxGhenis Oct 13, 2026
0aa72e4
Merge #10038's Montana 2024 list change into the hi-claim-of-right br…
MaxGhenis Oct 13, 2026
6f34ccd
Merge main into the section 1341 branch
MaxGhenis Oct 14, 2026
87a7f96
Merge #10038's merge of main (6f34ccde23) into the hi-claim-of-right …
MaxGhenis Oct 14, 2026
d1c695b
Give every itemizing branch the simulation's claim of right method
MaxGhenis Oct 14, 2026
4c1e0c4
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
a046804
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
89a3130
Merge remote-tracking branch 'gh/federal-claim-of-right-1341' into hi…
MaxGhenis Oct 19, 2026
e8a24a9
Merge remote-tracking branch 'gh/main' into hi-claim-of-right
MaxGhenis Oct 19, 2026
551ce2f
Test Hawaii claim of right credit ordering and refunds
MaxGhenis Oct 19, 2026
b565542
Correct Hawaii conformity reference title
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
df1e814
Merge the final federal claim of right head into the Hawaii branch
MaxGhenis Nov 9, 2026
924f7b7
Merge main into the Hawaii claim of right branch
MaxGhenis Nov 9, 2026
f7acfc2
Correct Hawaii's floor note and update its backlog item
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/hi-claim-of-right.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Model Hawaii's claim of right relief: from 2022 the section 1341 lesser-of computed on Hawaii tax with the Form N-364 refundable credit, and repayments as 2% miscellaneous itemized deductions otherwise (through 2025).
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
description: Hawaii applies the claim of right computation of section 1341 of the Internal Revenue Code, using Hawaii tax, if this is true.
values:
2018-01-01: false
2022-01-01: true
metadata:
unit: bool
period: year
label: Hawaii section 1341 claim of right computation operative
reference:
- title: "Act 56, SLH 2023, sections 2 and 7(1) (HRS 235-2.3(b)(40); taxable years beginning after December 31, 2021) #page 3,5"
href: https://data.capitol.hawaii.gov/sessions/sessionlaws/Years/SLH2023/SLH2023_Act56.pdf#page=3
- title: "Act 35, SLH 2026 (HB2329 CD1), HRS 235-2.3(b)(45)"
href: https://data.capitol.hawaii.gov/sessions/session2026/bills/HB2329_CD1_.pdf#page=11
- title: 2025 Form N-364, Claim of Right Tax Credit
href: https://files.hawaii.gov/tax/forms/2025/n364_i.pdf
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ values:
- hi_food_excise_credit
- hi_cdcc
- hi_tax_credit_for_low_income_household_renters
- hi_claim_of_right_credit

2023-01-01:
- hi_food_excise_credit
- hi_cdcc
- hi_tax_credit_for_low_income_household_renters
- hi_eitc
- hi_claim_of_right_credit

metadata:
unit: list
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
description: Hawaii allows miscellaneous itemized deductions above two percent of Hawaii adjusted gross income, if this is true.
values:
2018-01-01: true
2026-01-01: false
metadata:
unit: bool
period: year
label: Hawaii miscellaneous itemized deductions allowed
reference:
- title: HRS 235-2.4(b) before 2026 (section 67 operative; the suspension in section 67(g) not operative)
href: https://files.hawaii.gov/tax/legal/hrs/hrs_235.pdf#page=11
- title: "Act 35, SLH 2026 (HB2329 CD1), deleting that sentence, so section 67(h) applies; taxable years beginning after December 31, 2025 #page 17-18,34"
href: https://data.capitol.hawaii.gov/sessions/session2026/bills/HB2329_CD1_.pdf#page=17
- title: Hawaii Department of Taxation Announcement 2026-06 (conformity to IRC section 67(h), which disallows miscellaneous itemized deductions)
href: https://files.hawaii.gov/tax/news/announce/ann26-06.pdf#page=2
- title: "2025 Form N-11 instructions, line 21f and Worksheet A-6 #page 19,34"
href: https://files.hawaii.gov/tax/forms/2025/n11ins.pdf#page=19
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ values:
- hi_interest_deduction
- hi_casualty_loss_deduction
- hi_salt_deduction
- hi_claim_of_right_deduction
metadata:
unit: list
period: year
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
# Hawaii: section 1341 operative from 2022 (Act 56, SLH 2023, sections 2 and
# 7(1)), with the credit figured on Form N-364 from prior-year Hawaii tax and
# "whichever results in the least tax". Before 2022, and for repayments of
# $3,000 or less, a repayment is a miscellaneous itemized deduction above 2% of
# Hawaii AGI (Worksheet A-6) while Hawaii allows those (through 2025; Act 35,
# SLH 2026). This file follows the statute for 2022-2025; the 2022-2025 N-11
# instructions list the items the other way round (see the PR).

- name: Case 1, the Hawaii credit method gives the prior-year Hawaii tax decrease as a credit and no deduction.
period: 2025
input:
people:
head:
age: 40
claim_of_right_repayment: 10_000
tax_units:
tax_unit:
members: [head]
hi_claim_of_right_credit_applies: true
hi_claim_of_right_prior_year_tax_decrease: 600
households:
household:
members: [head]
state_code: HI
output:
hi_claim_of_right_section_1341_eligible: true
hi_claim_of_right_credit: 600
hi_claim_of_right_deduction: 0

- name: Case 2, the Hawaii deduction method deducts the whole repayment outside the 2% floor.
period: 2025
input:
people:
head:
age: 40
employment_income: 50_000
claim_of_right_repayment: 10_000
tax_units:
tax_unit:
members: [head]
hi_claim_of_right_credit_applies: false
hi_claim_of_right_prior_year_tax_decrease: 600
households:
household:
members: [head]
state_code: HI
output:
hi_claim_of_right_credit: 0
hi_claim_of_right_deduction: 10_000

# Wages $60,000, repays $10,000; the earlier year's Hawaii tax would fall by
# $1,500. Deducting $10,000 saves at most 11% x $10,000 = $1,100, the top
# Hawaii rate, so the credit gives less tax.
- name: Case 8, Hawaii uses the credit when the earlier year's Hawaii tax decrease exceeds what the deduction saves.
absolute_error_margin: 0.01
period: 2025
input:
people:
head:
age: 40
employment_income: 60_000
claim_of_right_repayment: 10_000
tax_units:
tax_unit:
members: [head]
hi_claim_of_right_prior_year_tax_decrease: 1_500
households:
household:
members: [head]
state_code: HI
output:
hi_claim_of_right_credit_applies: true
hi_claim_of_right_credit: 1_500
hi_claim_of_right_deduction: 0
hi_income_tax: 1_529.86

# Wages $100,000, $20,000 of charity, repays $10,000; the earlier year's Hawaii
# tax would fall by $100. The filer itemizes either way, and $10,000 of
# deduction saves at least 1.4% x $10,000 = $140, the lowest Hawaii rate, so
# the deduction gives less tax.
- name: Case 9, Hawaii uses the deduction when it saves more than the prior-year decrease.
absolute_error_margin: 0.01
period: 2025
input:
people:
head:
age: 40
employment_income: 100_000
charitable_cash_donations: 20_000
claim_of_right_repayment: 10_000
tax_units:
tax_unit:
members: [head]
hi_claim_of_right_prior_year_tax_decrease: 100
households:
household:
members: [head]
state_code: HI
output:
hi_claim_of_right_credit_applies: false
hi_claim_of_right_deduction: 10_000
hi_claim_of_right_credit: 0
hi_income_tax: 4_124.26
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
# Hawaii: section 1341 operative from 2022 (Act 56, SLH 2023, sections 2 and
# 7(1)), with the credit figured on Form N-364 from prior-year Hawaii tax and
# "whichever results in the least tax". Before 2022, and for repayments of
# $3,000 or less, a repayment is a miscellaneous itemized deduction above 2% of
# Hawaii AGI (Worksheet A-6) while Hawaii allows those (through 2025; Act 35,
# SLH 2026). This file follows the statute for 2022-2025; the 2022-2025 N-11
# instructions list the items the other way round (see the PR).

# Wages $50,000, so Hawaii AGI $50,000 and the 2% floor is $1,000.
- name: Case 3, a repayment of $3,000 is a miscellaneous deduction above 2% of Hawaii AGI.
period: 2025
input:
people:
head:
age: 40
employment_income: 50_000
claim_of_right_repayment: 3_000
tax_units:
tax_unit:
members: [head]
households:
household:
members: [head]
state_code: HI
output:
hi_agi: 50_000
hi_claim_of_right_section_1341_eligible: false
hi_claim_of_right_deduction: 2_000
hi_claim_of_right_credit: 0

# Before 2022 section 1341 is excluded in Hawaii; the 2018-2021 N-11
# instructions: "Repayments under a claim of right over $3,000 are subject to
# the 2% limitation for Hawaii income tax purposes."
- name: Case 4, in 2021 a $10,000 repayment is floored at 2% of Hawaii AGI and gets no credit.
period: 2021
input:
people:
head:
age: 40
employment_income: 50_000
claim_of_right_repayment: 10_000
tax_units:
tax_unit:
members: [head]
hi_claim_of_right_prior_year_tax_decrease: 600
households:
household:
members: [head]
state_code: HI
output:
hi_claim_of_right_section_1341_eligible: false
hi_claim_of_right_credit_applies: false
hi_claim_of_right_deduction: 9_000
hi_claim_of_right_credit: 0

- name: Case 5, from 2026 a repayment of $3,000 or less is not deductible.
period: 2026
input:
people:
head:
age: 40
employment_income: 50_000
claim_of_right_repayment: 2_000
tax_units:
tax_unit:
members: [head]
households:
household:
members: [head]
state_code: HI
output:
hi_claim_of_right_deduction: 0

- name: Case 6, a repayment of income Hawaii never taxed gets neither a deduction nor a credit.
period: 2025
input:
people:
head:
age: 40
employment_income: 50_000
claim_of_right_repayment: 10_000
hi_claim_of_right_repayment_excluded_from_income: 10_000
tax_units:
tax_unit:
members: [head]
hi_claim_of_right_prior_year_tax_decrease: 600
households:
household:
members: [head]
state_code: HI
output:
hi_claim_of_right_repayment: 0
hi_claim_of_right_deduction: 0
hi_claim_of_right_credit: 0

- name: Case 7, a joint return counts both spouses' repayments toward $3,000 but not a dependent's.
period: 2025
input:
people:
head:
age: 40
claim_of_right_repayment: 2_000
spouse:
age: 40
claim_of_right_repayment: 2_000
child:
age: 17
claim_of_right_repayment: 5_000
tax_units:
tax_unit:
members: [head, spouse, child]
hi_claim_of_right_credit_applies: false
households:
household:
members: [head, spouse, child]
state_code: HI
output:
hi_claim_of_right_repayment: 4_000
hi_claim_of_right_section_1341_eligible: true
hi_claim_of_right_deduction: 4_000

- name: Case 10, outside Hawaii.
period: 2025
input:
people:
head:
age: 40
claim_of_right_repayment: 10_000
tax_units:
tax_unit:
members: [head]
hi_claim_of_right_prior_year_tax_decrease: 600
households:
household:
members: [head]
state_code: CA
output:
hi_claim_of_right_deduction: 0
hi_claim_of_right_credit: 0
Loading
Loading