From 69d60f1b4f254c23064871b13895b83e23f0ff68 Mon Sep 17 00:00:00 2001 From: David Trimmer Date: Thu, 19 Nov 2026 17:46:28 -0500 Subject: [PATCH 1/2] Count all of Wisconsin's listed income in homestead credit household income Add child support (including amounts recorded on the child), maintenance outside AGI, county relief, veterans' benefits, nontaxable retirement distributions, 401(k) and 403(b) deferrals, deducted IRA and self-employed plan contributions, workers' compensation and the untaxed part of disability insurance, as Wis. Stat. 71.52(6) and the 2025 Schedule H lines 9d-9j and 11b require. For the earned income test (71.52(1g)), count a partner's net earnings from self-employment instead of partnership and S corporation income. Co-Authored-By: Claude Opus 5.5 --- .../wi-homestead-income-sources.fixed.md | 1 + .../homestead/eligible/earnings_sources.yaml | 10 +- .../homestead/income/all_member_sources.yaml | 20 ++ .../credits/homestead/income/sources.yaml | 50 ++- .../wi/tax/income/wi_homestead_credit.yaml | 22 ++ .../wi/tax/income/wi_homestead_eligible.yaml | 96 ++++++ .../wi/tax/income/wi_homestead_income.yaml | 288 ++++++++++++++++++ .../credits/homestead/wi_homestead_income.py | 13 +- .../wi_homestead_nontaxable_alimony.py | 32 ++ 9 files changed, 528 insertions(+), 4 deletions(-) create mode 100644 changelog.d/wi-homestead-income-sources.fixed.md create mode 100644 policyengine_us/parameters/gov/states/wi/tax/income/credits/homestead/income/all_member_sources.yaml create mode 100644 policyengine_us/variables/gov/states/wi/tax/income/credits/homestead/wi_homestead_nontaxable_alimony.py diff --git a/changelog.d/wi-homestead-income-sources.fixed.md b/changelog.d/wi-homestead-income-sources.fixed.md new file mode 100644 index 00000000000..e9bf2503582 --- /dev/null +++ b/changelog.d/wi-homestead-income-sources.fixed.md @@ -0,0 +1 @@ +Count child support, untaxed maintenance, county relief, veterans' benefits, untaxed retirement distributions, 401(k) and 403(b) deferrals, deducted IRA and self-employed plan contributions, workers' compensation and untaxed disability insurance in Wisconsin homestead credit household income, as Wis. Stat. 71.52(6) requires. S corporation income no longer counts as earned income for the homestead credit's eligibility test; a partner's net earnings from self-employment do. diff --git a/policyengine_us/parameters/gov/states/wi/tax/income/credits/homestead/eligible/earnings_sources.yaml b/policyengine_us/parameters/gov/states/wi/tax/income/credits/homestead/eligible/earnings_sources.yaml index 87d5ea4f90a..65dfca9d2c0 100644 --- a/policyengine_us/parameters/gov/states/wi/tax/income/credits/homestead/eligible/earnings_sources.yaml +++ b/policyengine_us/parameters/gov/states/wi/tax/income/credits/homestead/eligible/earnings_sources.yaml @@ -7,10 +7,18 @@ metadata: href: https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2021/0013_homestead_tax_credit_informational_paper_13.pdf#page=7 - title: 2025 Wisconsin Schedule H instructions href: https://www.revenue.wi.gov/TaxForms2025/2025-ScheduleH-inst.pdf#page=7 + - title: Wis. Stat. 71.52(1g), earned income + href: https://docs.legis.wisconsin.gov/statutes/statutes/71/viii/52/1g values: 2021-01-01: - irs_employment_income - self_employment_income - sstb_self_employment_income - - partnership_s_corp_income + # Wis. Stat. 71.52(1g): wages and other employee compensation "plus the + # amount of the claimant's net earnings from self-employment". A + # partner's net earnings from self-employment are Schedule K-1 (Form + # 1065) box 14. An S corporation shareholder's distributive share is not + # net earnings from self-employment (IRC 1402(a)), so S corporation + # income is not earned income. + - partnership_self_employment_net_earnings - farm_operations_income diff --git a/policyengine_us/parameters/gov/states/wi/tax/income/credits/homestead/income/all_member_sources.yaml b/policyengine_us/parameters/gov/states/wi/tax/income/credits/homestead/income/all_member_sources.yaml new file mode 100644 index 00000000000..069fb132c53 --- /dev/null +++ b/policyengine_us/parameters/gov/states/wi/tax/income/credits/homestead/income/all_member_sources.yaml @@ -0,0 +1,20 @@ +description: Wisconsin counts these homestead credit income sources for every tax unit member, not only the claimant and spouse, as payments the claimant receives for a dependent. +values: + 2021-01-01: + # Each entry must also be in sources.yaml, which decides what counts; + # this list only decides whose amounts are summed. + # Wis. Stat. 71.52(6) counts "support money", and Schedule H line 9i + # counts "court ordered support payments received in 2025, including + # child support" (instructions, page 14). The claimant receives child + # support for the child, so it counts even when recorded on the child. + # A child's own Social Security and SSI stay out (line 9b, page 13). + - child_support_received +metadata: + unit: list + period: year + label: Wisconsin homestead credit income sources counted for every member + reference: + - title: Wis. Stat. 71.52(4)-(6) + href: https://docs.legis.wisconsin.gov/statutes/statutes/71/viii/52 + - title: "2025 Wisconsin Schedule H instructions #page 13-14" + href: https://www.revenue.wi.gov/TaxForms2025/2025-ScheduleH-inst.pdf#page=13 diff --git a/policyengine_us/parameters/gov/states/wi/tax/income/credits/homestead/income/sources.yaml b/policyengine_us/parameters/gov/states/wi/tax/income/credits/homestead/income/sources.yaml index 6e30f6d277b..38e4e29e906 100644 --- a/policyengine_us/parameters/gov/states/wi/tax/income/credits/homestead/income/sources.yaml +++ b/policyengine_us/parameters/gov/states/wi/tax/income/credits/homestead/income/sources.yaml @@ -5,7 +5,7 @@ metadata: reference: - title: Homestead Tax Credit, Wisconsin Legislative Fiscal Bureau href: https://docs.legis.wisconsin.gov/misc/lfb/informational_papers/january_2021/0013_homestead_tax_credit_informational_paper_13.pdf#page=14 - - title: 2025 Wisconsin Schedule H instructions + - title: "2025 Wisconsin Schedule H instructions #page 6,13-14" href: https://www.revenue.wi.gov/TaxForms2025/2025-ScheduleH-inst.pdf#page=6 - title: Wis. Stat. 71.52(4)-(6) href: https://docs.legis.wisconsin.gov/statutes/statutes/71/viii/52 @@ -30,3 +30,51 @@ values: # household income (71.52(4)-(5)). - wi_ssp - tanf + # Wis. Stat. 71.52(6) adds each of the amounts below "to the extent not + # included in Wisconsin adjusted gross income". Lines are 2025 Schedule H + # lines (instructions, pages 13-14). + # "maintenance payments ..., support money". Line 9i: "any court ordered + # support payments received in 2025, including child support and family + # maintenance". The claimant receives child support for the child, so it + # also counts when recorded on a dependent (all_member_sources.yaml). + - child_support_received + # Line 9i note: maintenance under an instrument executed after 2018 is + # outside adjusted gross income, but "they must be included in household + # income on line 9i". Only that untaxed part is listed, since adjusted + # gross income holds the rest. + - wi_homestead_nontaxable_alimony + # "cash public assistance" and "cash benefits paid by counties under s. + # 59.53 (21)". Line 9j: "county relief ... and other cash public + # assistance payments". + - general_assistance + # "the gross amount of any pension or annuity (including ... veterans + # disability pensions)" and "compensation and other cash benefits + # received from the United States for past or present service in the + # armed forces". Line 9d: "Include veterans' pensions, disability + # payments"; line 9h: military compensation. + - veterans_benefits + # "the gross amount of any pension or annuity". Line 9d: "nontaxable IRA, + # SEP, SIMPLE, and qualified plan distributions. Both taxable and + # nontaxable amounts must be included in household income." Adjusted + # gross income holds the taxable part. + - tax_exempt_retirement_distributions + # "nontaxable deferred compensation". Line 9e: "contributions to deferred + # compensation plans that were excluded from income", Form W-2 box 12 + # codes D and E among them. Elective deferrals only: the rest of + # pre_tax_contributions (health premiums, HSA contributions, dependent + # care benefits) is not deferred compensation. + - traditional_401k_contributions + - traditional_403b_contributions + # "contributions to individual retirement accounts under section 219 of + # the internal revenue code, contributions to Keogh plans ... deducted in + # determining Wisconsin adjusted gross income shall be added to + # 'income'". Line 9f: IRA, self-employed SEP, SIMPLE and qualified plan + # contributions deducted on federal Schedule 1. + - traditional_ira_deduction + - self_employed_pension_contribution_ald + # "worker's compensation ... the gross amount of 'loss of time' + # insurance". Line 11b: "Workers' compensation, income continuation, and + # loss of time insurance (for example, sick pay)". Adjusted gross income + # holds the taxable part of disability benefits. + - workers_compensation + - tax_exempt_disability_benefits diff --git a/policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_homestead_credit.yaml b/policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_homestead_credit.yaml index 95783d8b096..3c543190b9d 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_homestead_credit.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_homestead_credit.yaml @@ -91,3 +91,25 @@ # (1,460 - 541.95) * 0.8 = 734.44. Without the supplement: # (11,928 - 8,060) * 0.08785 = 339.80; (1,460 - 339.80) * 0.8 = 896.16. wi_homestead_credit: 734.44 + +- name: Case 7, a homeowner's veterans' benefits reduce the credit through household income. + # Wis. Stat. 71.52(6) counts "veterans disability pensions" and other cash + # benefits for service in the armed forces (2025 Schedule H line 9d). + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: WI + age: 70 + social_security_retirement: 12_000 + veterans_benefits: 6_000 + real_estate_taxes: 1_000 + ssi: 0 + output: + # No Social Security is taxable: 12,000 + 6,000 = 18,000. + wi_homestead_income: 18_000 + wi_homestead_eligible: true + wi_homestead_property_tax: 1_000 + # (18,000 - 8,060) x 8.785% = 873.229 phase-out; + # (1,000 - 873.229) x 80% = 101.4168. Without the veterans' benefits: + # (12,000 - 8,060) x 8.785% = 346.129; (1,000 - 346.129) x 80% = 523.0968. + wi_homestead_credit: 101.4168 diff --git a/policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_homestead_eligible.yaml b/policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_homestead_eligible.yaml index e7c89ed88a6..ece9d71501c 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_homestead_eligible.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_homestead_eligible.yaml @@ -644,3 +644,99 @@ output: wi_homestead_income: 9_000 wi_homestead_eligible: true + +# Wis. Stat. 71.52(1g): "'Earned income' means wages, salaries, tips, and +# other employee compensation that may be included in federal adjusted gross +# income for the taxable year, plus the amount of the claimant's net earnings +# from self-employment for the taxable year". Under 71.54(1)(dm)-(gm), as +# Schedule H Step 1a reads them, a claimant who is under 62 and not disabled +# needs earned income. + +- name: Case 16, S corporation income alone is not earned income. + # An S corporation shareholder's distributive share is not net earnings + # from self-employment (IRC 1402(a)). + period: 2025 + input: + people: + head: + age: 40 + s_corp_income: 10_000 + tax_units: + tax_unit: + members: [head] + wi_homestead_income: 10_000 + households: + household: + members: [head] + state_code: WI + output: + # No wages and no net earnings from self-employment: not eligible. + wi_homestead_eligible: false + +- name: Case 17, a general partner's net earnings from self-employment are earned income. + # Schedule K-1 (Form 1065) box 14 net earnings from self-employment. + period: 2025 + input: + people: + head: + age: 40 + partnership_income: 10_000 + partnership_self_employment_net_earnings: 10_000 + tax_units: + tax_unit: + members: [head] + wi_homestead_income: 10_000 + households: + household: + members: [head] + state_code: WI + output: + wi_homestead_eligible: true + +- name: Case 18, partnership income without net earnings from self-employment is not earned income. + # A limited partner's distributive share other than guaranteed payments is + # not net earnings from self-employment (IRC 1402(a)(13)). + period: 2025 + input: + people: + head: + age: 40 + partnership_income: 10_000 + tax_units: + tax_unit: + members: [head] + wi_homestead_income: 10_000 + households: + household: + members: [head] + state_code: WI + output: + wi_homestead_eligible: false + +# The 2025 Schedule H instructions ask whether household income was "less +# than $24,680" (page 4). Veterans' benefits count toward it (Wis. Stat. +# 71.52(6); line 9d). + +- name: Case 19, veterans' benefits that leave household income $1 under the limit. + period: 2025 + input: + age: 40 + state_code: WI + employment_income: 20_000 + veterans_benefits: 4_679 + output: + # 20,000 + 4,679 = 24,679, under 24,680. + wi_homestead_income: 24_679 + wi_homestead_eligible: true + +- name: Case 20, veterans' benefits that bring household income to the limit. + period: 2025 + input: + age: 40 + state_code: WI + employment_income: 20_000 + veterans_benefits: 4_680 + output: + # 20,000 + 4,680 = 24,680, not less than 24,680. + wi_homestead_income: 24_680 + wi_homestead_eligible: false diff --git a/policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_homestead_income.yaml b/policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_homestead_income.yaml index 0733c2e02d7..ad073cd236a 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_homestead_income.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_homestead_income.yaml @@ -741,3 +741,291 @@ # 9,000 SSI + 3,000 Caretaker Supplement - 500 dependent exemption. The # child's own 1,000 supplement stays out of household income. wi_homestead_income: 11_500 + +# Wis. Stat. 71.52(6): "Income" means the sum of Wisconsin adjusted gross +# income and the listed amounts "to the extent not included in Wisconsin +# adjusted gross income". Page numbers are PDF pages of the 2025 Schedule H +# instructions: +# https://www.revenue.wi.gov/TaxForms2025/2025-ScheduleH-inst.pdf + +- name: Case 20, court-ordered child support is household income (line 9i). + # 71.52(6): "maintenance payments ..., support money". Line 9i (page 14): + # "Fill in the total amount of any court ordered support payments received + # in 2025, including child support and family maintenance." + absolute_error_margin: 0.01 + period: 2025 + input: + people: + head: + age: 35 + employment_income: 15_000 + child_support_received: 4_800 + ssi: 0 + child: + age: 8 + is_tax_unit_dependent: true + tax_units: + tax_unit: + members: [head, child] + spm_units: + spm_unit: + members: [head, child] + tanf: 0 + households: + household: + members: [head, child] + state_code: WI + output: + # Line 7: 15,000. Line 9i: 4,800. Line 12b: 1 dependent x 500. + # 15,000 + 4,800 - 500 = 19,300. + wi_homestead_income: 19_300 + +- name: Case 21, child support recorded on the child is the claimant's household income (line 9i). + # The claimant receives the support for the child, so it counts even when + # recorded on the child. The child's own Social Security and SSI would not + # (line 9b, page 13). + absolute_error_margin: 0.01 + period: 2025 + input: + people: + head: + age: 35 + employment_income: 15_000 + ssi: 0 + child: + age: 8 + is_tax_unit_dependent: true + child_support_received: 4_800 + tax_units: + tax_unit: + members: [head, child] + spm_units: + spm_unit: + members: [head, child] + tanf: 0 + households: + household: + members: [head, child] + state_code: WI + output: + # Same as Case 20: 15,000 + 4,800 - 500 = 19,300. + wi_homestead_income: 19_300 + +- name: Case 22, maintenance that is not taxable is household income (line 9i). + # Line 9i note (page 14): "Even though these payments are no longer + # taxable, they must be included in household income on line 9i". + absolute_error_margin: 0.01 + period: 2025 + input: + age: 50 + state_code: WI + employment_income: 10_000 + alimony_income: 6_000 + divorce_year: 2020 + output: + taxable_alimony_income: 0 + wi_homestead_nontaxable_alimony: 6_000 + # 10,000 + 6,000 = 16,000. + wi_homestead_income: 16_000 + +- name: Case 23, taxable maintenance counts once. + # A divorce instrument executed before 2019: the maintenance is in + # adjusted gross income (line 7), and line 9i leaves out "amounts included + # elsewhere". + absolute_error_margin: 0.01 + period: 2025 + input: + age: 50 + state_code: WI + employment_income: 10_000 + alimony_income: 6_000 + divorce_year: 2015 + output: + taxable_alimony_income: 6_000 + wi_homestead_nontaxable_alimony: 0 + adjusted_gross_income: 16_000 + # 16,000 + 0 = 16,000. + wi_homestead_income: 16_000 + +- name: Case 24, workers' compensation is household income (line 11b). + # 71.52(6): "worker's compensation, unemployment insurance, the gross + # amount of 'loss of time' insurance". Line 11b (page 14): "Workers' + # compensation, income continuation, and loss of time insurance". + absolute_error_margin: 0.01 + period: 2025 + input: + age: 50 + state_code: WI + employment_income: 12_000 + workers_compensation: 5_000 + output: + # 12,000 + 5,000 = 17,000. + wi_homestead_income: 17_000 + +- name: Case 25, the gross amount of disability (loss of time) insurance counts once (line 11b). + # Line 11b (page 14): "loss of time insurance (for example, sick pay)". + # 3,000 of benefits, 1,000 of them from a plan the claimant paid for. + absolute_error_margin: 0.01 + period: 2025 + input: + age: 50 + state_code: WI + employment_income: 12_000 + disability_benefits: 3_000 + tax_exempt_disability_benefits: 1_000 + output: + # The taxable 2,000 is in adjusted gross income: 12,000 + 2,000. + adjusted_gross_income: 14_000 + # 14,000 + 1,000 nontaxable = 15,000, the gross 3,000 counted once. + wi_homestead_income: 15_000 + +- name: Case 26, veterans' benefits are household income (lines 9d and 9h). + # 71.52(6): "the gross amount of any pension or annuity (including ... + # veterans disability pensions)" and "compensation and other cash benefits + # received from the United States for past or present service in the armed + # forces". Line 9d (page 13): "Include veterans' pensions, disability + # payments". + absolute_error_margin: 0.01 + period: 2025 + input: + age: 70 + state_code: WI + social_security_retirement: 12_000 + veterans_benefits: 6_000 + ssi: 0 + output: + # No Social Security is taxable: 6,000 is under the 25,000 base. + # Line 9b: 12,000. Line 9d: 6,000. 12,000 + 6,000 = 18,000. + wi_homestead_income: 18_000 + +- name: Case 27, a deductible IRA contribution is added back (line 9f). + # 71.52(6): "contributions to individual retirement accounts under section + # 219 of the internal revenue code ... deducted in determining Wisconsin + # adjusted gross income shall be added to 'income'". Line 9f (page 13). + absolute_error_margin: 0.01 + period: 2025 + input: + age: 40 + state_code: WI + employment_income: 20_000 + traditional_ira_contributions: 2_000 + output: + traditional_ira_deduction: 2_000 + adjusted_gross_income: 18_000 + # Line 7: 18,000. Line 9f: 2,000. 18,000 + 2,000 = 20,000. + wi_homestead_income: 20_000 + +- name: Case 28, a deductible self-employed SEP contribution is added back (line 9f). + # 71.52(6): "contributions to Keogh plans ... deducted in determining + # Wisconsin adjusted gross income shall be added to 'income'". Line 9f + # (page 13): "Contributions to IRA, self-employed SEP, SIMPLE, and + # qualified plans". + absolute_error_margin: 0.01 + period: 2025 + input: + age: 40 + state_code: WI + self_employment_income: 30_000 + self_employed_pension_contributions_desired: 3_000 + output: + # Net earnings: 30,000 x 0.9235 = 27,705. Self-employment tax: + # 27,705 x 15.3% = 4,238.865; half is deductible, 2,119.4325. The 3,000 + # is under the plan limit, so it is deducted in full. + self_employed_pension_contribution_ald: 3_000 + # 30,000 - 2,119.4325 - 3,000 = 24,880.5675. + adjusted_gross_income: 24_880.5675 + # Line 7: 24,880.5675. Line 9f: 3,000. Total 27,880.5675. + wi_homestead_income: 27_880.5675 + +- name: Case 29, a 401(k) deferral is added back (line 9e). + # 71.52(6): "nontaxable deferred compensation". Line 9e (page 13): "Fill + # in contributions to deferred compensation plans that were excluded from + # income on the income tax return". + absolute_error_margin: 0.01 + period: 2025 + input: + age: 40 + state_code: WI + employment_income: 20_000 + traditional_401k_contributions: 3_000 + output: + adjusted_gross_income: 17_000 + # Line 7: 17,000. Line 9e: 3,000. 17,000 + 3,000 = 20,000. + wi_homestead_income: 20_000 + +- name: Case 30, a 403(b) deferral is added back (line 9e). + # Line 9e (page 13): excluded deferred compensation is "generally reported + # in box 12 of the wage and tax statement, Form W-2, preceded by the + # prefix D, E, F, G, H, S, or Y". Code E is a 403(b) deferral. + absolute_error_margin: 0.01 + period: 2025 + input: + age: 40 + state_code: WI + employment_income: 20_000 + traditional_403b_contributions: 3_000 + output: + adjusted_gross_income: 17_000 + # Line 7: 17,000. Line 9e: 3,000. 17,000 + 3,000 = 20,000. + wi_homestead_income: 20_000 + +- name: Case 31, a nontaxable IRA distribution is household income (line 9d). + # Line 9d (page 13): "Include ... nontaxable IRA, SEP, SIMPLE, and + # qualified plan distributions. Both taxable and nontaxable amounts must be + # included in household income." + absolute_error_margin: 0.01 + period: 2025 + input: + age: 62 + state_code: WI + employment_income: 10_000 + tax_exempt_ira_distributions: 3_000 + output: + # 10,000 + 3,000 = 13,000. + wi_homestead_income: 13_000 + +- name: Case 32, county relief is household income (line 9j). + # 71.52(6): "cash public assistance" and "cash benefits paid by counties + # under s. 59.53 (21)". Line 9j (page 14): "Wisconsin Works (W2), county + # relief, kinship care, and other cash public assistance payments". + absolute_error_margin: 0.01 + period: 2025 + input: + age: 45 + state_code: WI + employment_income: 6_000 + general_assistance: 2_400 + output: + # 6,000 + 2,400 = 8,400. + wi_homestead_income: 8_400 + +- name: Case 33, a dependent's own workers' compensation is not household income. + # The household is the claimant and spouse (71.52(4)), so a dependent + # student's own benefits stay out; the $500 deduction still applies. + absolute_error_margin: 0.01 + period: 2025 + input: + people: + head: + age: 45 + employment_income: 15_000 + ssi: 0 + student: + age: 19 + is_full_time_student: true + is_tax_unit_dependent: true + workers_compensation: 2_000 + tax_units: + tax_unit: + members: [head, student] + spm_units: + spm_unit: + members: [head, student] + tanf: 0 + households: + household: + members: [head, student] + state_code: WI + output: + # 15,000 - 500 = 14,500. The student's 2,000 is left out. + wi_homestead_income: 14_500 diff --git a/policyengine_us/variables/gov/states/wi/tax/income/credits/homestead/wi_homestead_income.py b/policyengine_us/variables/gov/states/wi/tax/income/credits/homestead/wi_homestead_income.py index f20a39cdc53..8c1aa2f64f6 100644 --- a/policyengine_us/variables/gov/states/wi/tax/income/credits/homestead/wi_homestead_income.py +++ b/policyengine_us/variables/gov/states/wi/tax/income/credits/homestead/wi_homestead_income.py @@ -16,6 +16,9 @@ class wi_homestead_income(Variable): # PDF pages 8, 12-13: claimant/spouse household, qualifying repayments, # and exclusion of children's social security and SSI. "https://www.revenue.wi.gov/TaxForms2024/2024-ScheduleH-inst.pdf#page=8", + # PDF pages 13-14: lines 9d-9j and 11b, nontaxable income added to + # Wisconsin income. + "https://www.revenue.wi.gov/TaxForms2025/2025-ScheduleH-inst.pdf#page=13", ) defined_for = StateCode.WI @@ -24,8 +27,14 @@ def formula(tax_unit, period, parameters): # A household is the claimant and the claimant's spouse (Wis. Stat. # 71.52(4)), so household income leaves out a tax unit dependent's # income, such as a child's social security, SSI or unemployment - # compensation. - income = tax_unit_non_dep_add(tax_unit, period, p.homestead.income.sources) + # compensation. Payments the claimant receives for a dependent, such + # as child support, count even when recorded on the dependent. + income = tax_unit_non_dep_add( + tax_unit, + period, + p.homestead.income.sources, + include_dependents=p.homestead.income.all_member_sources, + ) # The filer Social Security source floors combined net benefits at # zero for federal taxability. Wisconsin allows qualifying repayments # of prior-year nontaxable household income (71.52(6); 2024 Schedule H diff --git a/policyengine_us/variables/gov/states/wi/tax/income/credits/homestead/wi_homestead_nontaxable_alimony.py b/policyengine_us/variables/gov/states/wi/tax/income/credits/homestead/wi_homestead_nontaxable_alimony.py new file mode 100644 index 00000000000..0bf691e467c --- /dev/null +++ b/policyengine_us/variables/gov/states/wi/tax/income/credits/homestead/wi_homestead_nontaxable_alimony.py @@ -0,0 +1,32 @@ +from policyengine_us.model_api import * + + +class wi_homestead_nontaxable_alimony(Variable): + value_type = float + entity = Person + label = "Wisconsin homestead credit maintenance outside adjusted gross income" + unit = USD + definition_period = YEAR + documentation = ( + "Alimony (maintenance) received that federal gross income leaves out, " + "which Wisconsin counts in homestead credit household income (Wis. " + "Stat. 71.52(6), 'maintenance payments'; Schedule H line 9i). " + "Adjusted gross income already holds maintenance under a divorce or " + "separation instrument executed before 2019, so only the rest is " + "added and maintenance counts once." + ) + reference = ( + "https://docs.legis.wisconsin.gov/statutes/statutes/71/viii/52/6", + "https://www.revenue.wi.gov/TaxForms2025/2025-ScheduleH-inst.pdf#page=14", + ) + defined_for = StateCode.WI + + 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 From d2f85396012a7f89551ada87b9f0ec1635fd4104 Mon Sep 17 00:00:00 2001 From: David Trimmer Date: Thu, 19 Nov 2026 18:32:33 -0500 Subject: [PATCH 2/2] Test the Wisconsin maintenance branch for a reform that takes alimony out of gross income Covers the fallback in wi_homestead_nontaxable_alimony when federal gross income doesn't list taxable_alimony_income, which codecov flagged as the one uncovered patch line. Co-Authored-By: Claude Opus 5.5 --- .../wi/tax/income/wi_homestead_income.yaml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_homestead_income.yaml b/policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_homestead_income.yaml index ad073cd236a..14b791baa14 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_homestead_income.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/wi/tax/income/wi_homestead_income.yaml @@ -847,6 +847,23 @@ # 16,000 + 0 = 16,000. wi_homestead_income: 16_000 +- name: Case 23b, under a reform that takes alimony out of federal gross income, all maintenance counts on line 9i. + absolute_error_margin: 0.01 + period: 2025 + 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] + age: 50 + state_code: WI + employment_income: 10_000 + alimony_income: 6_000 + divorce_year: 2015 + output: + wi_homestead_nontaxable_alimony: 6_000 + adjusted_gross_income: 10_000 + # 10,000 + 6,000 = 16,000. + wi_homestead_income: 16_000 + - name: Case 24, workers' compensation is household income (line 11b). # 71.52(6): "worker's compensation, unemployment insurance, the gross # amount of 'loss of time' insurance". Line 11b (page 14): "Workers'