diff --git a/changelog.d/ri-property-tax-relief-household-income.fixed.md b/changelog.d/ri-property-tax-relief-household-income.fixed.md new file mode 100644 index 00000000000..294b1ba6ee5 --- /dev/null +++ b/changelog.d/ri-property-tax-relief-household-income.fixed.md @@ -0,0 +1 @@ +Rhode Island property tax relief household income now sums every tax unit in the household and adds back the business, rental and capital losses that federal AGI deducts. It also counts veterans' benefits, gross retirement account distributions, general assistance, SSI and the state supplement, tax-exempt disability benefits and section 911 income, and counts pre-2019 alimony once instead of twice. diff --git a/policyengine_us/parameters/gov/states/ri/tax/income/credits/property_tax/income_sources.yaml b/policyengine_us/parameters/gov/states/ri/tax/income/credits/property_tax/income_sources.yaml index 0078ec7e790..59ca48b5b4c 100644 --- a/policyengine_us/parameters/gov/states/ri/tax/income/credits/property_tax/income_sources.yaml +++ b/policyengine_us/parameters/gov/states/ri/tax/income/credits/property_tax/income_sources.yaml @@ -1,16 +1,51 @@ -description: Rhode Island counts these income sources when calculating its property tax credit. +description: Rhode Island counts these income sources, and adds back these losses, for each tax unit when calculating household income for its property tax credit. values: 2021-01-01: + # R.I. Gen. Laws 44-33-3(7): "income" is federal adjusted gross income + # plus "all non-taxable income". - adjusted_gross_income - - tax_exempt_pension_income - tax_exempt_interest_income - tax_exempt_social_security - tax_exempt_unemployment_compensation - - alimony_income - - tanf + # "alimony": the part outside federal AGI, since AGI already holds + # alimony under a divorce instrument executed before 2019. + - ri_property_tax_nontaxable_alimony + # "support money" - child_support_received + # "cash public assistance and relief" (RI-1040H line 29). + - tanf + - general_assistance + # "all payments received under the federal Social Security Act": SSI is + # paid under title XVI of that act, and the state supplement is paid under + # the same agreement as supplementary cash assistance to SSI + # (R.I. Gen. Laws 40-6-27(a)(1)). + - ssi + - ri_ssp + # "the gross amount of any pension or annuity": RI-1040H line 20 takes + # IRA distributions, pensions and annuities from Form 1040 lines 4a and + # 5a, the gross amounts. + - tax_exempt_pension_income + - tax_exempt_retirement_distributions + # "veterans' disability pensions" + - veterans_benefits - workers_compensation + # "the gross amount of 'loss of time' insurance" + - tax_exempt_disability_benefits + # "the calculation of 'income' shall not include any deductions for + # rental losses, business losses, capital losses, exclusion for foreign + # income, and any losses received from pass-through entities" + # (RI-1040H line 31). These add back what federal AGI excluded or + # deducted: income excluded or deducted under section 911; each + # business, farm, rental, estate and partnership or S corporation loss, + # even one that nets against other income on the same form line; and + # the net capital loss deducted from other income (up to $3,000). + # Capital losses that only offset capital gains are netted before + # Form 1040 line 7a, which RI-1040H line 19 starts from, so they are not + # added back. + - section_911_excluded_income + - limited_business_loss + - limited_capital_loss metadata: unit: list @@ -23,3 +58,9 @@ metadata: href: https://tax.ri.gov/sites/g/files/xkgbur541/files/2022-01/2021-ri-1040h_w.pdf#page=2 - title: 2022 Rhode Island General Laws § 44-33-3. Definitions. (7) href: https://law.justia.com/codes/rhode-island/2022/title-44/chapter-44-33/section-44-33-3/ + - title: R.I. Gen. Laws § 44-33-3(7) + href: http://webserver.rilegislature.gov/Statutes/TITLE44/44-33/44-33-3.htm + - title: 2025 Form RI-1040H Rhode Island Property Tax Relief Claim Lines 19, 20, 29 and 31 + href: https://tax.ri.gov/sites/g/files/xkgbur541/files/2026-01/2025%201040H_w.pdf#page=2 + - title: R.I. Gen. Laws § 40-6-27(a)(1) + href: https://webserver.rilegislature.gov/Statutes/TITLE40/40-6/40-6-27.htm diff --git a/policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/credits/property_tax/ri_property_tax_credit.yaml b/policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/credits/property_tax/ri_property_tax_credit.yaml index b8d369daacc..5f86005a83b 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/credits/property_tax/ri_property_tax_credit.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/credits/property_tax/ri_property_tax_credit.yaml @@ -2,7 +2,7 @@ period: 2022 input: ri_property_tax_household_income: 3_000 - tax_unit_size: 1 + household_size: 1 real_estate_taxes: 50 rent: 0 ri_property_tax_credit_eligible: true @@ -14,7 +14,7 @@ input: state_code: RI ri_property_tax_household_income: 20_000 - tax_unit_size: 1 + household_size: 1 real_estate_taxes: 1_000 rent: 5_000 ri_property_tax_credit_eligible: true @@ -26,7 +26,7 @@ input: state_code: RI ri_property_tax_household_income: 3_000 - tax_unit_size: 2 + household_size: 2 real_estate_taxes: 150 rent: 0 ri_property_tax_credit_eligible: true @@ -38,7 +38,7 @@ input: state_code: RI ri_property_tax_household_income: 13_000 - tax_unit_size: 2 + household_size: 2 real_estate_taxes: 0 rent: 3_500 ri_property_tax_credit_eligible: true @@ -55,7 +55,7 @@ input: state_code: RI ri_property_tax_household_income: 8_000 - tax_unit_size: 1 + household_size: 1 real_estate_taxes: 2_000 rent: 0 ri_property_tax_credit_eligible: true @@ -71,7 +71,7 @@ input: state_code: RI ri_property_tax_household_income: 15_000 - tax_unit_size: 1 + household_size: 1 real_estate_taxes: 1_200 rent: 0 ri_property_tax_credit_eligible: true @@ -85,7 +85,7 @@ input: state_code: RI ri_property_tax_household_income: 45_000 - tax_unit_size: 1 + household_size: 1 real_estate_taxes: 2_000 rent: 0 # The claimant's own age now sets eligibility (R.I. Gen. Laws 44-33-3), @@ -1963,3 +1963,43 @@ output: ri_property_tax_credit_eligible: [true, true] ri_property_tax_credit: [100, 100] + +# R.I. Gen. Laws 44-33-9(1) bases the percentage on household size, and +# RI-1040H line 1f counts every person in the household, including members who +# file their own returns. In the 2025 band from 13,971 to 17,460 the one-person +# column is 6% and the two-or-more-persons column is 5%. +# https://tax.ri.gov/sites/g/files/xkgbur541/files/2026-01/2025%201040H_w.pdf#page=3 +- name: "Case 14, 2025 household of two that spans two tax units uses the two-or-more-persons percentage." + period: 2025 + absolute_error_margin: 0.01 + input: + people: + parent: + age: 70 + taxable_private_pension_income: 13_000 + real_estate_taxes: 1_500 + child: + age: 40 + employment_income: 3_000 + tax_units: + parent_unit: + members: [parent] + child_unit: + members: [child] + households: + household: + members: [parent, child] + state_code: RI + output: + # The parent's countable income, 13,000 / 12 - 20 = 1,063.33 a month, is + # above the SSI benefit rate plus the state supplement (967 + 39.92), so + # neither is paid. Household income: pension 13,000 + the child's wages + # 3,000 = 16,000 for either tax unit. A household of two in the 13,971 to + # 17,460 band uses 5%: 16,000 x 5% = 800, and the credit is + # min(1,500 - 800, 700) = 700. The one-person 6% would give + # 1,500 - 960 = 540. The child is 40 and not disabled, so the child's tax + # unit has no claimant. + household_size: 2 + ri_property_tax_household_income: [16_000, 16_000] + ri_property_tax_credit_eligible: [true, false] + ri_property_tax_credit: [700, 0] diff --git a/policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/credits/property_tax/ri_property_tax_credit_eligible.yaml b/policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/credits/property_tax/ri_property_tax_credit_eligible.yaml index 37cfcc20745..7fb83c9fd28 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/credits/property_tax/ri_property_tax_credit_eligible.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/credits/property_tax/ri_property_tax_credit_eligible.yaml @@ -133,15 +133,22 @@ - name: "2025 joint return with one claimable spouse: property tax relief needs a claimant aged 65 or older or disabled who is not claimed as a dependent (the claimable spouse is the head)" period: 2025 input: + # Neither person receives SSI or the Rhode Island state supplement, + # which count as household income (R.I. Gen. Laws 44-33-3(7)), so + # household income stays $0. people: person_a: age: 65 + ssi: 0 + ri_ssp: 0 real_estate_taxes: 500 claimed_as_dependent_on_another_return: true is_tax_unit_head: true is_tax_unit_spouse: false person_b: age: 65 + ssi: 0 + ri_ssp: 0 real_estate_taxes: 500 is_tax_unit_head: false is_tax_unit_spouse: true @@ -164,14 +171,21 @@ - name: "2025 joint return with one claimable spouse: property tax relief needs a claimant aged 65 or older or disabled who is not claimed as a dependent (the claimable spouse is the spouse)" period: 2025 input: + # Neither person receives SSI or the Rhode Island state supplement, + # which count as household income (R.I. Gen. Laws 44-33-3(7)), so + # household income stays $0. people: person_b: age: 65 + ssi: 0 + ri_ssp: 0 real_estate_taxes: 500 is_tax_unit_head: true is_tax_unit_spouse: false person_a: age: 65 + ssi: 0 + ri_ssp: 0 real_estate_taxes: 500 claimed_as_dependent_on_another_return: true is_tax_unit_head: false @@ -219,14 +233,21 @@ - name: "2025 joint return with neither spouse claimable: property tax relief needs a claimant aged 65 or older or disabled who is not claimed as a dependent" period: 2025 input: + # Neither person receives SSI or the Rhode Island state supplement, + # which count as household income (R.I. Gen. Laws 44-33-3(7)), so + # household income stays $0. people: person_a: age: 65 + ssi: 0 + ri_ssp: 0 real_estate_taxes: 500 is_tax_unit_head: true is_tax_unit_spouse: false person_b: age: 65 + ssi: 0 + ri_ssp: 0 real_estate_taxes: 500 is_tax_unit_head: false is_tax_unit_spouse: true @@ -302,15 +323,22 @@ - name: "2025 joint return where the unclaimed spouse is disabled: property tax relief stays available (the claimable spouse is the head)" period: 2025 input: + # Neither person receives SSI or the Rhode Island state supplement, + # which count as household income (R.I. Gen. Laws 44-33-3(7)), so + # household income stays $0. people: person_a: age: 65 + ssi: 0 + ri_ssp: 0 real_estate_taxes: 500 claimed_as_dependent_on_another_return: true is_tax_unit_head: true is_tax_unit_spouse: false person_b: age: 40 + ssi: 0 + ri_ssp: 0 is_disabled: true real_estate_taxes: 500 is_tax_unit_head: false @@ -331,15 +359,22 @@ - name: "2025 joint return where the unclaimed spouse is disabled: property tax relief stays available (the claimable spouse is the spouse)" period: 2025 input: + # Neither person receives SSI or the Rhode Island state supplement, + # which count as household income (R.I. Gen. Laws 44-33-3(7)), so + # household income stays $0. people: person_b: age: 40 + ssi: 0 + ri_ssp: 0 is_disabled: true real_estate_taxes: 500 is_tax_unit_head: true is_tax_unit_spouse: false person_a: age: 65 + ssi: 0 + ri_ssp: 0 real_estate_taxes: 500 claimed_as_dependent_on_another_return: true is_tax_unit_head: false @@ -358,6 +393,7 @@ - name: 2025 single filer aged 65 who can be claimed but is not claimed is a Rhode Island property tax relief claimant period: 2025 + absolute_error_margin: 0.01 input: people: filer: @@ -374,9 +410,15 @@ state_code: RI output: # 44-33-3 excludes a person "claimed as a dependent by any taxpayer": - # an actual claim. min($1,000 - $0, $700) = $700. + # an actual claim. With no other income the filer receives the full 2025 + # SSI benefit rate, 967 x 12 = 11,604, and the Rhode Island state + # supplement for an individual living independently, 39.92 x 12 = 479.04. + # Both count as household income (R.I. Gen. Laws 44-33-3(7)): 12,083.04, + # in the 5% band for one person (10,481 to 13,970). Threshold + # 12,083.04 x 5% = 604.15, so the credit is min(1,000 - 604.15, 700) = + # 395.85. ri_property_tax_credit_eligible: true - ri_property_tax_credit: 700 + ri_property_tax_credit: 395.85 - name: 2025 single filer aged 40 whose 70-year-old parent is a dependent of the return has no Rhode Island property tax relief claimant period: 2025 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/credits/property_tax/ri_property_tax_household_income.yaml b/policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/credits/property_tax/ri_property_tax_household_income.yaml new file mode 100644 index 00000000000..49d9095d484 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/ri/tax/income/credits/property_tax/ri_property_tax_household_income.yaml @@ -0,0 +1,271 @@ +# R.I. Gen. Laws 44-33-3(7): income is federal adjusted gross income plus "all +# non-taxable income including, but not limited to ... alimony, support money +# ... cash public assistance and relief ... the gross amount of any pension or +# annuity (including ... all payments received under the federal Social +# Security Act ... and veterans' disability pensions) ... and the gross amount +# of 'loss of time' insurance", and "shall not include any deductions for +# rental losses, business losses, capital losses, exclusion for foreign income, +# and any losses received from pass-through entities". +# 44-33-3(6): household income is "all income received by all persons of a +# household". +# 2025 Form RI-1040H, Part 5, lines 14-32: +# https://tax.ri.gov/sites/g/files/xkgbur541/files/2026-01/2025%201040H_w.pdf#page=2 + +- name: A business loss is not deducted. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: RI + employment_income: 20_000 + self_employment_income: -5_000 + output: + # RI-1040H line 28 (federal AGI) 15,000 + line 31 (addback of losses) + # 5,000 = 20,000. + ri_property_tax_household_income: 20_000 + +- name: A capital loss is not deducted. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: RI + employment_income: 20_000 + long_term_capital_gains: -4_000 + output: + # Federal AGI deducts 3,000 of the loss (IRC 1211(b)): 17,000. Rhode + # Island allows no deduction for capital losses, so the 3,000 is added + # back: 20,000. The other 1,000 never reduced AGI. + ri_property_tax_household_income: 20_000 + +- name: A capital loss exactly at the federal 3,000 limit is added back in full. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: RI + employment_income: 20_000 + long_term_capital_gains: -3_000 + output: + # Federal AGI 20,000 - 3,000 = 17,000; RI-1040H line 31 adds back the + # 3,000 loss on line 19: 20,000. + ri_property_tax_household_income: 20_000 + +- name: A capital loss that only offsets capital gain distributions is not added back. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: RI + employment_income: 20_000 + non_sch_d_capital_gains: 2_000 + long_term_capital_gains: -2_000 + output: + # Schedule D line 13 nets the 2,000 of distributions against the 2,000 + # loss, so Form 1040 line 7a (RI-1040H line 19) is zero and no capital + # loss is deducted from other income: AGI 20,000, nothing to add back. + ri_property_tax_household_income: 20_000 + +- name: A rental loss is added back even when it nets against estate income on the same form line. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: RI + employment_income: 10_000 + rental_income: -4_000 + estate_income: 6_000 + output: + # Schedule 1 line 5 (RI-1040H line 21) is 6,000 - 4,000 = 2,000, so + # federal AGI is 10,000 + 2,000 = 12,000. The statute allows no + # deduction for rental losses, so line 31 adds back the 4,000: + # 12,000 + 4,000 = 16,000. + ri_property_tax_household_income: 16_000 + +- name: Alimony from a pre-2019 divorce counts once. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: RI + taxable_private_pension_income: 10_000 + alimony_income: 4_000 + divorce_year: 2010 + output: + # Federal AGI already holds the alimony (RI-1040H line 17): + # 10,000 + 4,000 = 14,000, with no non-taxable alimony to add. + ri_property_tax_household_income: 14_000 + +- name: Alimony from a post-2018 divorce counts as non-taxable income. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: RI + taxable_private_pension_income: 10_000 + alimony_income: 4_000 + divorce_year: 2020 + output: + # Federal AGI leaves the alimony out: 10,000 + non-taxable alimony + # 4,000 = 14,000. + ri_property_tax_household_income: 14_000 + +- name: All alimony counts as non-taxable income under a reform that takes alimony out of federal gross income. + period: 2025 + absolute_error_margin: 0.01 + input: + # The 2025 federal gross income sources without taxable_alimony_income. + gov.irs.gross_income.sources: [irs_employment_income, taxable_dependent_care_benefits, taxable_strike_benefits, self_employment_income, sstb_self_employment_income, partnership_s_corp_income, farm_operations_income, farm_rent_income, other_net_gain_gross_income, capital_gains, non_sch_d_capital_gains, taxable_interest_income, rental_income, dividend_income, taxable_pension_income, taxable_disability_benefits, debt_relief, estate_income, taxable_unemployment_compensation, taxable_social_security, illicit_income, taxable_retirement_distributions, taxable_roth_conversions, miscellaneous_income, gambling_winnings, ak_permanent_fund_dividend, salt_refund_income, military_retirement_income] + state_code: RI + taxable_private_pension_income: 10_000 + alimony_income: 4_000 + divorce_year: 2010 + output: + # Federal AGI no longer holds the pre-2019 alimony, so all 4,000 is + # non-taxable alimony: 10,000 + 4,000 = 14,000. + ri_property_tax_nontaxable_alimony: 4_000 + ri_property_tax_household_income: 14_000 + +- name: Veterans' disability benefits count. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: RI + taxable_private_pension_income: 10_000 + veterans_benefits: 5_000 + output: + # 10,000 + veterans' disability pension 5,000 = 15,000. + ri_property_tax_household_income: 15_000 + +- name: A Roth IRA distribution counts at its gross amount. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: RI + taxable_private_pension_income: 10_000 + tax_exempt_ira_distributions: 3_000 + output: + # RI-1040H line 20 takes IRA distributions from Form 1040 line 4a (the + # gross amount): 10,000 + 3,000 = 13,000. + ri_property_tax_household_income: 13_000 + +- name: General assistance counts as cash public assistance. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: RI + taxable_private_pension_income: 10_000 + general_assistance: 2_400 + output: + # 10,000 + line 29 (cash public assistance) 2,400 = 12,400. + ri_property_tax_household_income: 12_400 + +- name: SSI and the Rhode Island state supplement count. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: RI + taxable_private_pension_income: 10_000 + ssi: 6_000 + ri_ssp: 480 + output: + # SSI is paid under title XVI of the Social Security Act, and the state + # supplement is supplementary cash assistance to it + # (R.I. Gen. Laws 40-6-27(a)(1)): 10,000 + 6,000 + 480 = 16,480. + ri_property_tax_household_income: 16_480 + +- name: Tax-exempt disability insurance benefits count at their gross amount. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: RI + taxable_private_pension_income: 10_000 + disability_benefits: 3_000 + tax_exempt_disability_benefits: 3_000 + output: + # 10,000 + gross "loss of time" insurance 3,000 = 13,000. + ri_property_tax_household_income: 13_000 + +- name: Foreign earned income excluded under section 911 counts. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: RI + employment_income: 10_000 + foreign_earned_income_exclusion: 4_000 + output: + # PolicyEngine income inputs are net of the exclusion, so federal AGI is + # 10,000. No "exclusion for foreign income" is allowed: 14,000. + ri_property_tax_household_income: 14_000 + +- name: Another household member's income counts, though they file their own return. + period: 2025 + absolute_error_margin: 0.01 + input: + people: + parent: + age: 64 + taxable_private_pension_income: 10_000 + child: + age: 40 + employment_income: 6_000 + tax_units: + parent_unit: + members: [parent] + child_unit: + members: [child] + households: + household: + members: [parent, child] + state_code: RI + output: + # 44-33-3(6): all income received by all persons of the household: + # 10,000 + 6,000 = 16,000 for either claimant. + ri_property_tax_household_income: [16_000, 16_000] + +- name: Cash assistance paid to a family that spans two tax units counts once. + period: 2025 + absolute_error_margin: 0.01 + input: + people: + parent: + age: 64 + taxable_private_pension_income: 10_000 + child: + age: 40 + employment_income: 6_000 + tax_units: + parent_unit: + members: [parent] + child_unit: + members: [child] + spm_units: + spm_unit: + members: [parent, child] + tanf: 3_000 + households: + household: + members: [parent, child] + state_code: RI + output: + # Each tax unit counts its members' share of the 3,000 (1,500 each), and + # the household total adds both: 10,000 + 6,000 + 3,000 = 19,000. + ri_property_tax_household_income: [19_000, 19_000] + +- name: A homeowner aged 70 with a pension and veterans' benefits gets a smaller credit once the benefits count. + period: 2025 + absolute_error_margin: 0.01 + input: + people: + claimant: + age: 70 + taxable_private_pension_income: 12_000 + veterans_benefits: 6_000 + real_estate_taxes: 1_500 + tax_units: + tax_unit: + members: [claimant] + households: + household: + members: [claimant] + state_code: RI + output: + # Unearned income of 1,500 a month is above the SSI benefit rate, so no + # SSI is paid. Household income: 12,000 + 6,000 = 18,000, in the 6% band + # for one person (13,971 and up). Threshold 18,000 x 6% = 1,080; credit + # min(1,500 - 1,080, 700) = 420. + ri_property_tax_household_income: 18_000 + ri_property_tax_credit: 420 diff --git a/policyengine_us/variables/gov/states/ri/tax/income/credits/property_tax/ri_property_tax_credit.py b/policyengine_us/variables/gov/states/ri/tax/income/credits/property_tax/ri_property_tax_credit.py index 0de18a9f02d..a413e151992 100644 --- a/policyengine_us/variables/gov/states/ri/tax/income/credits/property_tax/ri_property_tax_credit.py +++ b/policyengine_us/variables/gov/states/ri/tax/income/credits/property_tax/ri_property_tax_credit.py @@ -13,8 +13,11 @@ class ri_property_tax_credit(Variable): def formula(tax_unit, period, parameters): p = parameters(period).gov.states.ri.tax.income.credits.property_tax household_income = tax_unit("ri_property_tax_household_income", period) + # R.I. Gen. Laws 44-33-9(1) keys the percentage to household size + # (RI-1040H line 1f), counting everyone in the dwelling unit. + household_size = tax_unit.household("household_size", period) household_income_percent = where( - tax_unit("tax_unit_size", period) == 1, + household_size == 1, p.rate.one_person.calc(household_income), p.rate.multiple_people.calc(household_income), ) diff --git a/policyengine_us/variables/gov/states/ri/tax/income/credits/property_tax/ri_property_tax_household_income.py b/policyengine_us/variables/gov/states/ri/tax/income/credits/property_tax/ri_property_tax_household_income.py index b5a56940f4a..7b6bb8c80ce 100644 --- a/policyengine_us/variables/gov/states/ri/tax/income/credits/property_tax/ri_property_tax_household_income.py +++ b/policyengine_us/variables/gov/states/ri/tax/income/credits/property_tax/ri_property_tax_household_income.py @@ -7,8 +7,30 @@ class ri_property_tax_household_income(Variable): label = ( "Rhode Island total household income for the property tax credit computation" ) - reference = "https://tax.ri.gov/sites/g/files/xkgbur541/files/2022-12/2022%20RI-1040H_v2_w.pdf#page=2" + documentation = ( + "Household income for the Rhode Island property tax credit " + "(RI-1040H line 32): ri_property_tax_income of every tax unit in the " + "household, so members who file their own returns count. Each tax " + "unit in the household gets the same total." + ) + reference = ( + # R.I. Gen. Laws 44-33-3(5), (6). + "http://webserver.rilegislature.gov/Statutes/TITLE44/44-33/44-33-3.htm", + # PDF pages 2-3: Part 5 and the definition of household income. + "https://tax.ri.gov/sites/g/files/xkgbur541/files/2026-01/2025%201040H_w.pdf#page=2", + ) defined_for = StateCode.RI unit = USD definition_period = YEAR - adds = "gov.states.ri.tax.income.credits.property_tax.income_sources" + + def formula(tax_unit, period, parameters): + # R.I. Gen. Laws 44-33-3(6): "all income received by all persons of a + # household"; (5): a household is "one or more persons occupying a + # dwelling unit and living as a single nonprofit housekeeping unit". + # Each tax unit's income is counted once, through its head, and the + # household total goes back to every tax unit through its members. + person = tax_unit.members + head = person("is_tax_unit_head", period) + unit_income = person.tax_unit("ri_property_tax_income", period) + household_income = person.household.sum(unit_income * head) + return tax_unit.sum(household_income * head) diff --git a/policyengine_us/variables/gov/states/ri/tax/income/credits/property_tax/ri_property_tax_income.py b/policyengine_us/variables/gov/states/ri/tax/income/credits/property_tax/ri_property_tax_income.py new file mode 100644 index 00000000000..10a85873dc2 --- /dev/null +++ b/policyengine_us/variables/gov/states/ri/tax/income/credits/property_tax/ri_property_tax_income.py @@ -0,0 +1,22 @@ +from policyengine_us.model_api import * + + +class ri_property_tax_income(Variable): + value_type = float + entity = TaxUnit + label = "Rhode Island property tax credit income of a tax unit's members" + unit = USD + definition_period = YEAR + documentation = ( + "Income as R.I. Gen. Laws 44-33-3(7) defines it, for the members of " + "one tax unit: federal adjusted gross income plus non-taxable income, " + "with the business, rental, pass-through and capital losses and the " + "section 911 amounts that federal AGI subtracts added back. " + "ri_property_tax_household_income sums it over the household." + ) + reference = ( + "http://webserver.rilegislature.gov/Statutes/TITLE44/44-33/44-33-3.htm", + "https://tax.ri.gov/sites/g/files/xkgbur541/files/2026-01/2025%201040H_w.pdf#page=2", + ) + defined_for = StateCode.RI + adds = "gov.states.ri.tax.income.credits.property_tax.income_sources" diff --git a/policyengine_us/variables/gov/states/ri/tax/income/credits/property_tax/ri_property_tax_nontaxable_alimony.py b/policyengine_us/variables/gov/states/ri/tax/income/credits/property_tax/ri_property_tax_nontaxable_alimony.py new file mode 100644 index 00000000000..7d44905a9f2 --- /dev/null +++ b/policyengine_us/variables/gov/states/ri/tax/income/credits/property_tax/ri_property_tax_nontaxable_alimony.py @@ -0,0 +1,32 @@ +from policyengine_us.model_api import * + + +class ri_property_tax_nontaxable_alimony(Variable): + value_type = float + entity = Person + label = "Rhode Island property tax credit alimony outside federal AGI" + unit = USD + definition_period = YEAR + documentation = ( + "Alimony received that federal gross income leaves out, which Rhode " + "Island counts as non-taxable income for the property tax credit " + "(R.I. Gen. Laws 44-33-3(7)). Federal adjusted gross income already " + "holds alimony under a divorce instrument executed before 2019 " + "(RI-1040H line 17), so only the rest is added and alimony counts " + "once." + ) + reference = ( + "http://webserver.rilegislature.gov/Statutes/TITLE44/44-33/44-33-3.htm", + "https://tax.ri.gov/sites/g/files/xkgbur541/files/2026-01/2025%201040H_w.pdf#page=2", + ) + defined_for = StateCode.RI + + def formula(person, period, parameters): + alimony = person("alimony_income", period) + sources = parameters(period).gov.irs.gross_income.sources + # Federal gross income holds taxable_alimony_income, the alimony under + # pre-2019 divorce instruments, when that is a listed source. + if "taxable_alimony_income" in sources: + taxable_alimony = person("taxable_alimony_income", period) + return max_(alimony - taxable_alimony, 0) + return alimony