diff --git a/changelog.d/ny-real-property-tax-credit-household-income.fixed.md b/changelog.d/ny-real-property-tax-credit-household-income.fixed.md new file mode 100644 index 00000000000..167424d81a9 --- /dev/null +++ b/changelog.d/ny-real-property-tax-credit-household-income.fixed.md @@ -0,0 +1 @@ +New York's real property tax credit (through 2024) now counts the household gross income of everyone who shares the residence, including other tax units and dependents, and adds workers' compensation, child support, veterans' benefits, tax-exempt pensions, cash public assistance (TANF, general assistance and the State Supplement Program), tax-exempt disability benefits and section 911 excluded income. Through 2024 it also counts the rent paid by every household member, applies the 65-or-older limit when any household member is 65 or older, and allows one credit per household. diff --git a/policyengine_us/tests/policy/baseline/gov/states/ny/tax/income/credits/ny_household_gross_income.yaml b/policyengine_us/tests/policy/baseline/gov/states/ny/tax/income/credits/ny_household_gross_income.yaml index afe440fbc38..0a04d226e88 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ny/tax/income/credits/ny_household_gross_income.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ny/tax/income/credits/ny_household_gross_income.yaml @@ -1,3 +1,14 @@ +# N.Y. Tax Law 606(e)(1)(C), taxable years before 2025: household gross income +# is "the aggregate adjusted gross income of all members of the household" +# plus, among others, "support money not included in adjusted gross income", +# "the gross amount of any pension or annuity benefits to the extent not +# included in such adjusted gross income (including ... veterans' disability +# pensions)", "workers' compensation", "the gross amount of 'loss-of-time' +# insurance" and "the amount of cash public assistance and relief". +# Line numbers are those of the 2024 Form IT-214 (page 2) and its instructions +# (IT-214-I page 2). The 2024 cases use the last year the credit reads this +# measure. + - name: Household gross income adds nontaxable Social Security to AGI (IT-214 line 16) period: 2022 absolute_error_margin: 1 @@ -13,3 +24,218 @@ output: # AGI 5,000 (Social Security not taxable at this income) + nontaxable SS 12,000 ny_household_gross_income: 17_000 + +- name: Workers' compensation counts in household gross income. + period: 2024 + absolute_error_margin: 0.01 + input: + state_code: NY + employment_income: 5_000 + workers_compensation: 4_000 + output: + # IT-214 line 9 (federal AGI) 5,000 + line 15 (workers' compensation) + # 4,000 = 9,000. + ny_household_gross_income: 9_000 + +- name: Child support received counts as support money. + period: 2024 + absolute_error_margin: 0.01 + input: + state_code: NY + employment_income: 5_000 + child_support_received: 3_000 + output: + # 5,000 + line 15 (support money) 3,000 = 8,000. + ny_household_gross_income: 8_000 + +- name: Veterans' disability benefits count. + period: 2024 + absolute_error_margin: 0.01 + input: + state_code: NY + employment_income: 5_000 + veterans_benefits: 6_000 + output: + # 5,000 + line 11 (veterans' disability pensions) 6,000 = 11,000. + ny_household_gross_income: 11_000 + +- name: A pension left out of federal AGI counts at its gross amount. + period: 2024 + absolute_error_margin: 0.01 + input: + state_code: NY + employment_income: 5_000 + tax_exempt_private_pension_income: 2_000 + output: + # 5,000 + line 13 (pensions and annuities not on lines 9 to 12) 2,000 + # = 7,000. + ny_household_gross_income: 7_000 + +- name: Cash public assistance counts. + period: 2024 + absolute_error_margin: 0.01 + input: + state_code: NY + employment_income: 5_000 + general_assistance: 2_400 + output: + # 5,000 + line 14 (cash public assistance and relief) 2,400 = 7,400. + ny_household_gross_income: 7_400 + +- name: TANF counts as cash public assistance. + period: 2024 + absolute_error_margin: 0.01 + input: + people: + parent: + age: 30 + employment_income: 5_000 + child: + age: 5 + spm_units: + spm_unit: + members: [parent, child] + tanf: 2_400 + households: + household: + members: [parent, child] + state_code: NY + output: + # tanf_person gives each SPM unit member 2,400 / 2 = 1,200, and the + # household sums both shares. Line 9 (federal AGI) 5,000 + line 14 (cash + # public assistance and relief) 2,400 = 7,400. + ny_household_gross_income: 7_400 + +- name: The New York State Supplement Program payment counts with SSI. + period: 2024 + absolute_error_margin: 0.01 + input: + people: + head: + age: 70 + households: + household: + members: [head] + state_code: NY + output: + # A 70-year-old living alone with no other income gets 2024 SSI of + # 943 x 12 = 11,316 (line 12) and the State Supplement Program + # living-alone payment of 87 x 12 = 1,044 (line 14, state cash relief). + # 11,316 + 1,044 = 12,360. + ssi: 11_316 + ny_ssp: 1_044 + ny_household_gross_income: 12_360 + +- name: Tax-exempt disability insurance benefits count at their gross amount. + period: 2024 + absolute_error_margin: 0.01 + input: + state_code: NY + employment_income: 5_000 + disability_benefits: 3_000 + tax_exempt_disability_benefits: 3_000 + output: + # The benefits are outside federal AGI (IRC 104(a)(3)), so AGI is 5,000. + # Line 15 (gross amount of loss-of-time insurance) adds 3,000: 8,000. + ny_household_gross_income: 8_000 + +- name: Foreign earned income excluded under section 911 counts. + period: 2024 + absolute_error_margin: 0.01 + input: + state_code: NY + employment_income: 5_000 + foreign_earned_income_exclusion: 4_000 + output: + # PolicyEngine income inputs are net of the exclusion, so AGI is 5,000. + # Line 15 (income earned abroad exempted by section 911) adds 4,000: + # 9,000. + ny_household_gross_income: 9_000 + +- name: Another household member's income counts, though they file their own return. + period: 2024 + absolute_error_margin: 0.01 + input: + people: + parent: + age: 64 + employment_income: 5_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: NY + output: + # 606(e)(1)(B): the household is the qualified taxpayer "and all other + # persons, not necessarily related, who have the same residence". A child + # is a relative under IRC 152(d)(2)(A), so the roomer exception does not + # apply. Household gross income is 5,000 + 6,000 = 11,000 for each + # claimant. The parent is 64, so neither member gets SSI. + ny_household_gross_income: [11_000, 11_000] + +- name: Another household member's SSI and State Supplement Program payment count. + period: 2024 + absolute_error_margin: 0.01 + input: + people: + parent: + age: 70 + employment_income: 5_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: NY + output: + # The parent's 2024 SSI: countable earned income (5,000 / 12 - 20 - 65) + # / 2 = 165.83 a month, so SSI is (943 - 165.83) x 12 = 9,326 (line 12). + # The parent lives with others, so the State Supplement Program pays + # 23 x 12 = 276 (line 14). Household gross income for each claimant is + # 5,000 + 9,326 + 276 + 6,000 = 20,602. + ssi: [9_326, 0] + ny_ssp: [276, 0] + ny_household_gross_income: [20_602, 20_602] + +- name: A tax unit dependent's own income counts, and their Social Security counts once. + period: 2024 + absolute_error_margin: 0.01 + input: + people: + parent: + age: 45 + employment_income: 5_000 + child: + age: 17 + employment_income: 30_000 + social_security: 10_000 + households: + household: + members: [parent, child] + state_code: NY + output: + # The return's AGI leaves out the dependent's income: 5,000. + adjusted_gross_income: 5_000 + # The dependent's own return (IRC 86, unmarried amounts): combined income + # 30,000 + 10,000 / 2 = 35,000. Taxable Social Security is the lesser of + # 0.85 x (35,000 - 34,000) + min(0.5 x (35,000 - 25,000), 0.5 x 9,000) + # = 850 + 4,500 = 5,350 and 0.85 x 10,000 = 8,500, so 5,350. AGI is + # 30,000 + 5,350 = 35,350. + dependent_adjusted_gross_income: [0, 35_350] + # Line 9: 5,000 + 35,350 = 40,350. Line 11: the dependent's untaxed + # Social Security 10,000 - 5,350 = 4,650. Total 45,000; the dependent's + # taxable Social Security is counted once. + ny_household_gross_income: 45_000 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ny/tax/income/credits/ny_real_property_tax_credit.yaml b/policyengine_us/tests/policy/baseline/gov/states/ny/tax/income/credits/ny_real_property_tax_credit.yaml index 01fce52cf2b..d522720201a 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/ny/tax/income/credits/ny_real_property_tax_credit.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/ny/tax/income/credits/ny_real_property_tax_credit.yaml @@ -378,15 +378,122 @@ members: [head, dep1] state_code: NY output: - # Through 2024 the income measure is household gross income (13,316 here, - # including imputed dependent income). Single excess rate at - # 13,316 = 0.06, threshold = 13,316 x 0.06 = 799; excess = 10,000 - 799 = 9,201; - # credit = 0.5 x 9,201 = 4,600.5, capped by the elderly maximum at 13,316 - # (13,000-14,000 band) = 154 -> 154. If ~is_dependent still applied, the + # Through 2024 the income measure is household gross income: AGI 2,000 + + # the dependent's 2024 SSI 943 x 12 = 11,316 (line 12) + their State + # Supplement Program payment for living with others 23 x 12 = 276 (line + # 14) = 13,592. Single excess rate at 13,592 = 0.06, threshold = 13,592 x + # 0.06 = 815.52; excess = 10,000 - 815.52 = 9,184.48; credit = 0.5 x + # 9,184.48 = 4,592.24, capped by the elderly maximum at 13,592 + # (13,001-14,000 band) = 154 -> 154. If ~is_dependent still applied, the # non-elderly cap (49) would bind instead, so this locks in item 2 for 2024. - ny_household_gross_income: 13_316 + ny_household_gross_income: 13_592 ny_real_property_tax_credit: 154 +# Through 2024 the income limit and every lookup use household gross income +# (Tax Law 606(e)(1)(C); 2024 IT-214 line 16), which counts workers' +# compensation (line 15) and the income of everyone who shares the residence +# (606(e)(1)(B); 2024 IT-214-I page 2). The cases sit at the $18,000 limit +# ("If line 16 is more than $18,000, stop") and one dollar above it. +- name: 2024 - workers' compensation brings household gross income to exactly 18,000 + period: 2024 + absolute_error_margin: 0.1 + input: + people: + head: + age: 40 + employment_income: 10_000 + workers_compensation: 8_000 + real_estate_taxes: 2_000 + households: + household: + members: [head] + state_code: NY + output: + # Line 9 10,000 + line 15 8,000 = 18,000, not more than 18,000. Rate + # 0.065 (14,001-18,000) -> threshold 18,000 x 0.065 = 1,170; excess = + # 2,000 - 1,170 = 830; 50% = 415, capped by the non-elderly maximum at + # 17,001-18,000 = 41. Without the workers' compensation, income of 10,000 + # would give rate 0.055, excess 1,450, 50% = 725 and the 9,001-10,000 cap + # of 57. + ny_household_gross_income: 18_000 + ny_real_property_tax_credit: 41 + +- name: 2024 - workers' compensation one dollar over the household gross income limit + period: 2024 + absolute_error_margin: 0.1 + input: + people: + head: + age: 40 + employment_income: 10_000 + workers_compensation: 8_001 + real_estate_taxes: 2_000 + households: + household: + members: [head] + state_code: NY + output: + # 10,000 + 8,001 = 18,001 > 18,000: no credit. + ny_household_gross_income: 18_001 + ny_real_property_tax_credit: 0 + +- name: 2024 - an adult child's income on their own return brings the household to exactly 18,000 + period: 2024 + absolute_error_margin: 0.1 + input: + people: + parent: + age: 64 + employment_income: 5_000 + real_estate_taxes: 2_000 + child: + age: 40 + employment_income: 13_000 + tax_units: + parent_unit: + members: [parent] + child_unit: + members: [child] + households: + household: + members: [parent, child] + state_code: NY + output: + # Household gross income 5,000 + 13,000 = 18,000 for both returns. The + # parent: rate 0.065 -> threshold 1,170; excess = 2,000 - 1,170 = 830; + # 50% = 415, capped by the non-elderly maximum at 17,001-18,000 = 41 (no + # member is 65 or older). The child pays no real property tax or rent, + # so no credit. On the parent's income alone (5,000) the credit would be + # 0.5 x (2,000 - 5,000 x 0.04) = 900, capped at 67. + ny_household_gross_income: [18_000, 18_000] + ny_real_property_tax_credit: [41, 0] + +- name: 2024 - an adult child's income on their own return puts the household one dollar over the limit + period: 2024 + absolute_error_margin: 0.1 + input: + people: + parent: + age: 64 + employment_income: 5_000 + real_estate_taxes: 2_000 + child: + age: 40 + employment_income: 13_001 + tax_units: + parent_unit: + members: [parent] + child_unit: + members: [child] + households: + household: + members: [parent, child] + state_code: NY + output: + # 5,000 + 13,001 = 18,001 > 18,000: no credit for either return. + ny_household_gross_income: [18_001, 18_001] + ny_real_property_tax_credit: [0, 0] + # Regression: nonzero ONLY under the corrected single-amount gate. This locks in # the excess_real_property_tax type: single_amount fix - under the old summed # (marginal) schedule the gate would sum to 0.35 at FAGI 16,000, giving a @@ -817,3 +924,134 @@ state_code: NY output: ny_real_property_tax_credit: 375 + +# Tax Law 606(e), taxable years before 2025: the real property tax equivalent +# is 25% of the adjusted rent "actually paid ... by a household" ((1)(F)(i); +# 2024 IT-214 line 19, "rent you and all members of your household paid"), +# the elderly limit applies when a household member is 65 or older ((6)(A); +# 2024 IT-214-I page 1) and "only one credit per household" is allowed +# ((6)(A)). The household's credit goes to one tax unit. +- name: 2024 - an aged parent on their own return gives the household the elderly limit on rent an adult child pays + period: 2024 + absolute_error_margin: 0.01 + input: + people: + parent: + age: 70 + social_security: 12_000 + child: + age: 40 + employment_income: 3_000 + rent: 4_800 + tax_units: + parent_unit: + members: [parent] + child_unit: + members: [child] + households: + household: + members: [parent, child] + state_code: NY + output: + # The parent's combined income 12,000 x 0.5 = 6,000 is under the 25,000 + # base, so no Social Security is taxable and their AGI is 0. SSI: + # countable unearned income 12,000 / 12 - 20 = 980 a month is over the + # 2024 benefit rate of 943, so no SSI. The State Supplement Program rate + # for living with others (23) is less than the 980 - 943 = 37 excess, so + # no supplement. + ssi: [0, 0] + ny_ssp: [0, 0] + # Household gross income: line 9 (0 + 3,000) + line 11 (12,000) = 15,000. + ny_household_gross_income: [15_000, 15_000] + # Rate 0.065 (14,001-18,000) -> threshold 15,000 x 0.065 = 975. The + # household's rent 4,800 (400 a month, within the 450 limit) -> 25% = + # 1,200; excess = 1,200 - 975 = 225; 50% = 112.50. The parent is 70, so + # the elderly limit at 14,001-15,000 (137) applies: 112.50. Either return + # could claim it. + ny_real_property_tax_credit_potential: [112.5, 112.5] + # One credit per household: the tie goes to the tax unit whose head comes + # first in the person order. On the child's return alone the non-elderly + # limit at 15,000 (47) would bind instead. + ny_real_property_tax_credit_claimant: [true, false] + ny_real_property_tax_credit: [112.5, 0] + +- name: 2024 - two adults on their own returns who split the rent get one credit on the household's rent + period: 2024 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + employment_income: 8_000 + rent: 2_400 + person2: + age: 38 + employment_income: 8_000 + rent: 2_400 + tax_units: + tax_unit1: + members: [person1] + tax_unit2: + members: [person2] + households: + household: + members: [person1, person2] + state_code: NY + output: + # Household gross income: line 9, 8,000 + 8,000 = 16,000. + ny_household_gross_income: [16_000, 16_000] + # Rate 0.065 (14,001-18,000) -> threshold 16,000 x 0.065 = 1,040. The + # household's rent 2,400 + 2,400 = 4,800 (400 a month) -> 25% = 1,200; + # excess = 1,200 - 1,040 = 160; 50% = 80, capped by the non-elderly limit + # at 15,001-16,000 = 45. Each return's own rent alone (25% x 2,400 = 600, + # under 1,040) would give no credit. + ny_real_property_tax_credit_potential: [45, 45] + ny_real_property_tax_credit_claimant: [true, false] + ny_real_property_tax_credit: [45, 0] + +# Tax Law 606(e)(6)(A), taxable years before 2025: the elderly limit applies +# "where two or more members of a household are able to meet the +# qualifications of a qualified taxpayer and one of them is sixty-five years +# of age or more", and the 2024 IT-214-I page 1 gives it when "at least one +# member of your household is age 65 or older". Line 7 of the 2024 IT-214-I +# (page 2) lists only a member 65 or older "who is filing Form IT-214", which +# a claimed dependent cannot do. The model follows the statute (candidate +# us-ny:real-property-credit-aged-dependent in source_conflicts/candidates.yaml). +- name: 2024 - an aged parent claimed as a dependent gives the household the elderly limit on rent an adult child pays + period: 2024 + absolute_error_margin: 0.01 + input: + people: + child: + age: 40 + employment_income: 3_000 + rent: 4_800 + is_tax_unit_head: true + parent: + age: 70 + social_security: 12_000 + is_tax_unit_dependent: true + tax_units: + tax_unit: + members: [child, parent] + households: + household: + members: [child, parent] + state_code: NY + output: + # The parent's combined income 12,000 x 0.5 = 6,000 is under the 25,000 + # base, so none of their Social Security is taxable and their AGI is 0. + # SSI: countable unearned income 12,000 / 12 - 20 = 980 a month is over + # the 2024 benefit rate of 943, so no SSI. The State Supplement Program + # rate for living with others (23) is less than the 980 - 943 = 37 + # excess, so no supplement. + ssi: [0, 0] + ny_ssp: [0, 0] + # Household gross income: line 9 (3,000 + 0) + line 11 (12,000) = 15,000. + ny_household_gross_income: 15_000 + # Rate 0.065 (14,001-18,000) -> threshold 15,000 x 0.065 = 975. Rent + # 4,800 (400 a month, within the 450 limit) -> 25% = 1,200; excess = + # 1,200 - 975 = 225; 50% = 112.50. Under the statute the parent's age + # gives the elderly limit at 14,001-15,000 (137): 112.50. Under line 7 the + # non-elderly limit at 14,001-15,000 (47) would bind instead. + ny_real_property_tax_credit: 112.5 diff --git a/policyengine_us/tests/policy/baseline/gov/states/ny/tax/income/credits/ny_real_property_tax_credit_claimant.yaml b/policyengine_us/tests/policy/baseline/gov/states/ny/tax/income/credits/ny_real_property_tax_credit_claimant.yaml new file mode 100644 index 00000000000..b46cb24a518 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/ny/tax/income/credits/ny_real_property_tax_credit_claimant.yaml @@ -0,0 +1,99 @@ +# Tax Law 606(e)(6)(A), taxable years before 2025: "only one credit per +# household and per qualified taxpayer shall be allowed". Qualifying members +# may divide it any way they agree (2024 IT-214-I line 33); the model gives +# the household's credit to the tax unit with the largest potential claim. +# 606(e)(6)(B), from 2025: "only one credit per qualified taxpayer". + +- name: Case 1, the tax unit that owns the home and pays its property tax claims the household's credit. + period: 2024 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + employment_income: 3_000 + person2: + age: 70 + social_security: 12_000 + real_estate_taxes: 1_500 + tax_units: + tax_unit1: + members: [person1] + tax_unit2: + members: [person2] + households: + household: + members: [person1, person2] + state_code: NY + output: + # person2's Social Security is not taxable (combined income 6,000 is + # under 25,000) and gives no SSI (980 a month countable is over 943), so + # household gross income is 3,000 + 12,000 = 15,000. Rate 0.065 -> + # threshold 975. 606(e)(1)(E)(i) lets only the owner's return count the + # property tax. person1's return has no property tax or rent: 0. + # person2's: excess = 1,500 - 975 = 525; 50% = 262.50, capped by the + # elderly limit at 14,001-15,000 = 137. + ny_real_property_tax_credit_potential: [0, 137] + ny_real_property_tax_credit_claimant: [false, true] + ny_real_property_tax_credit: [0, 137] + +- name: Case 2, a tie goes to the tax unit holding the household head. + period: 2024 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + employment_income: 8_000 + rent: 2_400 + person2: + age: 38 + employment_income: 8_000 + rent: 2_400 + is_household_head: true + tax_units: + tax_unit1: + members: [person1] + tax_unit2: + members: [person2] + households: + household: + members: [person1, person2] + state_code: NY + output: + # Household gross income 16,000 -> threshold 16,000 x 0.065 = 1,040. + # Household rent 4,800 -> 25% = 1,200; excess = 160; 50% = 80, capped by + # the non-elderly limit at 15,001-16,000 = 45 on either return. + ny_real_property_tax_credit_potential: [45, 45] + ny_real_property_tax_credit_claimant: [false, true] + ny_real_property_tax_credit: [0, 45] + +- name: Case 3, from 2025 each tax unit claims its own credit on its own rent. + period: 2025 + absolute_error_margin: 0.01 + input: + people: + person1: + age: 40 + employment_income: 8_000 + rent: 2_400 + person2: + age: 38 + employment_income: 8_000 + rent: 2_400 + tax_units: + tax_unit1: + members: [person1] + tax_unit2: + members: [person2] + households: + household: + members: [person1, person2] + state_code: NY + output: + # Each return: federal AGI 8,000 -> rate 0.05 (7,001-9,000), threshold + # 400. Its own rent 2,400 -> 25% = 600, over 400, so the line 19 gate + # passes. Non-elderly Table B at 5,001-9,000: 70. + ny_real_property_tax_credit_potential: [70, 70] + ny_real_property_tax_credit_claimant: [true, true] + ny_real_property_tax_credit: [70, 70] diff --git a/policyengine_us/variables/gov/states/ny/tax/income/credits/ny_household_gross_income.py b/policyengine_us/variables/gov/states/ny/tax/income/credits/ny_household_gross_income.py index 6bae9a74f09..b2967876ab2 100644 --- a/policyengine_us/variables/gov/states/ny/tax/income/credits/ny_household_gross_income.py +++ b/policyengine_us/variables/gov/states/ny/tax/income/credits/ny_household_gross_income.py @@ -13,33 +13,82 @@ class ny_household_gross_income(Variable): "and credit-sizing income measure through tax year 2024; from 2025 the " "credit uses federal AGI instead (see ny_real_property_tax_credit). By " "statute (Tax Law 606(e)(1)(C)) household gross income is the income of " - "ALL household members; this variable sums at the tax unit as a " - "simplification. It also omits statutory line items PolicyEngine does " - "not yet add back here: pensions and annuities not in AGI (line 13), " - "cash public assistance and TANF (line 14), workers' compensation, " - "child support / support money, and veterans' disability pensions " - "(line 11)." + "all members of the household, and a household is everyone who shares " + "the residence (606(e)(1)(B)). This variable sums every member of the " + "PolicyEngine household, including other tax units and tax unit " + "dependents, and gives each tax unit in the household that total. " + "606(e)(1)(B) leaves out a tenant, subtenant, roomer or boarder who is " + "not related to the claimant; no input marks those members, so their " + "income counts. Not yet added: New York additions other than " + "tax-exempt interest (line 10) and nontaxable strike benefits (line 15)." + ) + reference = ( + # 606(e)(1)(B) defines the household; 606(e)(1)(C) defines household + # gross income for taxable years before 2025. + "https://www.nysenate.gov/legislation/laws/TAX/606", + # Year-specific 2024 instructions: line 7 (household members) and + # lines 9 to 15. The current_forms/ URL resolves to the latest (2025) + # form, whose Step 3 uses federal AGI, not this measure. + "https://www.tax.ny.gov/pdf/2024/inc/it214i_2024.pdf#page=2", + # 2024 Form IT-214 Step 3, lines 9 to 16. + "https://www.tax.ny.gov/pdf/2024/inc/it214_2024_fill_in.pdf#page=2", ) - # Year-specific 2024 instructions; the current_forms/ URL resolves to the - # latest (2025) form, whose Step 3 uses federal AGI, not this measure. - reference = "https://www.tax.ny.gov/pdf/2024/inc/it214i_2024.pdf#page=2" # IT-214 Step 3, lines 9-16 def formula(tax_unit, period, parameters): - # Form IT-214, Step 3 "Determine household gross income" (line 16 = - # sum of lines 9 through 15). Line 9 is federal AGI; the remaining - # lines add income that is not already in AGI, "even if not taxable." - # Line 9: recomputed federal AGI (IT-201 line 19a; IT-214 instructions). - agi = tax_unit("ny_recomputed_federal_agi", period) + # Form IT-214, Step 3 "Determine household gross income": line 16 is + # the sum of lines 9 through 15, "the total of all amounts, even if + # not taxable, that you, your spouse (if married), and all other + # household members received". Each amount is figured per person and + # summed over the household. person = tax_unit.members - # Line 11: Social Security payments not included on line 9 (i.e. the - # portion of benefits not taxed federally). Line 11 instructions: - # "including all payments received under the Social Security Act." + is_head = person("is_tax_unit_head", period) + is_dependent = person("is_tax_unit_dependent", period) + # Line 9: federal AGI "for all members of your household". Each tax + # unit's recomputed federal AGI (IT-201 line 19a) counts once, on its + # head. A tax unit dependent's AGI is on their own return. + line_9 = is_head * person.tax_unit( + "ny_recomputed_federal_agi", period + ) + person("dependent_adjusted_gross_income", period) + # Line 11: "Social Security payments not included on line 9, + # including all payments received under the Social Security Act and + # veterans disability pensions" (606(e)(1)(C): "veterans' disability + # pensions"). A dependent's taxable Social Security is in their own + # AGI. social_security = person("social_security", period) - taxable_social_security = person("taxable_social_security", period) + taxable_social_security = where( + is_dependent, + person("dependent_taxable_social_security", period), + person("taxable_social_security", period), + ) nontaxable_social_security = max_(social_security - taxable_social_security, 0) - # Line 12: Supplemental Security Income (SSI). - ssi = person("ssi", period) - # Line 15: other income (tax-exempt interest). - tax_exempt_interest = person("tax_exempt_interest_income", period) - additions = tax_unit.sum(nontaxable_social_security + ssi + tax_exempt_interest) - return agi + additions + line_11 = nontaxable_social_security + person("veterans_benefits", period) + # Line 12: Supplemental Security Income payments. + line_12 = person("ssi", period) + # Line 13: pensions and annuities not included on lines 9 through 12; + # 606(e)(1)(C) counts "the gross amount of any pension or annuity + # benefits to the extent not included in such adjusted gross income". + line_13 = person("tax_exempt_pension_income", period) + # Line 14: cash public assistance and relief (606(e)(1)(C): "the + # amount of cash public assistance and relief, other than medical + # assistance for the needy"). TANF is paid to the SPM unit, and + # tanf_person is each member's equal share. The New York State + # Supplement Program payment is state cash relief paid on top of SSI. + line_14 = add(person, period, ["tanf_person", "general_assistance", "ny_ssp"]) + # Line 15: other income, including nontaxable New York interest, + # workers' compensation, support money, income earned abroad exempted + # by IRC 911 and the gross amount of loss-of-time insurance, each also + # named in 606(e)(1)(C). The section 911 amount is a tax unit total, + # so it counts on the head. + line_15 = add( + person, + period, + [ + "tax_exempt_interest_income", + "workers_compensation", + "child_support_received", + "tax_exempt_disability_benefits", + ], + ) + is_head * person.tax_unit("section_911_excluded_income", period) + income = line_9 + line_11 + line_12 + line_13 + line_14 + line_15 + # Every tax unit in the household gets the household's total. + return tax_unit.max(person.household.sum(income)) diff --git a/policyengine_us/variables/gov/states/ny/tax/income/credits/ny_real_property_tax_credit.py b/policyengine_us/variables/gov/states/ny/tax/income/credits/ny_real_property_tax_credit.py index 43a138072ee..97b2a5b37ae 100644 --- a/policyengine_us/variables/gov/states/ny/tax/income/credits/ny_real_property_tax_credit.py +++ b/policyengine_us/variables/gov/states/ny/tax/income/credits/ny_real_property_tax_credit.py @@ -7,105 +7,13 @@ class ny_real_property_tax_credit(Variable): label = "NY real property tax credit" unit = USD definition_period = YEAR - reference = "https://www.nysenate.gov/legislation/laws/TAX/606" # (e) + reference = "https://www.nysenate.gov/legislation/laws/TAX/606" # (e)(6) defined_for = StateCode.NY def formula(tax_unit, period, parameters): - rptc = parameters(period).gov.states.ny.tax.income.credits.real_property_tax - - # Age-based eligibility. The elderly tier (IT-214 line 7) applies if the - # filer, spouse, or a claimed dependent is 65 or older. A return on - # which a filer can be claimed as a dependent (outside the claimant - # filing exception) has no dependents (IRC 152(b)(1)), so a - # dependent's age does not count there. - person = tax_unit.members - age = person("age", period) - aged = age >= rptc.elderly_age - filer = person("is_tax_unit_head_or_spouse", period) - no_dependents = person.tax_unit( - "head_or_spouse_is_dependent_elsewhere_without_filing_exception", period - ) - meets_age_condition = tax_unit.any(aged & (filer | ~no_dependents)) - - # Real-estate-based phase-in. - real_estate_tax = add(tax_unit, period, ["real_estate_taxes"]) - rent = add(tax_unit, period, ["rent"]) - equivalent_rent = rent * rptc.rent_tax_equivalent - real_estate_tax_or_equiv = real_estate_tax + equivalent_rent - - # Income measure. Through 2024 the credit is keyed to IT-214 household - # gross income (line 16) - federal AGI plus nontaxable Social Security - # and other household income. Part RR of Chapter 59 of the Laws of 2025 - # amended Tax Law 606(e) so that, for tax years beginning on or after - # 2025-01-01, eligibility (and the credit amount) is based on federal - # adjusted gross income instead. - if rptc.uses_household_gross_income: - income = tax_unit("ny_household_gross_income", period) - else: - income = tax_unit("ny_recomputed_federal_agi", period) - # IT-214: "Your federal adjusted gross income cannot be an amount less - # than zero. If the amount is less than zero, enter 0." - income = max_(income, 0) - # IT-214-I "How to fill in Form IT-214": "enter whole dollar amounts - # only ... drop amounts below 50 cents and increase amounts from 50 to - # 99 cents to the next dollar" - i.e. round half up (np.round would - # round half to even). - income = np.floor(income + 0.5) - # IT-214's rate and amount tables use closed integer bands ($0-3,000, - # then 3,001-5,000, ...), so a value exactly at a band top stays in - # that band: calc(..., right=True) over band-top thresholds, with a - # -.inf first threshold so an income of exactly $0 lands inside the - # first band rather than below the scale. - income_threshold = income * rptc.excess_real_property_tax.calc( - income, right=True - ) - excess_rpt = max_(0, real_estate_tax_or_equiv - income_threshold) - - # Means-tested conditions. The renter cap (IT-214 line 21) applies to - # the rent itself (average monthly rent $450 or less, i.e. annual rent - # up to $5,400) — not to 25% of the rent, which is only used to size - # the credit at line 22. The form applies the cap to adjusted rent (net - # of heat, gas, electricity, furnishings, and board); PolicyEngine has - # only gross rent, so the cap is applied to gross rent. - assessed_value = add(tax_unit, period, ["assessed_property_value"]) - meets_value_conditions = (assessed_value <= rptc.max_property_value) & ( - rent <= rptc.max_rent - ) - - # IT-214 income limit ("$18,000 or less"). - meets_income_condition = income <= rptc.max_agi - - # Tax Law 606(e)(7)(E) excludes an individual whom another taxpayer can - # claim as a dependent ("You could not be claimed as a dependent", - # IT-214), while 606(e)(6)(C) covers "a qualified taxpayer and their - # spouse", so one qualified spouse keeps the credit. - independent_filers = tax_unit( - "head_spouse_count_not_dependent_elsewhere", period - ) - eligible = ( - meets_value_conditions & meets_income_condition & (independent_filers > 0) - ) - - # From 2025 (Part RR of Chapter 59 of the Laws of 2025) the credit is a - # flat amount looked up by federal AGI bracket, allowed only when the - # property-tax measure exceeds the FAGI-based threshold (IT-214 line 19 - # gate). Through 2024 the credit is 50% of excess, capped by the maximum - # chart. - if rptc.uses_flat_amount_table: - flat_amount = where( - meets_age_condition, - rptc.amount.elderly.calc(income, right=True), - rptc.amount.non_elderly.calc(income, right=True), - ) - gate = excess_rpt > 0 - return where(eligible & gate, flat_amount, 0) - - maximum_credit = where( - meets_age_condition, - rptc.maximum.elderly.calc(income, right=True), - rptc.maximum.non_elderly.calc(income, right=True), - ) - - credit_amount = rptc.rate * excess_rpt - - return min_(eligible * credit_amount, maximum_credit) + # 606(e)(6)(A): through 2024 only one credit is allowed per household, + # so every tax unit in the household other than the claimant gets + # none. From 2025 (606(e)(6)(B)) every tax unit is its own claimant. + potential = tax_unit("ny_real_property_tax_credit_potential", period) + claimant = tax_unit("ny_real_property_tax_credit_claimant", period) + return potential * claimant diff --git a/policyengine_us/variables/gov/states/ny/tax/income/credits/ny_real_property_tax_credit_claimant.py b/policyengine_us/variables/gov/states/ny/tax/income/credits/ny_real_property_tax_credit_claimant.py new file mode 100644 index 00000000000..58998e20563 --- /dev/null +++ b/policyengine_us/variables/gov/states/ny/tax/income/credits/ny_real_property_tax_credit_claimant.py @@ -0,0 +1,45 @@ +from policyengine_us.model_api import * + + +class ny_real_property_tax_credit_claimant(Variable): + value_type = bool + entity = TaxUnit + label = "Claimant of the household's New York real property tax credit" + definition_period = YEAR + reference = ( + "https://www.nysenate.gov/legislation/laws/TAX/606", # (e)(6) + # 2024 IT-214-I: "Only one credit is allowed per household." + "https://www.tax.ny.gov/pdf/2024/inc/it214i_2024.pdf#page=1", + ) + defined_for = StateCode.NY + + def formula(tax_unit, period, parameters): + rptc = parameters(period).gov.states.ny.tax.income.credits.real_property_tax + # 606(e)(6)(B): from 2025 "only one credit per qualified taxpayer shall + # be allowed", so each tax unit claims its own credit. The household + # gross income switch marks the household rules of Part RR of Chapter + # 59 of the Laws of 2025 (see ny_real_property_tax_credit_potential). + if not rptc.uses_household_gross_income: + return np.ones(tax_unit.count, dtype=bool) + # 606(e)(6)(A): through 2024 "only one credit per household and per + # qualified taxpayer shall be allowed". Qualifying members divide it + # equally unless they file "a written agreement ... setting forth a + # different division"; the 2024 IT-214-I line 33 lets them "divide the + # amount any way you want". As a modeling convention, the household's + # credit goes to the tax unit whose potential claim is largest. A tie + # goes to the tax unit holding the household head, and otherwise to + # the tax unit whose head comes first in the simulation's person + # order. + person = tax_unit.members + candidate = person("is_tax_unit_head", period) + claim = person.tax_unit("ny_real_property_tax_credit_potential", period) + largest = person.household.max(where(candidate, claim, -np.inf)) + tied = candidate & (claim >= largest) + holds_household_head = person.tax_unit.any(person("is_household_head", period)) + # get_rank sorts by members_position, so rank 0 goes to the first tied + # tax unit holding the household head, or, if none does, to the tied + # tax unit whose head comes first in the simulation's person order. + rank = person.get_rank( + person.household, where(holds_household_head, 0, 1), condition=tied + ) + return tax_unit.any(tied & (rank == 0)) diff --git a/policyengine_us/variables/gov/states/ny/tax/income/credits/ny_real_property_tax_credit_potential.py b/policyengine_us/variables/gov/states/ny/tax/income/credits/ny_real_property_tax_credit_potential.py new file mode 100644 index 00000000000..3aabeb0cf48 --- /dev/null +++ b/policyengine_us/variables/gov/states/ny/tax/income/credits/ny_real_property_tax_credit_potential.py @@ -0,0 +1,147 @@ +from policyengine_us.model_api import * + + +class ny_real_property_tax_credit_potential(Variable): + value_type = float + entity = TaxUnit + label = "New York real property tax credit if the tax unit were the household's claimant" + unit = USD + definition_period = YEAR + reference = ( + "https://www.nysenate.gov/legislation/laws/TAX/606", # (e) + # 2024 IT-214-I: "If at least one member of your household is age 65 + # or older, the credit can be as much as $375." + "https://www.tax.ny.gov/pdf/2024/inc/it214i_2024.pdf#page=1", + # 2024 IT-214-I line 19: "the total rent that you and all members of + # your household paid". + "https://www.tax.ny.gov/pdf/2024/inc/it214i_2024.pdf#page=2", + ) + defined_for = StateCode.NY + + def formula(tax_unit, period, parameters): + rptc = parameters(period).gov.states.ny.tax.income.credits.real_property_tax + person = tax_unit.members + aged = person("age", period) >= rptc.elderly_age + rent = person("rent", period) + + # NOTE: Part RR of Chapter 59 of the Laws of 2025 moved the credit from + # the household to the qualified taxpayer for tax years from 2025, all + # on the same date: the income measure (606(e)(1)(C), (7)(A)), the + # rent (606(e)(1)(F)), the age test (606(e)(3), (6)) and the number of + # credits (606(e)(6)). The household gross income switch therefore + # marks the household rules for all four. + if rptc.uses_household_gross_income: + # Through 2024 the income measure is IT-214 household gross income + # (line 16), already the total for everyone in the household. + income = tax_unit("ny_household_gross_income", period) + # 606(e)(1)(F)(i): the real property tax equivalent is 25% of + # the adjusted rent "actually paid ... by a household"; IT-214 + # line 19 counts the rent "you and all members of your household + # paid". + rent_paid = tax_unit.max(person.household.sum(rent)) + # 606(e)(6)(A): where two or more members of a household can + # qualify "and one of them is sixty-five years of age or more", + # the credit is the one for those aged 65 or older. 606(e)(1)(A)(i) + # defines a qualified taxpayer by residence, occupancy and filing + # a return, which the model does not track, and the 2024 IT-214-I + # gives the elderly limit when "at least one member of your + # household is age 65 or older". So any household member's age + # counts, including a tax unit dependent's. + # Candidate: us-ny:real-property-credit-aged-dependent until registered. + meets_age_condition = tax_unit.any(person.household.any(aged)) + else: + # From 2025 (Part RR of Chapter 59 of the Laws of 2025) the + # credit is keyed to federal AGI, and eligibility and the amount + # turn on the taxpayer's own return. + income = tax_unit("ny_recomputed_federal_agi", period) + # 606(e)(1)(F)(ii): rent "actually paid ... by a qualified + # taxpayer". + rent_paid = tax_unit.sum(rent) + # 606(e)(3)(B)(i): the elderly amounts need a qualified taxpayer, + # spouse or claimed dependent aged 65 or older. A return on which + # a filer can be claimed as a dependent (outside the claimant + # filing exception) has no dependents (IRC 152(b)(1)), so a + # dependent's age does not count there. + filer = person("is_tax_unit_head_or_spouse", period) + no_dependents = person.tax_unit( + "head_or_spouse_is_dependent_elsewhere_without_filing_exception", + period, + ) + meets_age_condition = tax_unit.any(aged & (filer | ~no_dependents)) + + # Qualifying real property taxes stay with the tax unit in every year: + # 606(e)(1)(E) lets a qualified taxpayer include them "only to the + # extent that such taxpayer or the spouse of such taxpayer ... owns or + # has owned the residence and paid such taxes". + real_estate_tax = add(tax_unit, period, ["real_estate_taxes"]) + equivalent_rent = rent_paid * rptc.rent_tax_equivalent + real_estate_tax_or_equiv = real_estate_tax + equivalent_rent + + # IT-214: "Your federal adjusted gross income cannot be an amount less + # than zero. If the amount is less than zero, enter 0." + income = max_(income, 0) + # IT-214-I "How to fill in Form IT-214": "enter whole dollar amounts + # only ... drop amounts below 50 cents and increase amounts from 50 to + # 99 cents to the next dollar" - i.e. round half up (np.round would + # round half to even). + income = np.floor(income + 0.5) + # IT-214's rate and amount tables use closed integer bands ($0-3,000, + # then 3,001-5,000, ...), so a value exactly at a band top stays in + # that band: calc(..., right=True) over band-top thresholds, with a + # -.inf first threshold so an income of exactly $0 lands inside the + # first band rather than below the scale. + income_threshold = income * rptc.excess_real_property_tax.calc( + income, right=True + ) + excess_rpt = max_(0, real_estate_tax_or_equiv - income_threshold) + + # Means-tested conditions. The renter cap (IT-214 line 21) applies to + # the rent itself (average monthly rent $450 or less, i.e. annual rent + # up to $5,400) — not to 25% of the rent, which is only used to size + # the credit at line 22. The form applies the cap to adjusted rent (net + # of heat, gas, electricity, furnishings, and board); PolicyEngine has + # only gross rent, so the cap is applied to gross rent. 606(e)(7)(D) + # tests "the adjusted rent for the residence", so through 2024 it is + # the household's rent. + assessed_value = add(tax_unit, period, ["assessed_property_value"]) + meets_value_conditions = (assessed_value <= rptc.max_property_value) & ( + rent_paid <= rptc.max_rent + ) + + # IT-214 income limit ("$18,000 or less"). + meets_income_condition = income <= rptc.max_agi + + # Tax Law 606(e)(7)(E) excludes an individual whom another taxpayer can + # claim as a dependent ("You could not be claimed as a dependent", + # IT-214), while 606(e)(6)(C) covers "a qualified taxpayer and their + # spouse", so one qualified spouse keeps the credit. + independent_filers = tax_unit( + "head_spouse_count_not_dependent_elsewhere", period + ) + eligible = ( + meets_value_conditions & meets_income_condition & (independent_filers > 0) + ) + + # From 2025 (Part RR of Chapter 59 of the Laws of 2025) the credit is a + # flat amount looked up by federal AGI bracket, allowed only when the + # property-tax measure exceeds the FAGI-based threshold (IT-214 line 19 + # gate). Through 2024 the credit is 50% of excess, capped by the maximum + # chart. + if rptc.uses_flat_amount_table: + flat_amount = where( + meets_age_condition, + rptc.amount.elderly.calc(income, right=True), + rptc.amount.non_elderly.calc(income, right=True), + ) + gate = excess_rpt > 0 + return where(eligible & gate, flat_amount, 0) + + maximum_credit = where( + meets_age_condition, + rptc.maximum.elderly.calc(income, right=True), + rptc.maximum.non_elderly.calc(income, right=True), + ) + + credit_amount = rptc.rate * excess_rpt + + return min_(eligible * credit_amount, maximum_credit) diff --git a/source_conflicts/candidates.yaml b/source_conflicts/candidates.yaml index b4918d42dea..0d95b77fb9e 100644 --- a/source_conflicts/candidates.yaml +++ b/source_conflicts/candidates.yaml @@ -10094,13 +10094,63 @@ candidates: pe_us: follows: statute code: - - policyengine_us/variables/gov/states/ny/tax/income/credits/ny_real_property_tax_credit.py + - policyengine_us/variables/gov/states/ny/tax/income/credits/ny_real_property_tax_credit_potential.py prs: - https://github.com/PolicyEngine/policyengine-us/pull/10090 state: ruled note: 'PE-US follows the statute: the credit needs at least one filer who cannot be claimed, so a qualified taxpayer - keeps it when the spouse can be claimed (ny_real_property_tax_credit.py). Ruled in October 2026 to retain the - credit under the statute; verify the instructions'' return-level interpretation.' + keeps it when the spouse can be claimed (ny_real_property_tax_credit_potential.py). Ruled in October 2026 to + retain the credit under the statute; verify the instructions'' return-level interpretation.' +- id: us-ny:real-property-credit-aged-dependent + program: income-tax + years: + from: 2024 + to: 2024 + type: tax + question: Before 2025, does a household get the real property tax credit limit for those aged 65 or older when its + only member aged 65 or older is claimed as a dependent and so cannot file Form IT-214? + sources: + - kind: statute + citation: N.Y. Tax Law 606(e)(1)(A)(i), 606(e)(3)(A)(i), 606(e)(6)(A), 606(e)(7)(E) + url: https://www.nysenate.gov/legislation/laws/TAX/606 + - kind: instructions + citation: 2024 Form IT-214 instructions, page 1 + url: https://www.tax.ny.gov/pdf/2024/inc/it214i_2024.pdf#page=1 + - kind: instructions + citation: 2024 Form IT-214 instructions, line 7 (page 2) and line 32 chart (page 3) + url: https://www.tax.ny.gov/pdf/2024/inc/it214i_2024.pdf#page=2 + readings: + statute: 606(e)(6)(A) gives the credit for those aged 65 or older "where two or more members of a household are + able to meet the qualifications of a qualified taxpayer and one of them is sixty-five years of age or more". + 606(e)(1)(A)(i) defines a qualified taxpayer as "a resident individual of the state who has occupied the same + residence for six months or more of the taxable year, and is required or chooses to file a return under this + article"; 606(e)(7)(E) denies the credit to a claimed dependent but does not change that definition. Page 1 of + the 2024 instructions says "If at least one member of your household is age 65 or older, the credit can be as + much as $375." + other: Line 7 of the 2024 instructions asks for "any household member who is filing Form IT-214 and was 65 or + older on January 1, 2025", and the line 32 chart gives the column from $375 down to $86 only where "you made an + entry on line 7". Page 1 requires that "You could not be claimed as a dependent on another taxpayer’s federal + income tax return", so a household whose only member aged 65 or older is a claimed dependent gets the column + from $75 down to $41. + example: In 2024 a 40-year-old with $3,000 of wages pays $4,800 of rent and claims a 70-year-old parent with $12,000 + of Social Security as a dependent. Household gross income is $15,000, so 25% of the rent ($1,200) less 6.5% of + income ($975) leaves $225, and half of it is $112.50. The statute reading caps the credit at $137 and allows + $112.50; the line 7 reading caps it at $47. + pe_us: + follows: statute + code: + - policyengine_us/variables/gov/states/ny/tax/income/credits/ny_real_property_tax_credit_potential.py + prs: + - https://github.com/PolicyEngine/policyengine-us/pull/11170 + state: open + note: PE-US follows the statute. Through 2024 ny_real_property_tax_credit_potential.py gives the elderly limit when + any household member is 65 or older, a tax unit dependent included. The readings differ in the model only when + every member aged 65 or older is a claimed dependent, because a member who is not a dependent can file Form IT-214 + and the model gives the household's credit to the tax unit with the largest claim. The cases "2024 - dependent + aged 66 makes the elderly maximum cap apply" and "2024 - an aged parent claimed as a dependent gives the household + the elderly limit on rent an adult child pays" in ny_real_property_tax_credit.yaml pin the statute reading. From + 2025, 606(e)(3)(B)(i) counts claimed dependents aged 65 or older. Only the 2024 instructions were checked. The + review of PR 11170 agreed to keep the statute; PolicyEngine has recorded no ruling. - id: us-ny:ssp-couple-facility-entry-month program: ssi-state-supplement years: