diff --git a/changelog.d/vt-renter-credit-income.fixed.md b/changelog.d/vt-renter-credit-income.fixed.md new file mode 100644 index 00000000000..843f716b886 --- /dev/null +++ b/changelog.d/vt-renter-credit-income.fixed.md @@ -0,0 +1 @@ +Vermont renter credit income now adds back business, rental, farm and capital losses and the listed above-the-line deductions under 32 V.S.A. 6061(18)(A) and (D), and counts only the claimant's and spouse's nontaxable Social Security, not a dependent's. diff --git a/policyengine_us/parameters/gov/states/vt/tax/income/credits/renter/deduction_add_backs.yaml b/policyengine_us/parameters/gov/states/vt/tax/income/credits/renter/deduction_add_backs.yaml new file mode 100644 index 00000000000..00c33e07561 --- /dev/null +++ b/policyengine_us/parameters/gov/states/vt/tax/income/credits/renter/deduction_add_backs.yaml @@ -0,0 +1,32 @@ +description: Vermont adds these federal above-the-line deductions back to federal adjusted gross income for the renter credit. +values: + # 32 V.S.A. 6061(18)(D) adds back, "to the extent excluded from federal + # adjusted gross income", the deductions listed below. Its other items, + # business expenses of reservists, performing artists and fee-basis + # government officials (Schedule 1 line 12) and moving expenses for members + # of the Armed Forces (line 14), have no variable in this model. Line + # numbers are those of the 2025 Schedule 1 (Form 1040), Part II. + 2021-01-01: + - educator_expense_ald # line 11 + - health_savings_account_ald # line 13 + - self_employment_tax_ald # line 15 + - self_employed_pension_contribution_ald # line 16 + - self_employed_health_insurance_ald # line 17 + - early_withdrawal_penalty # line 18 + - alimony_expense_ald # line 19a + - traditional_ira_deduction # line 20 + - student_loan_interest_ald # line 21 + # The tuition and fees deduction (IRC 222) is off the federal list from + # 2021, so it adds nothing unless a reform restores it. + - capped_qualified_tuition_expenses_ald +metadata: + unit: list + period: year + label: Vermont renter credit deduction add-backs + reference: + - title: 32 V.S.A. § 6061(18)(D) + href: https://legislature.vermont.gov/statutes/section/32/154/06061 + - title: 2025 Form RCC-146, Vermont Renter Credit Claim, line 10 + href: https://tax.vermont.gov/sites/tax/files/documents/RCC-146-2025.pdf#page=1 + - title: 2025 Schedule 1 (Form 1040), Part II, Adjustments to Income + href: https://www.irs.gov/pub/irs-prior/f1040s1--2025.pdf#page=2 diff --git a/policyengine_us/tests/policy/baseline/gov/states/vt/tax/income/credits/rent/vt_renter_credit.yaml b/policyengine_us/tests/policy/baseline/gov/states/vt/tax/income/credits/rent/vt_renter_credit.yaml index 0e10e5fb8c7..9098becfd5c 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/vt/tax/income/credits/rent/vt_renter_credit.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/vt/tax/income/credits/rent/vt_renter_credit.yaml @@ -987,3 +987,123 @@ # uses one personal exemption. The alternative of one-person income # limits would deny the credit at this income. vt_renter_credit: 270 + +# Income under 32 V.S.A. 6061(18) adds back the losses and above-the-line +# deductions federal AGI subtracts. Addison, one person, 2025: full credit +# limit 24,400, partial credit limit 52,850, credit amount +# ROUND(1,103 x 12 x 10%, 0) = 1,324. +- name: Addison, 1 person, 2025, a business loss added back moves the claim into the phase-out + period: 2025 + input: + people: + head: + age: 40 + employment_income: 26_000 + self_employment_income: -2_000 + rent: 12_000 + tax_units: + tax_unit: + members: [head] + rent_is_shared_with_another_tax_unit: false + spm_units: + spm_unit: + members: [head] + housing_assistance: 0 + households: + household: + members: [head] + state_code: VT + county: ADDISON_COUNTY_VT + output: + # AGI is 26,000 - 2,000 = 24,000, below the full credit limit, but + # 6061(18)(A) adds the 2,000 loss back: income 26,000. + # (52,850 - 26,000) / (52,850 - 24,400) x 1,324 = 26,850 / 28,450 x 1,324 + # = 1,249.54, rounded to 1,250. AGI alone would give the full 1,324. + vt_renter_credit_income: 26_000 + vt_renter_credit: 1_250 + +- name: Addison, 1 person, 2025, income with the add-back exactly at the full credit limit + period: 2025 + input: + people: + head: + age: 40 + employment_income: 24_400 + early_withdrawal_penalty: 400 + rent: 12_000 + tax_units: + tax_unit: + members: [head] + rent_is_shared_with_another_tax_unit: false + spm_units: + spm_unit: + members: [head] + housing_assistance: 0 + households: + household: + members: [head] + state_code: VT + county: ADDISON_COUNTY_VT + output: + # AGI is 24,000; 6061(18)(D) adds the 400 penalty back: income 24,400, at + # the limit. (52,850 - 24,400) / 28,450 = 1, so the full 1,324. + vt_renter_credit_income: 24_400 + vt_renter_credit: 1_324 + +- name: Addison, 1 person, 2025, income with the add-back just above the full credit limit + period: 2025 + input: + people: + head: + age: 40 + employment_income: 24_450 + early_withdrawal_penalty: 400 + rent: 12_000 + tax_units: + tax_unit: + members: [head] + rent_is_shared_with_another_tax_unit: false + spm_units: + spm_unit: + members: [head] + housing_assistance: 0 + households: + household: + members: [head] + state_code: VT + county: ADDISON_COUNTY_VT + output: + # AGI is 24,050, below the limit; with the 400 penalty added back income + # is 24,450. (52,850 - 24,450) / 28,450 x 1,324 = 28,400 / 28,450 x 1,324 + # = 1,321.67, rounded to 1,322. AGI alone would give the full 1,324. + vt_renter_credit_income: 24_450 + vt_renter_credit: 1_322 + +- name: Addison, 1 person, 2025, income with the add-back exactly at the partial credit limit + period: 2025 + input: + people: + head: + age: 40 + employment_income: 52_850 + early_withdrawal_penalty: 500 + rent: 12_000 + tax_units: + tax_unit: + members: [head] + rent_is_shared_with_another_tax_unit: false + spm_units: + spm_unit: + members: [head] + housing_assistance: 0 + households: + household: + members: [head] + state_code: VT + county: ADDISON_COUNTY_VT + output: + # AGI is 52,350; with the 500 penalty added back income is 52,850, the + # partial credit limit, so (52,850 - 52,850) / 28,450 x 1,324 = 0. + # AGI alone would give 500 / 28,450 x 1,324 = 23.27, rounded to 23. + vt_renter_credit_income: 52_850 + vt_renter_credit: 0 diff --git a/policyengine_us/tests/policy/baseline/gov/states/vt/tax/income/credits/rent/vt_renter_credit_countable_tax_exempt_ss.yaml b/policyengine_us/tests/policy/baseline/gov/states/vt/tax/income/credits/rent/vt_renter_credit_countable_tax_exempt_ss.yaml index bfe89b13860..e368f08a20d 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/vt/tax/income/credits/rent/vt_renter_credit_countable_tax_exempt_ss.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/vt/tax/income/credits/rent/vt_renter_credit_countable_tax_exempt_ss.yaml @@ -1,7 +1,7 @@ -- name: Test 1 +- name: Test 1 period: 2022 input: - tax_exempt_social_security: 100 + filer_tax_exempt_social_security: 100 state_code: VT output: vt_renter_credit_countable_tax_exempt_ss: 75 @@ -9,7 +9,33 @@ - name: Test 2 period: 2022 input: - tax_exempt_social_security: 0 + filer_tax_exempt_social_security: 0 state_code: VT output: vt_renter_credit_countable_tax_exempt_ss: 0 + +- name: Test 3, only the claimant's own nontaxable benefits count, not a dependent child's. + period: 2025 + absolute_error_margin: 0.01 + input: + people: + parent: + age: 70 + social_security_retirement: 2_000 + child: + age: 12 + is_tax_unit_dependent: true + social_security_survivors: 8_000 + tax_units: + tax_unit: + members: [parent, child] + households: + household: + members: [parent, child] + state_code: VT + output: + # The parent's 2,000 is untaxed (provisional income 1,000 is far below + # the base amount) and is on the parent's Form 1040 lines 6a and 6b. The + # child's 8,000 is the child's own. RCC-146 line 11: 2,000 x 75% = 1,500. + filer_tax_exempt_social_security: 2_000 + vt_renter_credit_countable_tax_exempt_ss: 1_500 diff --git a/policyengine_us/tests/policy/baseline/gov/states/vt/tax/income/credits/rent/vt_renter_credit_income.yaml b/policyengine_us/tests/policy/baseline/gov/states/vt/tax/income/credits/rent/vt_renter_credit_income.yaml new file mode 100644 index 00000000000..38dbbc40879 --- /dev/null +++ b/policyengine_us/tests/policy/baseline/gov/states/vt/tax/income/credits/rent/vt_renter_credit_income.yaml @@ -0,0 +1,321 @@ +# 32 V.S.A. 6061(18): for the renter credit, "income" means federal adjusted +# gross income increased by (A) business, rental, capital, estate or trust +# and farm losses, (B) exempt interest, (C) 75 percent of the Social Security +# benefits excluded from gross income, and (D) the listed above-the-line +# deductions, among them "the penalty for early withdrawal of savings". +# 2025 Form RCC-146: line 10 is federal total income (Form 1040 line 9), +# line 11 is 75% of Form 1040 line 6a minus line 6b, line 12 is tax-exempt +# interest, and line 13 adds back negative amounts on Form 1040 line 7 and +# Schedule 1 lines 3, 4, 5, 6 and 8a. + +- name: Case 1, an above-the-line deduction is added back. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: VT + employment_income: 30_000 + early_withdrawal_penalty: 500 + output: + # Federal total income (Form 1040 line 9) is 30,000; AGI is 29,500. + # 6061(18)(D) adds the penalty back: 30,000. + adjusted_gross_income: 29_500 + vt_renter_credit_deduction_add_back: 500 + vt_renter_credit_income: 30_000 + +- name: Case 2, a business loss is added back. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: VT + employment_income: 30_000 + self_employment_income: -5_000 + output: + # Federal AGI is 25,000. 6061(18)(A) and RCC-146 line 13 add back the + # 5,000 loss on Schedule 1 line 3: 30,000. + adjusted_gross_income: 25_000 + vt_renter_credit_income: 30_000 + +- name: Case 3, a capital loss above the federal limit is added back up to the limit. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: VT + employment_income: 30_000 + long_term_capital_gains: -4_000 + output: + # Form 1040 line 7 shows the 3,000 loss allowed by IRC 1211(b), so AGI is + # 27,000. Line 13 adds the 3,000 back: 30,000. + adjusted_gross_income: 27_000 + vt_renter_credit_income: 30_000 + +- name: Case 4, a dependent child's Social Security is not the claimant's income. + period: 2025 + absolute_error_margin: 0.01 + input: + people: + parent: + age: 40 + employment_income: 20_000 + child: + age: 10 + is_tax_unit_dependent: true + social_security_survivors: 8_000 + tax_units: + tax_unit: + members: [parent, child] + households: + household: + members: [parent, child] + state_code: VT + output: + # 6066(b)(1) tests "the claimant's income". The parent's Form 1040 lines + # 6a and 6b are blank, so RCC-146 line 11 is 0 and income is 20,000. + # Counting 75% of the child's benefit would give 20,000 + 6,000 = 26,000. + vt_renter_credit_countable_tax_exempt_ss: 0 + vt_renter_credit_income: 20_000 + +- name: Case 5, a capital loss exactly at the federal limit is added back in full. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: VT + employment_income: 30_000 + long_term_capital_gains: -3_000 + output: + # Form 1040 line 7 is -3,000, so AGI is 27,000; line 13 adds 3,000 back. + adjusted_gross_income: 27_000 + vt_renter_credit_income: 30_000 + +- name: Case 6, a capital loss netted against capital gain distributions is added back in full. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: VT + employment_income: 30_000 + long_term_capital_gains: -4_000 + non_sch_d_capital_gains: 2_000 + output: + # Gross income is 30,000 + 2,000 of capital gain distributions = 32,000. + # IRC 1211(b) allows the 4,000 loss against the 2,000 of gains, plus the + # 2,000 excess, inside the 3,000 limit. Schedule D line 16 and Form 1040 + # line 7 are -2,000, and AGI is 32,000 - 2,000 - 2,000 = 28,000. + # 6061(18)(A) adds back each capital loss included in AGI, the 2,000 + # allowed against the gains and the 2,000 net loss: + # 28,000 + 2,000 + 2,000 = 32,000. (RCC-146 line 13 adds back only the + # 2,000 on line 7, for 30,000.) + capital_losses_allowed_against_gains: 2_000 + limited_capital_loss: 2_000 + adjusted_gross_income: 28_000 + vt_renter_credit_income: 32_000 + +- name: Case 7, a partnership loss is added back although rental income offsets it on Schedule E. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: VT + employment_income: 30_000 + rental_income: 10_000 + partnership_s_corp_income: -4_000 + output: + # AGI is 30,000 + 10,000 - 4,000 = 36,000. 6061(18)(A) lists "loss from + # a partnership", so the 4,000 is added back: 40,000. (RCC-146 line 13 + # reads Schedule 1 line 5, where the two net to +6,000, and would add + # nothing.) + adjusted_gross_income: 36_000 + vt_renter_credit_income: 40_000 + +- name: Case 8, the deductible part of self-employment tax is added back. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: VT + self_employment_income: 20_000 + output: + # Net earnings 20,000 x 0.9235 = 18,470; self-employment tax + # 18,470 x 15.3% = 2,825.91; the deductible half (Schedule 1 line 15) is + # 1,412.955, so AGI is 18,587.045. 6061(18)(D) adds it back: 20,000. + vt_renter_credit_deduction_add_back: 1_412.955 + vt_renter_credit_income: 20_000 + +- name: Case 9, IRA and student loan interest deductions are added back. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: VT + age: 40 + employment_income: 30_000 + traditional_ira_contributions: 2_000 + student_loan_interest: 1_000 + output: + # The IRA deduction (2,000, Schedule 1 line 20) and the student loan + # interest deduction (1,000, line 21; income is far below the phase-out) + # bring AGI to 27,000. 6061(18)(D) adds both back: 30,000. + adjusted_gross_income: 27_000 + vt_renter_credit_deduction_add_back: 3_000 + vt_renter_credit_income: 30_000 + +- name: Case 10, a dependent's own early withdrawal penalty is not added back. + period: 2025 + absolute_error_margin: 0.01 + input: + people: + parent: + age: 40 + employment_income: 30_000 + early_withdrawal_penalty: 0 + child: + age: 17 + is_tax_unit_dependent: true + early_withdrawal_penalty: 500 + tax_units: + tax_unit: + members: [parent, child] + households: + household: + members: [parent, child] + state_code: VT + output: + # The child's penalty is on the child's own return, so the parent's AGI + # is 30,000 and 6061(18)(D) has nothing of the parent's to add back. + adjusted_gross_income: 30_000 + vt_renter_credit_deduction_add_back: 0 + vt_renter_credit_income: 30_000 + +- name: Case 11, a short-term capital loss netted against the same person's long-term gain is added back in full. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: VT + employment_income: 30_000 + short_term_capital_gains: -4_000 + long_term_capital_gains: 2_000 + output: + # capital_gains nets the two parts to -2,000, so gross income is 30,000. + # The 2,000 net loss is inside the 3,000 limit (Form 1040 line 7), and + # AGI is 28,000. 6061(18)(A) adds back the whole 4,000 short-term loss: + # the 2,000 that offset the long-term gain and the 2,000 net loss, for + # 28,000 + 4,000 = 32,000, as in Case 6. (RCC-146 line 13 adds back only + # the 2,000 on line 7, for 30,000.) + capital_losses_allowed_against_gains: 0 + limited_capital_loss: 2_000 + adjusted_gross_income: 28_000 + vt_renter_credit_capital_loss_add_back: 4_000 + vt_renter_credit_income: 32_000 + +- name: Case 12, a capital loss netted against capital gain distributions on Schedule D line 13 is added back in full. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: VT + employment_income: 30_000 + long_term_capital_gains: -2_000 + schedule_d_capital_gain_distributions: 2_000 + output: + # The 2,000 of distributions on Schedule D line 13 net with a 4,000 + # long-term loss from sales to -2,000 on line 15, so AGI is 28,000. + # 6061(18)(A) adds back the 4,000 loss: the 2,000 the distributions + # absorbed and the 2,000 net loss, for 32,000, as in Case 6. + limited_capital_loss: 2_000 + adjusted_gross_income: 28_000 + vt_renter_credit_capital_loss_add_back: 4_000 + vt_renter_credit_income: 32_000 + +- name: Case 13, a prior-year capital loss carryover absorbed by the same person's long-term gain is added back. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: VT + employment_income: 30_000 + long_term_capital_gains: 5_000 + long_term_capital_loss_carryover: 3_000 + output: + # The year's 8,000 long-term gain less the 3,000 carryover (Schedule D + # lines 14 and 15) is 5,000, so AGI is 35,000. 26 U.S.C. 1212(b)(1)(B) + # treats the carryover as a long-term capital loss of the year, and AGI + # deducted all of it, so 6061(18)(A) adds it back: 38,000. + adjusted_gross_income: 35_000 + vt_renter_credit_capital_loss_add_back: 3_000 + vt_renter_credit_income: 38_000 + +- name: Case 14, the part of a netted capital loss above the federal limit is not added back. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: VT + employment_income: 30_000 + short_term_capital_gains: -10_000 + long_term_capital_gains: 2_000 + output: + # The parts net to -8,000, of which IRC 1211(b) allows 3,000, so AGI is + # 27,000. AGI deducted 2,000 of the short-term loss against the + # long-term gain and 3,000 as the net loss; the other 5,000 carries to + # 2026. 6061(18)(A) adds back the 5,000 deducted: 32,000. + limited_capital_loss: 3_000 + adjusted_gross_income: 27_000 + vt_renter_credit_capital_loss_add_back: 5_000 + vt_renter_credit_income: 32_000 + +- name: Case 15, a dependent's capital loss netted against the dependent's own gain is not added back. + period: 2025 + absolute_error_margin: 0.01 + input: + people: + parent: + age: 40 + employment_income: 30_000 + child: + age: 17 + is_tax_unit_dependent: true + short_term_capital_gains: -4_000 + long_term_capital_gains: 2_000 + tax_units: + tax_unit: + members: [parent, child] + households: + household: + members: [parent, child] + state_code: VT + output: + # The child's gains and losses are on the child's own return, so the + # parent's AGI is 30,000 and there is no capital loss to add back. + adjusted_gross_income: 30_000 + vt_renter_credit_capital_loss_add_back: 0 + vt_renter_credit_income: 30_000 + +- name: Case 16, a carryover is added back when the net capital gain is supplied without its parts. + period: 2025 + absolute_error_margin: 0.01 + input: + state_code: VT + employment_income: 30_000 + capital_gains: -1_000 + long_term_capital_loss_carryover: 3_000 + output: + # The -1,000 net includes the 3,000 carryover, so the year's own gain is + # 2,000. AGI deducts the 1,000 net loss: 29,000. The carryover is a + # capital loss of the year (IRC 1212(b)(1)(B)); AGI deducted 2,000 of it + # against the gain and 1,000 as the net loss, so 6061(18)(A) adds back + # 3,000: 32,000. + limited_capital_loss: 1_000 + adjusted_gross_income: 29_000 + vt_renter_credit_capital_loss_add_back: 3_000 + vt_renter_credit_income: 32_000 + +- name: Case 17, no netted capital loss is added back under a reform that takes capital gains out of federal gross income. + period: 2025 + absolute_error_margin: 0.01 + input: + # The 2025 federal gross income sources without capital_gains. + 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, 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, taxable_alimony_income, salt_refund_income, military_retirement_income] + state_code: VT + employment_income: 30_000 + short_term_capital_gains: -4_000 + long_term_capital_gains: 2_000 + output: + # Federal gross income leaves out capital gains, so AGI deducts no + # capital loss (both capital loss deductions are 0) and is 30,000. The + # add-back is only what AGI deducted outside capital_gains, 0 + 0 = 0, + # not the 2,000 netted inside it as in Case 11: 30,000 + 0 = 30,000. + adjusted_gross_income: 30_000 + vt_renter_credit_capital_loss_add_back: 0 + vt_renter_credit_income: 30_000 diff --git a/policyengine_us/variables/gov/states/vt/tax/income/credits/renter/vt_renter_credit_capital_loss_add_back.py b/policyengine_us/variables/gov/states/vt/tax/income/credits/renter/vt_renter_credit_capital_loss_add_back.py new file mode 100644 index 00000000000..7d2d1573fe2 --- /dev/null +++ b/policyengine_us/variables/gov/states/vt/tax/income/credits/renter/vt_renter_credit_capital_loss_add_back.py @@ -0,0 +1,66 @@ +from policyengine_us.model_api import * + + +class vt_renter_credit_capital_loss_add_back(Variable): + value_type = float + entity = TaxUnit + label = "Vermont renter credit capital loss add-back" + unit = USD + documentation = ( + "The capital losses that 32 V.S.A. 6061(18)(A) adds back to federal " + "adjusted gross income for the renter credit: each capital loss of " + "the head and spouse that adjusted gross income deducted, whether " + "the same person's gains, another filer's gains or capital gain " + "distributions absorbed it, or it is part of the net capital loss up " + "to the 26 U.S.C. 1211(b) limit. A loss carried to a later year is " + "not added back." + ) + definition_period = YEAR + reference = ( + "https://legislature.vermont.gov/statutes/section/32/154/06061", # (18)(A) + "https://www.law.cornell.edu/uscode/text/26/1211#b", + "https://www.law.cornell.edu/uscode/text/26/1212#b_1_B", + "https://www.irs.gov/pub/irs-prior/f1040sd--2025.pdf#page=1", # lines 7, 13-15 + ) + defined_for = StateCode.VT + + def formula(tax_unit, period, parameters): + # Losses absorbed by gains outside each person's capital_gains + # (another filer's gains, or capital gain distributions reported + # without Schedule D), and the net capital loss up to the limit. + deducted_outside_capital_gains = add( + tax_unit, + period, + ["capital_losses_allowed_against_gains", "limited_capital_loss"], + ) + # As in those two, no capital loss is deducted when a reform takes + # capital gains out of gross income. + if "capital_gains" not in parameters(period).gov.irs.gross_income.sources: + return deducted_outside_capital_gains + person = tax_unit.members + # capital_gains nets each person's short-term and long-term gains + # (Schedule D lines 7 and 15), so a loss in one part that offsets the + # same person's gain in the other never reaches the deduction above. + # Long-term gains also net two items Schedule D lists on their own + # lines: capital gain distributions (line 13) and the prior-year + # long-term capital loss carryover (line 14), which 26 U.S.C. + # 1212(b)(1)(B) treats as a long-term capital loss of the year. + short_term = person("short_term_capital_gains", period) + long_term = person("long_term_capital_gains", period) + # Without the parts, capital_gains is a net amount supplied directly; + # it is taken as the long-term total the two items net into. + parts_supplied = (short_term != 0) | (long_term != 0) + long_term = where(parts_supplied, long_term, person("capital_gains", period)) + distributions = max_(0, person("schedule_d_capital_gain_distributions", period)) + carryover = max_(0, person("long_term_capital_loss_carryover", period)) + # The long-term gain or loss from sales and exchanges (lines 8 to 12). + long_term_sales = long_term - distributions + carryover + gains = max_(0, short_term) + max_(0, long_term_sales) + distributions + losses = max_(0, -short_term) + max_(0, -long_term_sales) + carryover + absorbed_within_person = min_(gains, losses) + # A tax-unit dependent's capital gains and losses belong on the + # dependent's own return, as in irs_gross_income. + not_dependent = ~person("is_tax_unit_dependent", period) + return deducted_outside_capital_gains + tax_unit.sum( + not_dependent * absorbed_within_person + ) diff --git a/policyengine_us/variables/gov/states/vt/tax/income/credits/renter/vt_renter_credit_countable_tax_exempt_ss.py b/policyengine_us/variables/gov/states/vt/tax/income/credits/renter/vt_renter_credit_countable_tax_exempt_ss.py index 7a0d84b3b88..ae287ace608 100644 --- a/policyengine_us/variables/gov/states/vt/tax/income/credits/renter/vt_renter_credit_countable_tax_exempt_ss.py +++ b/policyengine_us/variables/gov/states/vt/tax/income/credits/renter/vt_renter_credit_countable_tax_exempt_ss.py @@ -6,16 +6,26 @@ class vt_renter_credit_countable_tax_exempt_ss(Variable): entity = TaxUnit label = "Vermont renter credit countable tax exempt social security" unit = USD + documentation = ( + "75 percent of the nontaxable Social Security benefits on the " + "claimant's return, under 32 V.S.A. 6061(18)(C). A tax unit " + "dependent's benefits are not the claimant's income." + ) definition_period = YEAR reference = ( "https://law.justia.com/codes/vermont/2022/title-32/chapter-154/section-6061/", # (18)(C) + "https://legislature.vermont.gov/statutes/section/32/154/06066", # (b)(1) + "https://tax.vermont.gov/sites/tax/files/documents/RCC-146-2025.pdf#page=1", # line 11 "https://tax.vermont.gov/sites/tax/files/documents/Income%20Booklet-2022.pdf#page=36", ) defined_for = StateCode.VT def formula(tax_unit, period, parameters): p = parameters(period).gov.states.vt.tax.income.credits.renter + # 32 V.S.A. 6066(b)(1) tests "the claimant's income", and RCC-146 + # line 11 reads the claimant's own Form 1040 lines 6a and 6b, which + # hold the head's and spouse's benefits only. return ( - tax_unit("tax_exempt_social_security", period) + tax_unit("filer_tax_exempt_social_security", period) * p.countable_tax_exempt_ss_fraction ) diff --git a/policyengine_us/variables/gov/states/vt/tax/income/credits/renter/vt_renter_credit_deduction_add_back.py b/policyengine_us/variables/gov/states/vt/tax/income/credits/renter/vt_renter_credit_deduction_add_back.py new file mode 100644 index 00000000000..678abd4210f --- /dev/null +++ b/policyengine_us/variables/gov/states/vt/tax/income/credits/renter/vt_renter_credit_deduction_add_back.py @@ -0,0 +1,38 @@ +from policyengine_us.model_api import * + + +class vt_renter_credit_deduction_add_back(Variable): + value_type = float + entity = TaxUnit + label = "Vermont renter credit above-the-line deduction add-back" + unit = USD + documentation = ( + "The federal above-the-line deductions that 32 V.S.A. 6061(18)(D) " + "adds back to federal adjusted gross income for the renter credit, " + "to the extent this return deducted them." + ) + definition_period = YEAR + reference = ( + "https://legislature.vermont.gov/statutes/section/32/154/06061", # (18)(D) + "https://tax.vermont.gov/sites/tax/files/documents/RCC-146-2025.pdf#page=1", # line 10 + ) + defined_for = StateCode.VT + + def formula(tax_unit, period, parameters): + p = parameters(period).gov.states.vt.tax.income.credits.renter + ald = parameters(period).gov.irs.ald + # "To the extent excluded from federal adjusted gross income": only + # deductions on this year's federal list, summed as + # above_the_line_deductions sums them, so a dependent's own + # deductions, which are on the dependent's return, stay out. + deductions = [ + deduction + for deduction in p.deduction_add_backs + if deduction in ald.deductions + ] + return tax_unit_non_dep_add( + tax_unit, + period, + deductions, + include_dependents=ald.filer_amounts_recorded_on_dependents, + ) diff --git a/policyengine_us/variables/gov/states/vt/tax/income/credits/renter/vt_renter_credit_income.py b/policyengine_us/variables/gov/states/vt/tax/income/credits/renter/vt_renter_credit_income.py index 8ea35811017..db3785ed8a5 100644 --- a/policyengine_us/variables/gov/states/vt/tax/income/credits/renter/vt_renter_credit_income.py +++ b/policyengine_us/variables/gov/states/vt/tax/income/credits/renter/vt_renter_credit_income.py @@ -6,15 +6,43 @@ class vt_renter_credit_income(Variable): entity = TaxUnit label = "Vermont renter credit income" unit = USD + documentation = ( + "Income for the Vermont renter credit under 32 V.S.A. 6061(18): " + "federal adjusted gross income plus the business, rental, farm and " + "capital losses it deducted, tax-exempt interest, 75 percent of the " + "claimant's and spouse's nontaxable Social Security, and the listed " + "above-the-line deductions." + ) definition_period = YEAR reference = ( + "https://legislature.vermont.gov/statutes/section/32/154/06061", # (18) "https://law.justia.com/codes/vermont/2022/title-32/chapter-154/section-6061/", # (18) + "https://tax.vermont.gov/sites/tax/files/documents/RCC-146-2025.pdf#page=1", # lines 10-14 + "https://tax.vermont.gov/sites/tax/files/documents/Income-Booklet-2025.pdf#page=39", # lines 10-14 "https://tax.vermont.gov/sites/tax/files/documents/Income%20Booklet-2022.pdf#page=36", ) defined_for = StateCode.VT adds = [ "adjusted_gross_income", - "vt_renter_credit_countable_tax_exempt_ss", + # (18)(A): the losses federal adjusted gross income deducted. Each + # head's and spouse's loss in each category (sole proprietorship, + # farm, rental, farm rental, partnership or S corporation, estate or + # trust, and sale of business property) is added back, because the + # statute lists each kind of loss. RCC-146 line 13 adds back a + # negative Schedule 1 line 3, 4, 5 or 6, after the items on that line + # net, so a loss offset by other income on the same line adds nothing + # there. + "limited_business_loss", + # (18)(A) "capital loss": each loss from a sale or exchange + # (26 U.S.C. 1222(2), (4)) that adjusted gross income deducted, + # including a loss netted against the same person's gains. RCC-146 + # line 13 adds back only the net loss on Form 1040 line 7. + "vt_renter_credit_capital_loss_add_back", + # (18)(B); RCC-146 line 12. "tax_exempt_interest_income", + # (18)(C); RCC-146 line 11. + "vt_renter_credit_countable_tax_exempt_ss", + # (18)(D). + "vt_renter_credit_deduction_add_back", ] diff --git a/source_conflicts/candidates.yaml b/source_conflicts/candidates.yaml index b8ec15773c6..5cb463d5ece 100644 --- a/source_conflicts/candidates.yaml +++ b/source_conflicts/candidates.yaml @@ -14752,6 +14752,65 @@ candidates: state: open note: 'PE-US looks up the income limits by tax_unit_size, capped at the tables'' eight people, and the fair market rent by exemptions_count (vt_renter_credit.py). Axiom issue 1678 in rulespec-us pursues exemption-sized limits.' +- id: us-vt:renter-credit-loss-add-back-netting + program: renter-credit + years: + from: 2021 + type: tax + question: Does Vermont renter credit income add back each kind of loss that 32 V.S.A. 6061(18)(A) lists, or only + a negative total on a Form 1040 or Schedule 1 line, after other income on the same line has offset the loss, as + Form RCC-146 line 13 does? + sources: + - kind: statute + citation: 32 V.S.A. § 6061(18)(A) + url: https://legislature.vermont.gov/statutes/section/32/154/06061 + - kind: form + citation: 2025 Form RCC-146, Vermont Renter Credit Claim, line 13 + url: https://tax.vermont.gov/sites/tax/files/documents/RCC-146-2025.pdf#page=1 + - kind: instructions + citation: 2025 Vermont Income Tax Return Booklet, Form RCC-146 line 13 (PDF page 39) + url: https://tax.vermont.gov/sites/tax/files/documents/Income-Booklet-2025.pdf#page=39 + readings: + statute: 'For the renter credit, income is federal adjusted gross income increased by "trade or business loss from + a sole proprietorship, loss from a partnership, loss from a limited liability company or "subchapter S" + corporation, loss from a rental property, capital loss, loss from an estate or trust, loss from a real estate + mortgage investment conduit, farm rental loss, any loss associated with the sale of business property, and farm + losses included in adjusted gross income".' + other: 'Line 13 reads "Add back any negative amounts from federal Form 1040, Line 7 and Schedule 1, Lines 3, 4, 5, + 6, and 8a." The booklet: "Enter the amount of any negative amount (net loss) shown on federal Form 1040 or Form + 1040-SR, Line 7, and federal Schedule 1, Lines 3, 4, 5, 6, and 8a." Schedule 1 line 3 combines every Schedule C + on the return, and line 5 combines rental real estate, royalties, partnerships, S corporations, estates and + trusts.' + example: 'In 2025 a claimant with $30,000 of wages, $10,000 of rental income and a $4,000 partnership loss has + federal AGI of $36,000. The statute adds back the partnership loss, for income of $40,000. Schedule 1 line 5 is + $6,000, so line 13 adds nothing and income is $36,000. A claimant with $30,000 of wages, a $4,000 long-term capital + loss and $2,000 of capital gain distributions has federal AGI of $28,000: the loss offsets the $2,000 of gains and + the other $2,000 is deducted as a net capital loss. The statute adds back the $4,000 capital loss, for income of + $32,000. Form 1040 line 7 is -$2,000, so line 13 adds back $2,000 and income is $30,000.' + pe_us: + follows: statute + code: + - policyengine_us/variables/gov/states/vt/tax/income/credits/renter/vt_renter_credit_income.py + - policyengine_us/variables/gov/states/vt/tax/income/credits/renter/vt_renter_credit_capital_loss_add_back.py + prs: + - https://github.com/PolicyEngine/policyengine-us/pull/11178 + state: unreviewed + note: 'PolicyEngine adds back limited_business_loss, which holds each head''s and spouse''s loss in each income input + (self-employment, farm, rental, farm rental, estate or trust, partnership or S corporation, and Form 4797 gains), + and vt_renter_credit_capital_loss_add_back, each capital loss of the head and spouse that AGI deducted. That + add-back has three parts: a loss that offset the same person''s gain in the other holding period or capital gain + distributions on Schedule D line 13; capital_losses_allowed_against_gains, the losses allowed against another + filer''s gains and distributions reported without Schedule D; and limited_capital_loss, the net capital loss up to + the 26 U.S.C. 1211(b) limit. A loss carried to a later year is not added back. The prior-year long-term carryover, + which 26 U.S.C. 1212(b)(1)(B) treats as a capital loss of the year, is added back to the extent AGI deducted it. + (18)(A) does not define "capital loss"; the model reads it as each loss from a sale or exchange (26 U.S.C. 1222(2) + and (4)), not the "net capital loss" of 1222(10), so every capital loss included in AGI is added back. RCC-146 line + 13 and the 2025 booklet add back only the net figure on Form 1040 line 7. A loss inside one input, such as one + rental property netted against another in rental_income, or two sales in the same holding period netted in one + person''s short-term or long-term capital gains, cannot be separated; neither can a short-term carryover, which has + no input of its own. Line 13 also adds back a net operating loss deduction (Schedule 1 line 8a), which (18)(A) does + not list; this model has no federal net operating loss deduction. Cases 6, 7 and 11 to 16 in + vt_renter_credit_income.yaml pin the statute reading. PolicyEngine has recorded no ruling.' - id: us-vt:renter-credit-statewide-average-fmr program: renter-credit years: