diff --git a/changelog.d/or-retirement-credit-kids-credit-income.fixed.md b/changelog.d/or-retirement-credit-kids-credit-income.fixed.md new file mode 100644 index 00000000000..351f1830bbc --- /dev/null +++ b/changelog.d/or-retirement-credit-kids-credit-income.fixed.md @@ -0,0 +1 @@ +Count the exempt income and the losses above $1,000 per category that ORS 316.157 adds to household income for Oregon's retirement income credit, and add losses above $20,000 and, from 2025, excluded foreign earned income to qualifying income for the Oregon Kids Credit. diff --git a/policyengine_us/parameters/gov/states/or/tax/income/credits/ctc/qualifying_income/additions.yaml b/policyengine_us/parameters/gov/states/or/tax/income/credits/ctc/qualifying_income/additions.yaml new file mode 100644 index 00000000000..cb0c20963fe --- /dev/null +++ b/policyengine_us/parameters/gov/states/or/tax/income/credits/ctc/qualifying_income/additions.yaml @@ -0,0 +1,20 @@ +description: Oregon adds these amounts excluded from adjusted gross income to qualifying income for its Kids Credit. +values: + 2023-01-01: [] + # Oregon Laws 2025, chapter 321, section 16 adds ORS 315.273(1)(c)(A)(ii): + # "Foreign earned income, as defined in section 911 of the Internal Revenue + # Code, that is excluded from adjusted gross income." Section 17(2) applies + # it to tax years beginning on or after January 1, 2025. + 2025-01-01: + - section_911_excluded_income +metadata: + unit: list + period: year + label: Oregon Kids Credit qualifying income additions + reference: + - title: Oregon Laws 2025, chapter 321, section 16 (ORS 315.273(1)(c)(A)(ii)) + href: https://www.oregonlegislature.gov/bills_laws/lawsstatutes/2025orlaw0321.pdf#page=7 + - title: Oregon Laws 2025, chapter 321, section 17(2) (tax years beginning on or after January 1, 2025) + href: https://www.oregonlegislature.gov/bills_laws/lawsstatutes/2025orlaw0321.pdf#page=8 + - title: 2025 Oregon Income Tax Form OR-40 Instructions, Oregon Kids Credit worksheet line 12 + href: https://www.oregon.gov/dor/forms/FormsPubs/form-or-40-inst_101-040-1_2025.pdf#page=24 diff --git a/policyengine_us/parameters/gov/states/or/tax/income/credits/ctc/qualifying_income/loss_threshold.yaml b/policyengine_us/parameters/gov/states/or/tax/income/credits/ctc/qualifying_income/loss_threshold.yaml new file mode 100644 index 00000000000..011e33ceadf --- /dev/null +++ b/policyengine_us/parameters/gov/states/or/tax/income/credits/ctc/qualifying_income/loss_threshold.yaml @@ -0,0 +1,20 @@ +description: Oregon adds the losses of a filer exceeding this amount back to qualifying income for its Kids Credit. +values: + # ORS 315.273(5) adjusts only the credit amount and the phase-out start in + # subsections (3) and (4) for inflation, so this amount is fixed. + 2023-01-01: 20_000 +metadata: + unit: currency-USD + period: year + label: Oregon Kids Credit loss add-back threshold + reference: + - title: 2023R1 House Bill 3235 Section 2 (1)(c) + href: https://olis.oregonlegislature.gov/liz/2023R1/Downloads/MeasureDocument/HB3235/Enrolled#page=1 + - title: Oregon Laws 2025, chapter 321, section 16 (ORS 315.273(1)(c)(A)(i)) + href: https://www.oregonlegislature.gov/bills_laws/lawsstatutes/2025orlaw0321.pdf#page=7 + - title: 2023 Oregon Income Tax Form OR-40 Instructions, Oregon Kids Credit worksheet line 10 + href: https://www.oregon.gov/dor/forms/FormsPubs/form-or-40-inst_101-040-1_2023.pdf#page=19 + - title: 2024 Oregon Income Tax Form OR-40 Instructions, Oregon Kids Credit worksheet line 10 + href: https://www.oregon.gov/dor/forms/FormsPubs/form-or-40-inst_101-040-1_2024.pdf#page=20 + - title: 2025 Oregon Income Tax Form OR-40 Instructions, Oregon Kids Credit worksheet line 11 + href: https://www.oregon.gov/dor/forms/FormsPubs/form-or-40-inst_101-040-1_2025.pdf#page=24 diff --git a/policyengine_us/parameters/gov/states/or/tax/income/credits/ctc/reduction/start.yaml b/policyengine_us/parameters/gov/states/or/tax/income/credits/ctc/reduction/start.yaml index f9bfb47fc8b..948794cde39 100644 --- a/policyengine_us/parameters/gov/states/or/tax/income/credits/ctc/reduction/start.yaml +++ b/policyengine_us/parameters/gov/states/or/tax/income/credits/ctc/reduction/start.yaml @@ -1,4 +1,4 @@ -description: Oregon reduces its Child Tax Credit for filers with Oregon adjusted gross income exceeding this amount. +description: Oregon reduces its Child Tax Credit for filers with qualifying income exceeding this amount. values: 2023-01-01: 25_000 2024-01-01: 25_750 diff --git a/policyengine_us/parameters/gov/states/or/tax/income/credits/retirement_income/household_income/additions.yaml b/policyengine_us/parameters/gov/states/or/tax/income/credits/retirement_income/household_income/additions.yaml new file mode 100644 index 00000000000..3d851d651be --- /dev/null +++ b/policyengine_us/parameters/gov/states/or/tax/income/credits/retirement_income/household_income/additions.yaml @@ -0,0 +1,52 @@ +description: Oregon adds these otherwise exempt income sources to federal adjusted gross income when computing household income for the retirement income credit. +values: + 2018-01-01: + # ORS 316.157(2)(c)(A)(ii): "Child support received by the taxpayer." + - child_support_received + # (A)(vii): "Accident and health insurance proceeds, except reimbursement + # of incurred medical expenses", and (A)(ix): "Sick pay that is not + # included in federal adjusted gross income." The taxable part of + # disability_benefits is already in adjusted gross income. + - tax_exempt_disability_benefits + # (A)(x): "Strike benefits excluded from federal gross income." Taxable + # strike benefits are already in adjusted gross income. + - tax_exempt_strike_benefits + # (A)(xi): "Worker's compensation, except for reimbursement of medical + # expense." + - workers_compensation + # (A)(xiii): "Veteran's benefits." + - veterans_benefits + # (A)(xiv): "Payments received under the federal Social Security Act that + # are excluded from federal gross income." Subsection (2)(b) leaves out + # only Social Security benefits as defined in IRC 86 ((2)(f): Title II + # and tier 1 railroad retirement benefits), which SSI is not. + - ssi + # (A)(xv): "Welfare payments", other than payments for medical care made + # to providers, in-home services and work or training reimbursements. + # tanf is an SPM unit amount; the tax unit counts its members' shares. + - tanf + - general_assistance + # The Oregon Supplemental Income Program, which the household income + # checklist (page 128) counts. + - or_ssp + # (A)(xvii): "Nontaxable interest not included in federal adjusted gross + # income." + - tax_exempt_interest_income + # (A)(xix): "Income from sources without the United States that is + # excluded from federal gross income." + - section_911_excluded_income +metadata: + unit: list + period: year + label: Oregon retirement income credit household income additions + reference: + - title: ORS 316.157(2)(c)(A), credit for retirement income (2023 edition) + href: https://www.oregonlegislature.gov/bills_laws/Archive/2023ors316.pdf#page=25 + - title: ORS 316.157(2)(c)(A), credit for retirement income (2025 edition) + href: https://www.oregonlegislature.gov/bills_laws/ors/ors316.html + - title: 2025 Publication OR-17, What's included in household income? + href: https://www.oregon.gov/dor/forms/FormsPubs/publication-or-17_101-431_2025.pdf#page=107 + - title: 2025 Publication OR-17, Household income checklist + href: https://www.oregon.gov/dor/forms/FormsPubs/publication-or-17_101-431_2025.pdf#page=127 + - title: 2025 Publication OR-17, Household income checklist (public assistance, Social Security, strike benefits and workers' compensation) + href: https://www.oregon.gov/dor/forms/FormsPubs/publication-or-17_101-431_2025.pdf#page=128 diff --git a/policyengine_us/parameters/gov/states/or/tax/income/credits/retirement_income/household_income/filer_amounts_recorded_on_dependents.yaml b/policyengine_us/parameters/gov/states/or/tax/income/credits/retirement_income/household_income/filer_amounts_recorded_on_dependents.yaml new file mode 100644 index 00000000000..45c57dc84c6 --- /dev/null +++ b/policyengine_us/parameters/gov/states/or/tax/income/credits/retirement_income/household_income/filer_amounts_recorded_on_dependents.yaml @@ -0,0 +1,16 @@ +description: Oregon counts these household income additions for the retirement income credit when they are recorded on a dependent, because the taxpayer receives them. +values: + 2018-01-01: + # ORS 316.157(2)(c)(A)(ii): "Child support received by the taxpayer." + # Support paid to the custodial parent for a child may be recorded on the + # child. + - child_support_received +metadata: + unit: list + period: year + label: Oregon retirement income credit household income additions recorded on dependents + reference: + - title: ORS 316.157(2)(b) and (2)(c)(A)(ii), credit for retirement income (2023 edition) + href: https://www.oregonlegislature.gov/bills_laws/Archive/2023ors316.pdf#page=25 + - title: ORS 316.157(2)(b) and (2)(c)(A)(ii), credit for retirement income (2025 edition) + href: https://www.oregonlegislature.gov/bills_laws/ors/ors316.html diff --git a/policyengine_us/parameters/gov/states/or/tax/income/credits/retirement_income/household_income/loss_limit.yaml b/policyengine_us/parameters/gov/states/or/tax/income/credits/retirement_income/household_income/loss_limit.yaml new file mode 100644 index 00000000000..55e5b2bb2da --- /dev/null +++ b/policyengine_us/parameters/gov/states/or/tax/income/credits/retirement_income/household_income/loss_limit.yaml @@ -0,0 +1,14 @@ +description: Oregon counts a net loss in each category of business, farm, rental and property disposition income up to this amount when computing household income for the retirement income credit. +values: + 2018-01-01: 1_000 +metadata: + unit: currency-USD + period: year + label: Oregon retirement income credit household income loss limit + reference: + - title: "ORS 316.157(2)(c)(B)(i)-(iv), credit for retirement income (2023 edition) #page 25-26" + href: https://www.oregonlegislature.gov/bills_laws/Archive/2023ors316.pdf#page=25 + - title: ORS 316.157(2)(c)(B)(i)-(iv), credit for retirement income (2025 edition) + href: https://www.oregonlegislature.gov/bills_laws/ors/ors316.html + - title: 2025 Publication OR-17, What's included in household income? + href: https://www.oregon.gov/dor/forms/FormsPubs/publication-or-17_101-431_2025.pdf#page=107 diff --git a/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/credits/or_ctc.yaml b/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/credits/or_ctc.yaml index 5f66e285a02..1691a90d0b8 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/credits/or_ctc.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/credits/or_ctc.yaml @@ -295,3 +295,193 @@ state_code: OR output: or_ctc: 1_050 + +# Qualifying income, ORS 315.273(1)(c)(A): "adjusted gross income ... as +# modified using Oregon subtractions and additions, but with the sum of the +# following added back: (i) Losses of the taxpayer, to the extent that those +# losses exceed $20,000; and (ii) Foreign earned income, as defined in section +# 911 of the Internal Revenue Code, that is excluded from adjusted gross +# income." Item (ii) applies from 2025 (Oregon Laws 2025, chapter 321, +# section 17(2)). 2025 Form OR-40 instructions, Oregon Kids Credit worksheet +# Part B (page 24): line 11b is the business loss from Form 1040, Schedule 1, +# line 3, and line 12 the exclusion from Schedule 1, line 8d. These cases set +# or_agi directly so they do not depend on Oregon's subtractions. + +- name: 2025 - a business loss above $20,000 is added back to qualifying income. + period: 2025 + input: + people: + parent: + age: 30 + employment_income: 70_000 + self_employment_income: -45_000 + child: + age: 3 + is_tax_unit_dependent: true + tax_units: + tax_unit: + members: [parent, child] + # Federal AGI 70,000 - 45,000 = 25,000. + or_agi: 25_000 + households: + household: + members: [parent, child] + state_code: OR + output: + # Loss 45,000; excess over 20,000 = 25,000. + # Qualifying income = 25,000 + 25,000 = 50,000, over the 2025 ceiling of + # 31,550 (26,550 + 5,000), so no credit. + or_ctc_qualifying_income: 50_000 + or_ctc: 0 + +- name: 2025 - losses of exactly $20,000 are not added back. + period: 2025 + input: + people: + parent: + age: 30 + employment_income: 46_550 + self_employment_income: -20_000 + child: + age: 3 + is_tax_unit_dependent: true + tax_units: + tax_unit: + members: [parent, child] + or_agi: 26_550 + households: + household: + members: [parent, child] + state_code: OR + output: + # Loss 20,000 does not exceed 20,000. Qualifying income 26,550 is at the + # phase-out start, so the full 1,050. + or_ctc_qualifying_income: 26_550 + or_ctc: 1_050 + +- name: 2025 - losses of $21,000 add back $1,000. + period: 2025 + input: + people: + parent: + age: 30 + employment_income: 47_550 + self_employment_income: -21_000 + child: + age: 3 + is_tax_unit_dependent: true + tax_units: + tax_unit: + members: [parent, child] + or_agi: 26_550 + households: + household: + members: [parent, child] + state_code: OR + output: + # Qualifying income 26,550 + (21,000 - 20,000) = 27,550. + # Reduction (27,550 - 26,550) / 5,000 = 20%: 1,050 x 0.8 = 840. + or_ctc_qualifying_income: 27_550 + or_ctc: 840 + +- name: 2025 - losses on separate worksheet lines are added together, with the capital loss as deducted. + period: 2025 + input: + people: + parent: + age: 30 + long_term_capital_gains: -5_000 + rental_income: -18_000 + child: + age: 3 + is_tax_unit_dependent: true + tax_units: + tax_unit: + members: [parent, child] + or_agi: 26_550 + households: + household: + members: [parent, child] + state_code: OR + output: + # Line 11a: Form 1040 line 7a limits the capital loss to 3,000 (IRC + # 1211(b)). Line 11d: rental loss 18,000. Total 21,000; excess 1,000. + # Qualifying income 26,550 + 1,000 = 27,550: 1,050 x 0.8 = 840. + or_ctc_qualifying_income: 27_550 + or_ctc: 840 + +- name: 2025 - excluded foreign earned income is added to qualifying income. + period: 2025 + absolute_error_margin: 0.01 + input: + people: + parent: + age: 30 + child: + age: 3 + is_tax_unit_dependent: true + tax_units: + tax_unit: + members: [parent, child] + or_agi: 20_000 + foreign_earned_income_exclusion: 10_000 + households: + household: + members: [parent, child] + state_code: OR + output: + # ORS 315.273(1)(c)(A)(ii): qualifying income 20,000 + 10,000 = 30,000. + # Reduction (30,000 - 26,550) / 5,000 = 69%: 1,050 x 0.31 = 325.50. + or_ctc_qualifying_income: 30_000 + or_ctc: 325.5 + +- name: 2024 - excluded foreign earned income is not yet added. + period: 2024 + input: + people: + parent: + age: 30 + child: + age: 3 + is_tax_unit_dependent: true + tax_units: + tax_unit: + members: [parent, child] + or_agi: 20_000 + foreign_earned_income_exclusion: 10_000 + households: + household: + members: [parent, child] + state_code: OR + output: + # Before 2025 the statute added back only losses, and the 2024 worksheet + # (page 20) has no exclusion line. Qualifying income 20,000 is under the + # 25,750 phase-out start: the full 1,000. + or_ctc_qualifying_income: 20_000 + or_ctc: 1_000 + +- name: 2023 - losses above $20,000 are added back from the first year. + period: 2023 + input: + people: + parent: + age: 30 + employment_income: 47_500 + self_employment_income: -22_500 + child: + age: 3 + is_tax_unit_dependent: true + tax_units: + tax_unit: + members: [parent, child] + or_agi: 25_000 + households: + household: + members: [parent, child] + state_code: OR + output: + # HB 3235 (2023) Section 2(1)(c): "losses of a taxpayer added back, to + # the extent that those losses exceed $20,000". Qualifying income + # 25,000 + 2,500 = 27,500. Reduction 2,500 / 5,000 = 50%: 1,000 x 0.5 = 500. + or_ctc_qualifying_income: 27_500 + or_ctc: 500 diff --git a/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/credits/retirement_income/or_retirement_credit.yaml b/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/credits/retirement_income/or_retirement_credit.yaml index 59d020855c0..cdbc1fa4379 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/credits/retirement_income/or_retirement_credit.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/credits/retirement_income/or_retirement_credit.yaml @@ -219,3 +219,17 @@ state_code: OR output: or_retirement_credit: 675 + +- name: Veterans' benefits in household income reduce the credit + period: 2025 + input: + age: 66 + taxable_private_pension_income: 14_000 + veterans_benefits: 4_000 + state_code: OR + output: + # ORS 316.157(2)(c)(A)(xiii): household income 14,000 + 4,000 = 18,000. + or_retirement_credit_household_income: 18_000 + # (2)(d)(B): 7,500 - 0 Social Security - (18,000 - 15,000) = 4,500, less + # than the 14,000 pension. 4,500 x 9% = 405. + or_retirement_credit: 405 diff --git a/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/credits/retirement_income/or_retirement_credit_household_income.yaml b/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/credits/retirement_income/or_retirement_credit_household_income.yaml new file mode 100644 index 00000000000..d602fc622fb --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/or/tax/income/credits/retirement_income/or_retirement_credit_household_income.yaml @@ -0,0 +1,368 @@ +# ORS 316.157(2)(c): "Income" means federal adjusted gross income "with the +# following modifications: (A) There shall be added to adjusted gross income +# the following items of otherwise exempt income: ... (B) Adjusted gross income +# shall be increased due to the disallowance of the following deductions: ...". +# 2025 Publication OR-17, page 107 ("What's included in household income?") +# and the household income checklist, pages 127-128. +# The filers are 63: old enough for the credit (62) but too young for SSI as +# aged (65), so no SSI is computed for them, which household income would +# count. + +- name: Veterans' benefits are added to adjusted gross income + period: 2025 + input: + age: 63 + taxable_private_pension_income: 10_000 + veterans_benefits: 6_000 + state_code: OR + output: + # ORS 316.157(2)(c)(A)(xiii): "Veteran's benefits." + # 10,000 + 6,000 = 16,000. + or_retirement_credit_household_income: 16_000 + +- name: Workers' compensation is added to adjusted gross income + period: 2025 + input: + age: 63 + taxable_private_pension_income: 10_000 + workers_compensation: 4_000 + state_code: OR + output: + # (2)(c)(A)(xi): "Worker's compensation, except for reimbursement of + # medical expense." 10,000 + 4,000 = 14,000. + or_retirement_credit_household_income: 14_000 + +- name: Child support received is added to adjusted gross income + period: 2025 + input: + age: 63 + taxable_private_pension_income: 10_000 + child_support_received: 3_000 + state_code: OR + output: + # (2)(c)(A)(ii): "Child support received by the taxpayer." + # 10,000 + 3,000 = 13,000. + or_retirement_credit_household_income: 13_000 + +- name: SSI is added, as it is not a section 86 Social Security benefit + period: 2025 + input: + age: 63 + taxable_private_pension_income: 5_000 + ssi: 6_000 + state_code: OR + output: + # (2)(c)(A)(xiv): "Payments received under the federal Social Security Act + # that are excluded from federal gross income." (2)(b) and (2)(f) leave out + # only "Title II Social Security or tier 1 railroad retirement benefits". + # Checklist, page 128: "Supplemental Security Income (SSI) Yes". + # 5,000 + 6,000 = 11,000. + or_retirement_credit_household_income: 11_000 + +- name: General assistance is a welfare payment + period: 2025 + input: + age: 63 + taxable_private_pension_income: 10_000 + general_assistance: 2_000 + state_code: OR + output: + # (2)(c)(A)(xv): "Welfare payments", other than medical care paid to + # providers, in-home services and work program reimbursements. + # 10,000 + 2,000 = 12,000. + or_retirement_credit_household_income: 12_000 + +- name: Taxable strike benefits count through adjusted gross income + period: 2025 + input: + age: 63 + taxable_private_pension_income: 10_000 + strike_benefits: 2_000 + state_code: OR + output: + # Strike benefits are taxable unless they are gifts, so they are in + # federal AGI: 10,000 + 2,000 = 12,000. + adjusted_gross_income: 12_000 + or_retirement_credit_household_income: 12_000 + +- name: Strike benefits excluded from federal gross income are added + period: 2025 + input: + age: 63 + taxable_private_pension_income: 10_000 + # Benefits the union paid as a gift: excluded from federal gross income. + strike_benefits: 2_000 + tax_exempt_strike_benefits: 2_000 + state_code: OR + output: + adjusted_gross_income: 10_000 + # (2)(c)(A)(x): "Strike benefits excluded from federal gross income." + # 10,000 + 2,000 = 12,000. + or_retirement_credit_household_income: 12_000 + +- name: Nontaxable disability insurance benefits are added + period: 2025 + input: + age: 63 + taxable_private_pension_income: 10_000 + # A policy the taxpayer paid for: excluded from federal gross income. + disability_benefits: 6_000 + tax_exempt_disability_benefits: 6_000 + state_code: OR + output: + adjusted_gross_income: 10_000 + # (2)(c)(A)(vii): "Accident and health insurance proceeds, except + # reimbursement of incurred medical expenses"; checklist, page 127: + # "Disability income (entire amount) Yes". + # 10,000 + 6,000 = 16,000. + or_retirement_credit_household_income: 16_000 + +- name: Foreign earned income excluded under section 911 is added + period: 2025 + input: + age: 63 + taxable_private_pension_income: 10_000 + # Income inputs are net of the exclusion, so AGI holds none of it. + foreign_earned_income_exclusion: 5_000 + state_code: OR + output: + adjusted_gross_income: 10_000 + # (2)(c)(A)(xix): "Income from sources without the United States that is + # excluded from federal gross income." 10,000 + 5,000 = 15,000. + or_retirement_credit_household_income: 15_000 + +- name: A business loss counts only up to 1,000 + period: 2025 + input: + age: 63 + taxable_private_pension_income: 20_000 + self_employment_income: -5_000 + state_code: OR + output: + # Federal AGI: 20,000 - 5,000 = 15,000. + adjusted_gross_income: 15_000 + # (2)(c)(B)(iii): add back "the net loss, in excess of $1,000, from all + # operations of a trade or business": 5,000 - 1,000 = 4,000. + or_retirement_credit_disallowed_losses: 4_000 + # 15,000 + 4,000 = 19,000. + or_retirement_credit_household_income: 19_000 + +- name: A business loss of exactly 1,000 is not added back + period: 2025 + input: + age: 63 + taxable_private_pension_income: 20_000 + self_employment_income: -1_000 + state_code: OR + output: + # Federal AGI: 20,000 - 1,000 = 19,000. The loss does not exceed 1,000. + adjusted_gross_income: 19_000 + or_retirement_credit_disallowed_losses: 0 + or_retirement_credit_household_income: 19_000 + +- name: A business loss of 1,001 adds back 1 + period: 2025 + input: + age: 63 + taxable_private_pension_income: 20_000 + self_employment_income: -1_001 + state_code: OR + output: + # Federal AGI: 20,000 - 1,001 = 18,999. Add back 1,001 - 1,000 = 1. + adjusted_gross_income: 18_999 + or_retirement_credit_disallowed_losses: 1 + # 18,999 + 1 = 19,000. + or_retirement_credit_household_income: 19_000 + +- name: A capital loss counts only up to 1,000 + period: 2025 + input: + age: 63 + taxable_private_pension_income: 20_000 + long_term_capital_gains: -3_000 + state_code: OR + output: + # Federal AGI: 20,000 less the 3,000 capital loss deduction = 17,000. + adjusted_gross_income: 17_000 + # (2)(c)(B)(i): add back "the net loss, in excess of $1,000, from all + # dispositions of tangible or intangible properties": 3,000 - 1,000. + or_retirement_credit_disallowed_losses: 2_000 + # 17,000 + 2,000 = 19,000. + or_retirement_credit_household_income: 19_000 + +- name: Only the capital loss deducted in adjusted gross income is added back + period: 2025 + input: + age: 63 + taxable_private_pension_income: 20_000 + long_term_capital_gains: -10_000 + state_code: OR + output: + # IRC 1211(b) limits the deduction to 3,000, so federal AGI is 17,000 and + # the rest of the loss carries over. The add-back is the deducted loss + # above 1,000: 3,000 - 1,000 = 2,000. + adjusted_gross_income: 17_000 + or_retirement_credit_disallowed_losses: 2_000 + # 17,000 + 2,000 = 19,000. + or_retirement_credit_household_income: 19_000 + +- name: A capital loss carryover offsets the year's gain + period: 2025 + input: + age: 63 + taxable_private_pension_income: 10_000 + # A 4,000 gain in the year less a 4,000 long-term carryover: + # long_term_capital_gains is net of the carryover. + long_term_capital_gains: 0 + long_term_capital_loss_carryover: 4_000 + state_code: OR + output: + adjusted_gross_income: 10_000 + # ORS 316.157(2)(c)(B) disallows net operating loss carryovers ((B)(v)) + # but no capital loss carryover; under IRC 1212(b) the carryover nets with + # the year's dispositions, which here show no net loss. Household income + # is AGI: 10,000. + # Publication OR-17, page 107, says "Capital loss carryforwards aren't + # allowed", and its checklist (page 127) lists "Capital loss carryover No": + # that reading adds the 4,000 back, for 14,000. PolicyEngine follows the + # statute; the conflict is recorded in source_conflicts/candidates.yaml + # (us-or:retirement-credit-capital-loss-carryover). + or_retirement_credit_household_income: 10_000 + +- name: Each loss category nets the couple's income and losses separately + period: 2025 + input: + people: + head: + age: 63 + is_tax_unit_head: true + is_tax_unit_spouse: false + taxable_private_pension_income: 20_000 + rental_income: 3_000 + self_employment_income: -4_000 + spouse: + age: 63 + is_tax_unit_head: false + is_tax_unit_spouse: true + rental_income: -6_000 + farm_operations_income: -500 + tax_units: + tax_unit: + members: [head, spouse] + households: + household: + members: [head, spouse] + state_code: OR + output: + # Federal AGI: 20,000 + 3,000 - 4,000 - 6,000 - 500 = 12,500. + adjusted_gross_income: 12_500 + # Publication OR-17, page 107: "Combine all income from similar sources + # for net income or loss. Any net loss from the source is limited to + # $1,000." + # (B)(iii) business: net loss 4,000 -> add back 3,000. + # (B)(iv) rents: 3,000 - 6,000 = net loss 3,000 -> add back 2,000. + # (B)(ii) farm: net loss 500, under 1,000 -> nothing. + or_retirement_credit_disallowed_losses: 5_000 + # 12,500 + 5,000 = 17,500. + or_retirement_credit_household_income: 17_500 + +- name: A dependent's SSI is not the taxpayer's income + period: 2025 + input: + people: + head: + age: 63 + taxable_private_pension_income: 10_000 + son: + age: 35 + is_tax_unit_dependent: true + ssi: 9_000 + tax_units: + tax_unit: + members: [head, son] + households: + household: + members: [head, son] + state_code: OR + output: + # (2)(b): household income is "the aggregate income of the taxpayer and + # the spouse of the taxpayer". The son's SSI is his own income. + or_retirement_credit_household_income: 10_000 + +- name: Child support recorded on the child counts as the taxpayer's + period: 2025 + input: + people: + head: + age: 63 + taxable_private_pension_income: 10_000 + child: + age: 10 + is_tax_unit_dependent: true + child_support_received: 3_000 + tax_units: + tax_unit: + members: [head, child] + spm_units: + spm_unit: + members: [head, child] + # Set so the case isolates child support. + tanf: 0 + households: + household: + members: [head, child] + state_code: OR + output: + # (2)(c)(A)(ii): "Child support received by the taxpayer": paid to the + # custodial parent for the child. 10,000 + 3,000 = 13,000. + or_retirement_credit_household_income: 13_000 + +- name: TANF paid to the family counts in full + period: 2025 + input: + people: + head: + age: 63 + taxable_private_pension_income: 10_000 + grandchild: + age: 8 + is_tax_unit_dependent: true + tax_units: + tax_unit: + members: [head, grandchild] + spm_units: + spm_unit: + members: [head, grandchild] + tanf: 3_000 + households: + household: + members: [head, grandchild] + state_code: OR + output: + # (2)(c)(A)(xv): "Welfare payments"; checklist, page 128: "Temporary + # Assistance for Needy Families (TANF) Yes". The tax unit is the whole + # SPM unit, so all 3,000 counts: 10,000 + 3,000 = 13,000. + or_retirement_credit_household_income: 13_000 + +- name: A business loss above the section 461(l) limit is added back only as deducted + period: 2025 + input: + age: 63 + taxable_private_pension_income: 12_000 + self_employment_income: -400_000 + state_code: OR + output: + # IRC 461(l): the 2025 limit for a single filer is 313,000, so + # 400,000 - 313,000 = 87,000 is an excess business loss that adjusted + # gross income does not deduct. + excess_business_loss: 87_000 + # Federal AGI: 12,000 - 313,000 = -301,000. + adjusted_gross_income: -301_000 + # (2)(c)(B)(iii): add back the net loss deducted in AGI, in excess of + # 1,000: 313,000 - 1,000 = 312,000. + or_retirement_credit_disallowed_losses: 312_000 + # -301,000 + 312,000 = 11,000. + or_retirement_credit_household_income: 11_000 + # (2)(d)(B): 7,500 - 0 Social Security - 0 household income over 15,000 + # = 7,500, less than the 12,000 pension. 7,500 x 9% = 675. + or_retirement_credit: 675 diff --git a/policyengine_us/variables/gov/states/or/tax/income/credits/or_ctc.py b/policyengine_us/variables/gov/states/or/tax/income/credits/or_ctc.py index 1b71434a4a9..a04fd2406a0 100644 --- a/policyengine_us/variables/gov/states/or/tax/income/credits/or_ctc.py +++ b/policyengine_us/variables/gov/states/or/tax/income/credits/or_ctc.py @@ -35,10 +35,10 @@ def formula(tax_unit, period, parameters): capped_count_eligible = min_(count_eligible, p.child_limit) # Get maximum credit amount. max_credit = p.amount * capped_count_eligible - # Get Oregon adjusted gross income. - or_agi = tax_unit("or_agi", period) - # Reduce credit amount over the phaseout range. - excess_agi = max_(or_agi - p.reduction.start, 0) - percent_reduction = min_(excess_agi / p.reduction.width, 1) + # ORS 315.273(3)-(4): reduce the credit over the phase-out range of + # the qualifying income limit. + qualifying_income = tax_unit("or_ctc_qualifying_income", period) + excess_income = max_(qualifying_income - p.reduction.start, 0) + percent_reduction = min_(excess_income / p.reduction.width, 1) # Return reduced amount. return max_credit * (1 - percent_reduction) diff --git a/policyengine_us/variables/gov/states/or/tax/income/credits/or_ctc_qualifying_income.py b/policyengine_us/variables/gov/states/or/tax/income/credits/or_ctc_qualifying_income.py new file mode 100644 index 00000000000..00e99bc73fe --- /dev/null +++ b/policyengine_us/variables/gov/states/or/tax/income/credits/or_ctc_qualifying_income.py @@ -0,0 +1,73 @@ +from policyengine_us.model_api import * + + +class or_ctc_qualifying_income(Variable): + value_type = float + entity = TaxUnit + label = "Oregon Kids Credit qualifying income" + unit = USD + definition_period = YEAR + documentation = ( + "The qualifying income limit of ORS 315.273(1)(c)(A) for a full-year " + "resident: adjusted gross income as modified by Oregon additions and " + "subtractions, plus the filer's losses to the extent they exceed " + "$20,000 and, from 2025, foreign earned income excluded from adjusted " + "gross income." + ) + reference = ( + # 2023R1 House Bill 3235, Section 2(1)(c). + "https://olis.oregonlegislature.gov/liz/2023R1/Downloads/MeasureDocument/HB3235/Enrolled#page=1", + # Oregon Laws 2025, chapter 321, section 16 (PDF page 7) and section + # 17(2) (PDF page 8). + "https://www.oregonlegislature.gov/bills_laws/lawsstatutes/2025orlaw0321.pdf#page=7", + # ORS 315.273, 2025 edition. + "https://www.oregonlegislature.gov/bills_laws/ors/ors315.html", + # 2025 Form OR-40 instructions, Oregon Kids Credit worksheet lines 1 + # to 4 (PDF page 23) and Part B, lines 11 to 13 (PDF page 24). + "https://www.oregon.gov/dor/forms/FormsPubs/form-or-40-inst_101-040-1_2025.pdf#page=23", + "https://www.oregon.gov/dor/forms/FormsPubs/form-or-40-inst_101-040-1_2025.pdf#page=24", + ) + defined_for = StateCode.OR + + def formula(tax_unit, period, parameters): + p = parameters(period).gov.states["or"].tax.income.credits.ctc.qualifying_income + # ORS 315.273(1)(c)(A): "adjusted gross income ... as modified using + # Oregon subtractions and additions" (worksheet line 1, Form OR-40 + # line 15). or_agi does not take the tip, overtime or vehicle interest + # subtractions that worksheet line 2 adds back. + or_agi = tax_unit("or_agi", period) + # (1)(c)(A)(i): "Losses of the taxpayer, to the extent that those + # losses exceed $20,000". Worksheet Part B, lines 11a to 11h: each + # loss on these lines of the head's and spouse's federal return, as a + # positive amount; a line that is not a loss counts as zero. + loss_lines = ( + # 11a: Form 1040 line 7a, where a net capital loss is limited + # under IRC 1211(b). + ["filer_loss_limited_net_capital_gains"], + # 11b: Schedule 1 line 3, business income or loss (Schedule C). + ["total_self_employment_income"], + # 11c: Schedule 1 line 4, other gains or losses (Form 4797). + ["other_net_gain"], + # 11d: Schedule 1 line 5, rental real estate, royalties, + # partnerships, S corporations, estates and trusts (Schedule E, + # including Form 4835 farm rents). + [ + "rental_income", + "farm_rent_income", + "partnership_s_corp_income", + "estate_income", + ], + # 11e: Schedule 1 line 6, farm income or loss (Schedule F). + ["farm_operations_income"], + ) + # Line 11f (the net operating loss deduction) and line 11g (losses on + # Oregon subtraction codes 321 and 355 to 357) are not modeled. + losses = 0 + for sources in loss_lines: + line = tax_unit_non_dep_add(tax_unit, period, sources) + losses = losses + max_(0, -line) + excess_losses = max_(0, losses - p.loss_threshold) + # (1)(c)(A)(ii), from 2025: excluded foreign earned income (worksheet + # line 12, Schedule 1 line 8d). + excluded_income = tax_unit_non_dep_add(tax_unit, period, p.additions) + return or_agi + excess_losses + excluded_income diff --git a/policyengine_us/variables/gov/states/or/tax/income/credits/retirement_credit/or_retirement_credit_disallowed_losses.py b/policyengine_us/variables/gov/states/or/tax/income/credits/retirement_credit/or_retirement_credit_disallowed_losses.py new file mode 100644 index 00000000000..dc122e89ca2 --- /dev/null +++ b/policyengine_us/variables/gov/states/or/tax/income/credits/retirement_credit/or_retirement_credit_disallowed_losses.py @@ -0,0 +1,69 @@ +from policyengine_us.model_api import * + + +class or_retirement_credit_disallowed_losses(Variable): + value_type = float + entity = TaxUnit + label = "Disallowed losses in household income for the Oregon Retirement Income Tax Credit" + unit = USD + definition_period = YEAR + documentation = ( + "The losses that ORS 316.157(2)(c)(B)(i) to (iv) add back to federal " + "adjusted gross income in computing household income: in each of four " + "categories (property dispositions, farms, trades or businesses, and " + "rents and royalties), the taxpayer's and spouse's net loss as " + "deducted in adjusted gross income, to the extent it exceeds $1,000." + ) + reference = ( + # ORS 316.157(2)(c)(B), 2023 edition, PDF pages 25-26. + "https://www.oregonlegislature.gov/bills_laws/Archive/2023ors316.pdf#page=25", + # ORS 316.157, 2025 edition. + "https://www.oregonlegislature.gov/bills_laws/ors/ors316.html", + "https://www.oregon.gov/dor/forms/FormsPubs/publication-or-17_101-431_2025.pdf#page=107", + "https://www.oregon.gov/dor/forms/FormsPubs/publication-or-17_101-431_2025.pdf#page=127", + ) + defined_for = StateCode.OR + + def formula(tax_unit, period, parameters): + p = ( + parameters(period) + .gov.states["or"] + .tax.income.credits.retirement_income.household_income + ) + # ORS 316.157(2)(c)(B): "Adjusted gross income shall be increased due + # to the disallowance of" the "net loss, in excess of $1,000" in each + # category. Publication OR-17 (page 107): "Combine all income from + # similar sources for net income or loss. Any net loss from the source + # is limited to $1,000." Each category nets the head's and spouse's + # income and losses as adjusted gross income includes them; the + # model does not split a category's income by activity. + categories = ( + # (B)(i) "all dispositions of tangible or intangible properties": + # the capital gain or loss on Form 1040 line 7a, where a net loss + # is limited under IRC 1211(b), and Form 4797 gains and losses. + # A capital loss carryover used in the year is already netted in + # line 7a (IRC 1212(b)). The statute disallows net operating loss + # carryovers ((B)(v)) but no capital loss carryover, so it is not + # added back, though Publication OR-17 (pages 107 and 127) does + # not allow capital loss carryforwards. + ["filer_loss_limited_net_capital_gains", "other_net_gain"], + # (B)(ii) "the operation of a farm or farms": Schedule F. + ["farm_operations_income"], + # (B)(iii) "all operations of a trade or business, profession or + # other activity entered into for the production or collection of + # income": Schedule C, and partnership and S corporation income. + ["total_self_employment_income", "partnership_s_corp_income"], + # (B)(iv) "tangible or intangible property held for the production + # of rents, royalties or other income": Schedule E rents and + # royalties, Form 4835 farm rents, and estate and trust income. + ["rental_income", "farm_rent_income", "estate_income"], + ) + disallowed_losses = 0 + for sources in categories: + net_income = tax_unit_non_dep_add(tax_unit, period, sources) + disallowed_losses = disallowed_losses + max_(0, -net_income - p.loss_limit) + # Adjusted gross income deducts the business, farm, rental and Form + # 4797 losses only up to the section 461(l) limit. The excess business + # loss was never deducted, so it is not added back. + excess_business_loss = tax_unit("excess_business_loss", period) + return max_(0, disallowed_losses - excess_business_loss) diff --git a/policyengine_us/variables/gov/states/or/tax/income/credits/retirement_credit/or_retirement_credit_household_income.py b/policyengine_us/variables/gov/states/or/tax/income/credits/retirement_credit/or_retirement_credit_household_income.py index fc76438a361..efc1e38fd93 100644 --- a/policyengine_us/variables/gov/states/or/tax/income/credits/retirement_credit/or_retirement_credit_household_income.py +++ b/policyengine_us/variables/gov/states/or/tax/income/credits/retirement_credit/or_retirement_credit_household_income.py @@ -7,10 +7,46 @@ class or_retirement_credit_household_income(Variable): label = "Household income for the Oregon Retirement Income Tax Credit" unit = USD definition_period = YEAR + documentation = ( + "Household income under ORS 316.157(2)(b) and (c): the federal " + "adjusted gross income of the taxpayer and spouse without their " + "Social Security benefits, plus the otherwise exempt income listed in " + "(2)(c)(A) and the net losses above $1,000 per category that " + "(2)(c)(B) disallows." + ) reference = ( - "https://www.oregonlegislature.gov/bills_laws/ors/ors316.html" # ORS 316.157 + # ORS 316.157(2)(b), (c) and (f), 2023 edition, PDF pages 25-26. + "https://www.oregonlegislature.gov/bills_laws/Archive/2023ors316.pdf#page=25", + # ORS 316.157, 2025 edition. + "https://www.oregonlegislature.gov/bills_laws/ors/ors316.html", + "https://www.oregon.gov/dor/forms/FormsPubs/publication-or-17_101-431_2025.pdf#page=107", + "https://www.oregon.gov/dor/forms/FormsPubs/publication-or-17_101-431_2025.pdf#page=127", ) defined_for = StateCode.OR - adds = ["adjusted_gross_income", "tax_exempt_interest_income"] - subtracts = ["taxable_social_security"] + def formula(tax_unit, period, parameters): + p = ( + parameters(period) + .gov.states["or"] + .tax.income.credits.retirement_income.household_income + ) + # ORS 316.157(2)(c): "Income" means federal adjusted gross income, + # with the modifications below. + agi = tax_unit("adjusted_gross_income", period) + # (2)(b): household income "does not include Social Security benefits + # received by the taxpayer or the spouse", which (2)(f) defines as + # IRC 86 benefits. + taxable_social_security = add(tax_unit, period, ["taxable_social_security"]) + # (2)(c)(A): otherwise exempt income. (2)(b) counts the income of the + # taxpayer and spouse, so a dependent's own amounts are left out, + # except amounts the taxpayer receives that may be recorded on a + # child, such as child support. + exempt_income = tax_unit_non_dep_add( + tax_unit, + period, + p.additions, + include_dependents=p.filer_amounts_recorded_on_dependents, + ) + # (2)(c)(B)(i)-(iv): net losses above the limit in each category. + disallowed_losses = tax_unit("or_retirement_credit_disallowed_losses", period) + return agi - taxable_social_security + exempt_income + disallowed_losses diff --git a/source_conflicts/candidates.yaml b/source_conflicts/candidates.yaml index 8ec0c38b5b1..61d82ba6666 100644 --- a/source_conflicts/candidates.yaml +++ b/source_conflicts/candidates.yaml @@ -11219,6 +11219,47 @@ candidates: $82,115. PY2027: sizes 7, 9 and 11 are $1 lower ($104,693 and $104,692 at 7); the other sizes are whole-dollar products and equal HHS''s method. The last payment band for two people ends at $50,195, above the capped limit; see us-or:liheap-final-payment-band-bound.' +- id: us-or:retirement-credit-capital-loss-carryover + program: income-tax + years: + from: 2024 + type: tax + question: Does household income for Oregon's retirement income credit add back a capital loss carryover that offsets + the year's capital gains, as Publication OR-17 directs, when ORS 316.157(2)(c)(B) disallows only net operating loss + carryovers by name? + sources: + - kind: statute + citation: ORS 316.157(2)(c) and (2)(c)(B)(i) and (v) (2023 edition, PDF pp.25-26; unchanged in the 2025 edition) + url: https://www.oregonlegislature.gov/bills_laws/Archive/2023ors316.pdf#page=25 + - kind: guidance + citation: 2025 Publication OR-17, PDF p.107 ("What's included in household income?") + url: https://www.oregon.gov/dor/forms/FormsPubs/publication-or-17_101-431_2025.pdf#page=107 + - kind: guidance + citation: 2025 Publication OR-17, household income checklist, PDF p.127 (the 2024 edition has the same text on pp.107 + and 127) + url: https://www.oregon.gov/dor/forms/FormsPubs/publication-or-17_101-431_2025.pdf#page=127 + readings: + statute: Income starts from federal adjusted gross income. (B)(i) adds back only "the net loss, in excess of $1,000, + from all dispositions of tangible or intangible properties", and (B)(v) adds back "any net operating loss + carryovers or carrybacks included in federal adjusted gross income". No item names a capital loss carryover, + which IRC 1212(b) nets with the year's capital gains and losses, so a carryover that offsets the year's gains + stays in household income, and a net loss it creates counts up to $1,000. + other: Publication OR-17 says "Capital loss carryforwards aren't allowed", and its checklist lists "Capital loss + carryover No", so the carryover is added back. + example: A filer with $10,000 of taxable pension, a $4,000 long-term gain and a $4,000 long-term capital loss + carryover has federal AGI of $10,000. Household income is $10,000 under the statute and $14,000 under Publication + OR-17. + pe_us: + follows: statute + code: + - policyengine_us/variables/gov/states/or/tax/income/credits/retirement_credit/or_retirement_credit_disallowed_losses.py + prs: + - https://github.com/PolicyEngine/policyengine-us/pull/11174 + state: ruled + note: A 2026-11-19 ruling under the statute-first rule follows ORS 316.157(2)(c)(B). Household income starts from + federal adjusted gross income, where long_term_capital_gains is net of long_term_capital_loss_carryover, and the + disallowed-loss variable does not add the carryover back. The YAML case "A capital loss carryover offsets the year's + gain" in or_retirement_credit_household_income.yaml pins the statute's reading at $10,000. - id: us-pa:liheap-interest-dividend-threshold program: liheap years: