From 8756f06cc09d63e6bb80cffc7b8a22971a52e2ec Mon Sep 17 00:00:00 2001 From: Max Ghenis Date: Thu, 19 Nov 2026 01:34:56 +0000 Subject: [PATCH] Allow New York state itemizers to elect the college tuition credit --- .../ny-filed-college-tuition-option.added.md | 1 + ..._elects_tuition_credit_when_itemizing.yaml | 53 +++++++++++++++++++ .../ny_college_tuition_credit_eligible.py | 4 +- ...ny_elects_tuition_credit_when_itemizing.py | 18 +++++++ .../itemized/ny_college_tuition_deduction.py | 3 +- 5 files changed, 77 insertions(+), 2 deletions(-) create mode 100644 changelog.d/ny-filed-college-tuition-option.added.md create mode 100644 policyengine_us/tests/policy/baseline/gov/states/ny/tax/income/credits/ny_elects_tuition_credit_when_itemizing.yaml create mode 100644 policyengine_us/variables/gov/states/ny/tax/income/credits/college_tuition/ny_elects_tuition_credit_when_itemizing.py diff --git a/changelog.d/ny-filed-college-tuition-option.added.md b/changelog.d/ny-filed-college-tuition-option.added.md new file mode 100644 index 00000000000..ce1cdd93ce2 --- /dev/null +++ b/changelog.d/ny-filed-college-tuition-option.added.md @@ -0,0 +1 @@ +Allow New York itemizers to elect the college tuition credit while claiming other itemized deductions. diff --git a/policyengine_us/tests/policy/baseline/gov/states/ny/tax/income/credits/ny_elects_tuition_credit_when_itemizing.yaml b/policyengine_us/tests/policy/baseline/gov/states/ny/tax/income/credits/ny_elects_tuition_credit_when_itemizing.yaml new file mode 100644 index 00000000000..71d14d8d655 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/ny/tax/income/credits/ny_elects_tuition_credit_when_itemizing.yaml @@ -0,0 +1,53 @@ +# Form IT-272: an itemizer may choose either tuition benefit but cannot take both. +- name: Federal standard and New York itemized with the tuition credit + period: 2025 + input: + state_code: NY + tax_unit_itemizes: false + ny_itemizes: true + ny_elects_tuition_credit_when_itemizing: true + qualified_tuition_expenses: 6_000 + output: + ny_college_tuition_credit: 240 + ny_college_tuition_deduction: 0 + +- name: Federal itemized and New York itemized with the tuition deduction + period: 2025 + input: + state_code: NY + tax_unit_itemizes: true + ny_itemizes: true + ny_elects_tuition_credit_when_itemizing: false + qualified_tuition_expenses: 6_000 + output: + ny_college_tuition_credit: 0 + ny_college_tuition_deduction: 6_000 + +- name: A state standard filer can take the credit without an itemizer election + period: 2025 + input: + state_code: NY + ny_itemizes: false + ny_elects_tuition_credit_when_itemizing: false + qualified_tuition_expenses: 6_000 + output: + ny_college_tuition_credit: 240 + ny_deductions: 8_000 + +- name: New York itemized filing can preserve other deductions and claim the tuition credit + period: 2025 + input: + state_code: NY + ny_itemizes: true + ny_elects_tuition_credit_when_itemizing: true + ny_agi: 18_000 + ny_exemptions: 1_000 + deductible_mortgage_interest: 16_000 + qualified_tuition_expenses: 2_000 + state_sales_tax: 0 + local_sales_tax: 0 + output: + ny_deductions: 16_000 + ny_taxable_income: 1_000 + ny_college_tuition_deduction: 0 + ny_college_tuition_credit: 200 diff --git a/policyengine_us/variables/gov/states/ny/tax/income/credits/college_tuition/ny_college_tuition_credit_eligible.py b/policyengine_us/variables/gov/states/ny/tax/income/credits/college_tuition/ny_college_tuition_credit_eligible.py index 80fd74a342b..c755d155fc2 100644 --- a/policyengine_us/variables/gov/states/ny/tax/income/credits/college_tuition/ny_college_tuition_credit_eligible.py +++ b/policyengine_us/variables/gov/states/ny/tax/income/credits/college_tuition/ny_college_tuition_credit_eligible.py @@ -10,4 +10,6 @@ class ny_college_tuition_credit_eligible(Variable): defined_for = StateCode.NY def formula(tax_unit, period, parameters): - return ~tax_unit("ny_itemizes", period) + itemizes = tax_unit("ny_itemizes", period) + elects_credit = tax_unit("ny_elects_tuition_credit_when_itemizing", period) + return ~itemizes | elects_credit diff --git a/policyengine_us/variables/gov/states/ny/tax/income/credits/college_tuition/ny_elects_tuition_credit_when_itemizing.py b/policyengine_us/variables/gov/states/ny/tax/income/credits/college_tuition/ny_elects_tuition_credit_when_itemizing.py new file mode 100644 index 00000000000..37c4028b112 --- /dev/null +++ b/policyengine_us/variables/gov/states/ny/tax/income/credits/college_tuition/ny_elects_tuition_credit_when_itemizing.py @@ -0,0 +1,18 @@ +from policyengine_us.model_api import * + + +class ny_elects_tuition_credit_when_itemizing(Variable): + value_type = bool + entity = TaxUnit + label = "Elects the New York college tuition credit when itemizing" + definition_period = YEAR + defined_for = StateCode.NY + documentation = ( + "A New York itemizer may claim the tuition credit while itemizing other " + "deductions. Set this election to the method used on the state return." + ) + reference = ( + "https://www.nysenate.gov/legislation/laws/TAX/606", # (t)(6) + "https://www.nysenate.gov/legislation/laws/TAX/615", # (d)(4) + "https://www.tax.ny.gov/forms/html-instructions/2025/it/it272i-2025.htm", + ) diff --git a/policyengine_us/variables/gov/states/ny/tax/income/taxable_income/deductions/itemized/ny_college_tuition_deduction.py b/policyengine_us/variables/gov/states/ny/tax/income/taxable_income/deductions/itemized/ny_college_tuition_deduction.py index 288ed0f4438..3478c0baf0b 100644 --- a/policyengine_us/variables/gov/states/ny/tax/income/taxable_income/deductions/itemized/ny_college_tuition_deduction.py +++ b/policyengine_us/variables/gov/states/ny/tax/income/taxable_income/deductions/itemized/ny_college_tuition_deduction.py @@ -18,4 +18,5 @@ def formula(tax_unit, period, parameters): period ).gov.states.ny.tax.income.deductions.itemized.college_tuition allowable_expenses = tax_unit("ny_allowable_college_tuition_expenses", period) - return allowable_expenses * p.applicable_percentage + elects_credit = tax_unit("ny_elects_tuition_credit_when_itemizing", period) + return where(elects_credit, 0, allowable_expenses * p.applicable_percentage)