diff --git a/changelog.d/fix-de-military-pension-cap-2027.fixed.md b/changelog.d/fix-de-military-pension-cap-2027.fixed.md new file mode 100644 index 00000000000..b24994555e1 --- /dev/null +++ b/changelog.d/fix-de-military-pension-cap-2027.fixed.md @@ -0,0 +1 @@ +Raise Delaware's military pension exclusion cap to $15,000 for 2027, $20,000 for 2028 and $25,000 from 2029, let filers age 60 or older take the greater of the $12,500 pension exclusion and the military pension exclusion from 2027, and apply the domicile requirement for filers 60 or older from 2027, under 30 Del. C. § 1106(b)(3) as 85 Del. Laws c. 426 amended it. Count military survivor annuities as a United States military pension from 2024, when 84 Del. Laws c. 437 defined the term as a pension received as a result of an individual's service. diff --git a/policyengine_us/parameters/gov/states/de/tax/income/subtractions/exclusions/pension/cap/military.yaml b/policyengine_us/parameters/gov/states/de/tax/income/subtractions/exclusions/pension/cap/military.yaml index d10e75fcaa0..cb0f93ff85d 100644 --- a/policyengine_us/parameters/gov/states/de/tax/income/subtractions/exclusions/pension/cap/military.yaml +++ b/policyengine_us/parameters/gov/states/de/tax/income/subtractions/exclusions/pension/cap/military.yaml @@ -1,6 +1,11 @@ description: Delaware caps the military pension income exclusion at this amount. values: + # 30 Del. C. 1106(b)(3)b, for 2022 through 2026. 2022-01-01: 12_500 + # 1106(b)(3)c, d and e. + 2027-01-01: 15_000 + 2028-01-01: 20_000 + 2029-01-01: 25_000 metadata: unit: currency-USD period: year @@ -15,7 +20,7 @@ metadata: href: https://revenuefiles.delaware.gov/2021/PIT-RES_TY21_2021-01_Instructions.pdf#page=6 - title: Delaware individual income tax instructions for 2022 Line 6 href: https://revenuefiles.delaware.gov/2022/PIT-RES_TY22_2022-02_Instructions.pdf#page=6 - - title: The Delaware Code - Title 30 - Chapter 11 - Subchapter II - § 1106 - (b) - (3) + - title: 30 Del. C. § 1106(b)(3)b-e href: https://delcode.delaware.gov/title30/c011/sc02/index.html - title: Delaware Individual Income Tax Return Line 6 href: https://revenuefiles.delaware.gov/2023/PIT-RES_TY23_2023-01_Instructions.pdf#page=6 diff --git a/policyengine_us/parameters/gov/states/de/tax/income/subtractions/exclusions/pension/domicile_requirement_applies.yaml b/policyengine_us/parameters/gov/states/de/tax/income/subtractions/exclusions/pension/domicile_requirement_applies.yaml new file mode 100644 index 00000000000..08430004772 --- /dev/null +++ b/policyengine_us/parameters/gov/states/de/tax/income/subtractions/exclusions/pension/domicile_requirement_applies.yaml @@ -0,0 +1,21 @@ +description: Delaware limits the pension exclusion for filers at or above the age threshold to those who meet its domicile requirement, if this is true. +values: + 2007-01-01: false + # 30 Del. C. 1106(b)(3)f.4, added by 85 Del. Laws c. 426 (Senate Bill 219 + # with Senate Amendment 1). The act took effect when the Governor signed it + # on August 17, 2026 and names no first tax year for this rule; its fiscal + # note applies the act from tax year 2027. f.4 limits eligibility "for the + # subtraction under this paragraph (b)(3)", the whole pension exclusion, + # though SA 1's synopsis and fiscal note assumption 3 say "this exemption". + 2027-01-01: true +metadata: + unit: bool + period: year + label: Delaware pension exclusion domicile requirement applies + reference: + - title: 30 Del. C. § 1106(b)(3)f.4 + href: https://delcode.delaware.gov/title30/c011/sc02/index.html + - title: Senate Amendment 1 to Senate Bill 219, 153rd General Assembly + href: https://legis.delaware.gov/json/BillDetail/GenerateHtmlDocument?legislationId=143006&legislationTypeId=5&docTypeId=2&legislationName=SA1 + - title: Senate Bill 219 fiscal note, assumption 1 + href: https://legis.delaware.gov/json/BillDetail/GetPdfDocument?fileAttachmentId=653814#page=1 diff --git a/policyengine_us/parameters/gov/states/de/tax/income/subtractions/exclusions/pension/military_income_sources.yaml b/policyengine_us/parameters/gov/states/de/tax/income/subtractions/exclusions/pension/military_income_sources.yaml new file mode 100644 index 00000000000..f80cae67430 --- /dev/null +++ b/policyengine_us/parameters/gov/states/de/tax/income/subtractions/exclusions/pension/military_income_sources.yaml @@ -0,0 +1,34 @@ +description: Delaware counts these income sources as a United States military pension under the pension exclusion. +values: + # 83 Del. Laws c. 352 added the military pension exclusion at + # 30 Del. C. 1106(b)(3)b.1.B without defining the term. For those years the + # Division of Revenue's Line 6 instructions give it to a filer who retired + # from the United States military. + 2022-01-01: + - military_retirement_pay + # 84 Del. Laws c. 437, approved September 26, 2024, defined the term as "a + # pension received as a result of an individual's service" (now + # 1106(b)(3)f.2), which reaches an annuity paid to a member's survivor. + # The act put the definition in (b)(3)c., which applies to all of (b)(3), + # including the rule for taxable years from 2022, and names no effective + # date. The code starts it in 2024, the tax year of approval. + 2024-01-01: + - military_retirement_pay + - military_retirement_pay_survivors +metadata: + unit: list + period: year + label: Delaware military pension exclusion income sources + reference: + - title: 30 Del. C. § 1106(b)(3)f.2 + href: https://delcode.delaware.gov/title30/c011/sc02/index.html + - title: 84 Del. Laws c. 437 (Senate Bill 329, 152nd General Assembly) + href: https://legis.delaware.gov/SessionLaws/Chapter?id=42068 + - title: 83 Del. Laws c. 352 (Senate Substitute 1 for Senate Bill 188, 151st General Assembly) + href: https://legis.delaware.gov/SessionLaws/Chapter?id=41416 + - title: Delaware individual income tax instructions for 2022 Line 6 + href: https://revenuefiles.delaware.gov/2022/PIT-RES_TY22_2022-02_Instructions.pdf#page=6 + - title: Delaware individual income tax instructions for 2023 Line 6 + href: https://revenuefiles.delaware.gov/2023/PIT-RES_TY23_2023-01_Instructions.pdf#page=6 + - title: Delaware individual income tax instructions for 2025 Line 6 + href: https://revenuefiles.delaware.gov/2025/PITForms_Instructions/Instructions/PIT-RES_Instructions_2025-01.pdf#page=6 diff --git a/policyengine_us/parameters/gov/states/de/tax/income/subtractions/exclusions/pension/military_retirement_exclusion_available_at_age_threshold.yaml b/policyengine_us/parameters/gov/states/de/tax/income/subtractions/exclusions/pension/military_retirement_exclusion_available_at_age_threshold.yaml new file mode 100644 index 00000000000..728c55d75c9 --- /dev/null +++ b/policyengine_us/parameters/gov/states/de/tax/income/subtractions/exclusions/pension/military_retirement_exclusion_available_at_age_threshold.yaml @@ -0,0 +1,15 @@ +description: Delaware lets filers at or above the pension exclusion age threshold take the greater of the pension exclusion and the military pension exclusion, if this is true. +values: + # 30 Del. C. 1106(b)(3)b.2: for 2022 through 2026, filers age 60 or older + # exclude up to $12,500 of pensions and eligible retirement income. + 2022-01-01: false + # 1106(b)(3)c.2, d.2 and e.2: from 2027 they exclude the greater of that + # amount and their United States military pension, up to the military cap. + 2027-01-01: true +metadata: + unit: bool + period: year + label: Delaware military pension exclusion available at or above the age threshold + reference: + - title: 30 Del. C. § 1106(b)(3)b-e + href: https://delcode.delaware.gov/title30/c011/sc02/index.html diff --git a/policyengine_us/tests/core/test_de_military_pension_exclusion_properties.py b/policyengine_us/tests/core/test_de_military_pension_exclusion_properties.py new file mode 100644 index 00000000000..65a55f0cdcf --- /dev/null +++ b/policyengine_us/tests/core/test_de_military_pension_exclusion_properties.py @@ -0,0 +1,169 @@ +"""Properties of Delaware's pension exclusion for military pensions, 2022-2031. + +30 Del. C. 1106(b)(3) subtracts, for 2022 through 2026, the greater of +pensions up to $2,000 and a United States military pension up to $12,500 for +a person under 60, and pensions and eligible retirement income up to $12,500 +for a person 60 or older. For 2027, 2028 and from 2029 ((b)(3)c, d and e) the +military cap is $15,000, $20,000 and $25,000, and a person 60 or older takes +the greater of the $12,500 exclusion and the military pension up to that cap. +From 2027 ((b)(3)f.4), a person 60 or older who fails the domicile requirement +gets no subtraction. + +A United States military pension is "a pension received as a result of an +individual's service" ((b)(3)f.2, added by 84 Del. Laws c. 437 in 2024), so +from 2024 it is a retiree's own pay plus an annuity paid to a member's +survivor. For 2022 and 2023, when the term had no definition, it is the +retiree's own pay. + +The reference below restates those rules from the statute, not from the +model's parameters. Hypothesis draws batches of single filers (any age; +military retired pay, survivor annuities, other pensions, IRA distributions, +interest, capital gains or losses, and the domicile requirement), runs each +batch as one simulation with the same inputs in every year, and checks for +every filer and year: + +1. The exclusion equals the reference amount. +2. It is never negative and never exceeds the retired pay and survivor + annuity plus the pension basket floored at zero. +3. From 2027, a filer 60 or older who meets the domicile requirement never + gets less than the 2026 rule gives. +4. From 2024, exchanging a filer's retired pay and survivor annuity leaves + the exclusion unchanged. Each batch carries every filer's twin with the + two amounts exchanged, so this check does not rest on the reference. +""" + +import numpy as np +from hypothesis import HealthCheck, given, settings +from hypothesis import strategies as st + +from policyengine_us import Simulation + +YEARS = tuple(range(2022, 2032)) +MILITARY_CAP = {2027: 15_000, 2028: 20_000} + + +def military_cap(year): + if year <= 2026: + return 12_500 + return MILITARY_CAP.get(year, 25_000) + + +def basket(filer): + """Pensions and eligible retirement income, with the $3,000 loss limit.""" + gains = max(filer["long_term_capital_gains"], -3_000) + return ( + filer["military_retirement_pay"] + + filer["military_retirement_pay_survivors"] + + filer["taxable_pension_income"] + + filer["taxable_ira_distributions"] + + filer["taxable_interest_income"] + + gains + ) + + +def military_pension(year, filer): + """Retired pay, plus a survivor's annuity from 2024.""" + if year <= 2023: + return filer["military_retirement_pay"] + return filer["military_retirement_pay"] + filer["military_retirement_pay_survivors"] + + +def reference(year, filer): + military = min(military_cap(year), military_pension(year, filer)) + if ( + year >= 2027 + and filer["age"] >= 60 + and not filer["de_pension_exclusion_domicile_requirement_met"] + ): + return 0 + if filer["age"] < 60: + pensions = ( + filer["taxable_pension_income"] + + filer["military_retirement_pay"] + + filer["military_retirement_pay_survivors"] + ) + return max(min(2_000, max(pensions, 0)), military) + general = min(12_500, max(basket(filer), 0)) + if year <= 2026: + return general + return max(general, military) + + +filers = st.fixed_dictionaries( + { + "age": st.integers(30, 90), + "military_retirement_pay": st.sampled_from( + [0, 1_000, 12_500, 15_000, 18_000, 20_000, 25_000, 40_000] + ), + "military_retirement_pay_survivors": st.sampled_from([0, 3_000, 30_000]), + "taxable_pension_income": st.sampled_from([0, 1_500, 20_000]), + "taxable_ira_distributions": st.sampled_from([0, 5_000, 20_000]), + "taxable_interest_income": st.sampled_from([0, 2_000]), + "long_term_capital_gains": st.sampled_from([-10_000, -2_000, 0, 4_000]), + "de_pension_exclusion_domicile_requirement_met": st.booleans(), + } +) + + +def exchanged(filer): + """The same filer with retired pay and the survivor annuity exchanged.""" + return { + **filer, + "military_retirement_pay": filer["military_retirement_pay_survivors"], + "military_retirement_pay_survivors": filer["military_retirement_pay"], + } + + +def simulate(batch): + people, tax_units, households = {}, {}, {} + groups = {"marital_units": {}, "spm_units": {}, "families": {}} + for i, filer in enumerate(batch): + name = f"filer_{i}" + people[name] = {k: {y: v for y in YEARS} for k, v in filer.items()} + tax_units[f"tax_unit_{i}"] = { + "members": [name], + "filing_status": {y: "SINGLE" for y in YEARS}, + } + households[f"household_{i}"] = { + "members": [name], + "state_code": {y: "DE" for y in YEARS}, + } + for group in groups: + groups[group][f"{group}_{i}"] = {"members": [name]} + return Simulation( + situation={ + "people": people, + "tax_units": tax_units, + "households": households, + **groups, + } + ) + + +@settings( + max_examples=6, + deadline=None, + derandomize=True, + suppress_health_check=[HealthCheck.too_slow, HealthCheck.data_too_large], +) +@given(batch=st.lists(filers, min_size=10, max_size=30)) +def test_military_pension_exclusion(batch): + simulation = simulate(batch + [exchanged(filer) for filer in batch]) + for year in YEARS: + exclusion = np.asarray(simulation.calculate("de_pension_exclusion", year)) + amounts, twin_amounts = exclusion[: len(batch)], exclusion[len(batch) :] + for filer, amount, twin_amount in zip(batch, amounts, twin_amounts): + assert amount == reference(year, filer), (year, filer, amount) + received = ( + filer["military_retirement_pay"] + + filer["military_retirement_pay_survivors"] + ) + assert 0 <= amount <= received + max(basket(filer), 0) + if ( + year >= 2027 + and filer["age"] >= 60 + and filer["de_pension_exclusion_domicile_requirement_met"] + ): + assert amount >= reference(2026, filer) + if year >= 2024: + assert amount == twin_amount, (year, filer, amount, twin_amount) diff --git a/policyengine_us/tests/policy/baseline/gov/states/de/tax/income/subtractions/pension_exclusion/de_pension_exclusion.yaml b/policyengine_us/tests/policy/baseline/gov/states/de/tax/income/subtractions/pension_exclusion/de_pension_exclusion.yaml index 935d7bd10f1..f9a8a41ace7 100644 --- a/policyengine_us/tests/policy/baseline/gov/states/de/tax/income/subtractions/pension_exclusion/de_pension_exclusion.yaml +++ b/policyengine_us/tests/policy/baseline/gov/states/de/tax/income/subtractions/pension_exclusion/de_pension_exclusion.yaml @@ -133,8 +133,14 @@ output: de_pension_exclusion: 10_000 -- name: DE under-60 survivor benefits treated as pension (capped at 2,000) - period: 2024 +# 30 Del. C. 1106(b)(3)f.2, added by 84 Del. Laws c. 437 (approved September +# 26, 2024): a United States military pension is "a pension received as a +# result of an individual's service", so from 2024 a survivor's annuity takes +# the military pension exclusion. Before 2024 the term had no definition, and +# the survivor's annuity stays in the $2,000 pension exclusion. + +- name: DE under-60 survivor annuity stays in the $2,000 pension exclusion in 2023. + period: 2023 input: age: 50 military_retirement_pay_survivors: 3_000 @@ -143,6 +149,16 @@ output: de_pension_exclusion: 2_000 +- name: DE under-60 survivor annuity takes the military pension exclusion from 2024. + period: 2024 + input: + age: 50 + military_retirement_pay_survivors: 3_000 + is_tax_unit_head_or_spouse: true + state_code: DE + output: + de_pension_exclusion: 3_000 + - name: DE 60+ filer with military retirement and survivor benefits in retirement basket period: 2024 input: @@ -153,3 +169,277 @@ state_code: DE output: de_pension_exclusion: 12_500 + +# 30 Del. C. 1106(b)(3)c-e: the military pension cap rises to $15,000 for +# 2027, $20,000 for 2028 and $25,000 from 2029, and from 2027 filers age 60 or +# older take the greater of the $12,500 pension exclusion and the military +# pension exclusion. + +- name: DE under-60 military pension cap stays $12,500 in 2026. + period: 2026 + input: + state_code: DE + age: 45 + military_retirement_pay: 30_000 + output: + de_pension_exclusion: 12_500 + +- name: DE under-60 military pension cap is $15,000 in 2027. + period: 2027 + input: + state_code: DE + age: 45 + military_retirement_pay: 30_000 + output: + de_pension_exclusion: 15_000 + +- name: DE under-60 military pension cap is $20,000 in 2028. + period: 2028 + input: + state_code: DE + age: 45 + military_retirement_pay: 30_000 + output: + de_pension_exclusion: 20_000 + +- name: DE under-60 military pension cap is $25,000 in 2029. + period: 2029 + input: + state_code: DE + age: 45 + military_retirement_pay: 30_000 + output: + de_pension_exclusion: 25_000 + +- name: DE under-60 military pension cap stays $25,000 after 2029. + period: 2031 + input: + state_code: DE + age: 45 + military_retirement_pay: 30_000 + output: + de_pension_exclusion: 25_000 + +- name: DE military pension under the cap is excluded in full in 2029. + period: 2029 + input: + state_code: DE + age: 45 + military_retirement_pay: 18_000 + output: + de_pension_exclusion: 18_000 + +- name: DE 60+ filer excludes $12,500 of military pension in 2026. + period: 2026 + input: + state_code: DE + age: 65 + military_retirement_pay: 30_000 + output: + de_pension_exclusion: 12_500 + +- name: DE 60+ filer takes the $15,000 military pension exclusion in 2027. + period: 2027 + input: + state_code: DE + age: 65 + military_retirement_pay: 30_000 + output: + de_pension_exclusion: 15_000 + +- name: DE 60+ filer takes the $25,000 military pension exclusion in 2029. + period: 2029 + input: + state_code: DE + age: 65 + military_retirement_pay: 30_000 + output: + de_pension_exclusion: 25_000 + +- name: DE 60+ filer keeps the $12,500 pension exclusion when it is larger in 2029. + period: 2029 + input: + state_code: DE + age: 65 + military_retirement_pay: 10_000 + taxable_ira_distributions: 20_000 + output: + # The greater of min(12,500, 30,000) and min(25,000, 10,000). + de_pension_exclusion: 12_500 + +- name: DE 60+ filer without military pension keeps the $12,500 cap in 2029. + period: 2029 + input: + state_code: DE + age: 65 + taxable_pension_income: 30_000 + output: + de_pension_exclusion: 12_500 + +- name: DE 60+ filer with a capital loss takes military pension alone from 2027. + period: 2027 + input: + state_code: DE + age: 75 + military_retirement_pay: 10_000 + long_term_capital_gains: -3_000 + output: + # The basket nets to 7,000; the military pension exclusion gives 10,000. + de_pension_exclusion: 10_000 + +- name: DE 60+ filer with a capital loss keeps the netted basket in 2026. + period: 2026 + input: + state_code: DE + age: 75 + military_retirement_pay: 10_000 + long_term_capital_gains: -3_000 + output: + de_pension_exclusion: 7_000 + +- name: DE under-60 survivor annuity takes the $12,500 military pension exclusion in 2026. + period: 2026 + input: + state_code: DE + age: 50 + military_retirement_pay_survivors: 30_000 + output: + de_pension_exclusion: 12_500 + +- name: DE under-60 survivor annuity takes the $25,000 military pension exclusion in 2029. + period: 2029 + input: + state_code: DE + age: 50 + military_retirement_pay_survivors: 30_000 + output: + de_pension_exclusion: 25_000 + +- name: DE 60+ survivor annuity takes the $25,000 military pension exclusion in 2029. + period: 2029 + input: + state_code: DE + age: 65 + military_retirement_pay_survivors: 30_000 + output: + # The greater of min(12,500, 30,000) and min(25,000, 30,000). + de_pension_exclusion: 25_000 + +- name: DE 60+ filer adds retired pay and a survivor annuity under the military cap in 2029. + period: 2029 + input: + state_code: DE + age: 65 + military_retirement_pay: 8_000 + military_retirement_pay_survivors: 8_000 + output: + # The greater of min(12,500, 16,000) and min(25,000, 8,000 + 8,000). + de_pension_exclusion: 16_000 + +- name: DE one military cap covers retired pay and a survivor annuity together in 2029. + period: 2029 + input: + state_code: DE + age: 50 + military_retirement_pay: 20_000 + military_retirement_pay_survivors: 10_000 + output: + # min(25,000, 20,000 + 10,000), not 20,000 + 10,000. + de_pension_exclusion: 25_000 + +- name: DE excludes a dependent's survivor annuity from the parent's pension subtraction in 2029. + period: 2029 + input: + state_code: DE + age: 20 + is_tax_unit_head_or_spouse: false + military_retirement_pay_survivors: 10_000 + output: + de_pension_exclusion: 0 + +- name: DE joint return gives each spouse the 2029 cap on their own military pension. + period: 2029 + input: + people: + head: + age: 65 + military_retirement_pay: 30_000 + spouse: + age: 58 + military_retirement_pay: 22_000 + tax_units: + tax_unit: + members: [head, spouse] + filing_status: JOINT + households: + household: + members: [head, spouse] + state_code: DE + output: + de_pension_exclusion: [25_000, 22_000] + +# 30 Del. C. 1106(b)(3)f.4 (85 Del. Laws c. 426, Senate Amendment 1): from +# 2027, a person 60 or older claims the subtraction only after 3 years of +# Delaware domicile, or 5 years for a person domiciled in Delaware from 2027. + +- name: DE 60+ filer who fails the domicile requirement gets no exclusion in 2027. + period: 2027 + input: + state_code: DE + age: 65 + military_retirement_pay: 30_000 + de_pension_exclusion_domicile_requirement_met: false + output: + de_pension_exclusion: 0 + +- name: DE domicile requirement also removes the 60+ pension exclusion in 2029. + period: 2029 + input: + state_code: DE + age: 70 + taxable_ira_distributions: 20_000 + de_pension_exclusion_domicile_requirement_met: false + output: + de_pension_exclusion: 0 + +- name: DE domicile requirement does not apply in 2026. + period: 2026 + input: + state_code: DE + age: 65 + military_retirement_pay: 30_000 + de_pension_exclusion_domicile_requirement_met: false + output: + de_pension_exclusion: 12_500 + +- name: DE domicile requirement does not apply under 60. + period: 2027 + input: + state_code: DE + age: 45 + military_retirement_pay: 30_000 + de_pension_exclusion_domicile_requirement_met: false + output: + de_pension_exclusion: 15_000 + +- name: DE joint return applies the domicile requirement to each spouse. + period: 2029 + input: + people: + head: + age: 65 + military_retirement_pay: 30_000 + de_pension_exclusion_domicile_requirement_met: false + spouse: + age: 62 + military_retirement_pay: 22_000 + tax_units: + tax_unit: + members: [head, spouse] + filing_status: JOINT + households: + household: + members: [head, spouse] + state_code: DE + output: + de_pension_exclusion: [0, 22_000] diff --git a/policyengine_us/variables/gov/states/de/tax/income/subtractions/pension_exclusion/de_pension_exclusion.py b/policyengine_us/variables/gov/states/de/tax/income/subtractions/pension_exclusion/de_pension_exclusion.py index a1d22553862..48c7ca76472 100644 --- a/policyengine_us/variables/gov/states/de/tax/income/subtractions/pension_exclusion/de_pension_exclusion.py +++ b/policyengine_us/variables/gov/states/de/tax/income/subtractions/pension_exclusion/de_pension_exclusion.py @@ -10,6 +10,7 @@ class de_pension_exclusion(Variable): reference = ( "https://revenuefiles.delaware.gov/2022/PIT-RES_TY22_2022-02_Instructions.pdf#page=6", "https://delcode.delaware.gov/title30/c011/sc02/index.html", + "https://revenuefiles.delaware.gov/2025/PITForms_Instructions/Instructions/PIT-RES_Instructions_2025-01.pdf#page=6", ) defined_for = StateCode.DE @@ -47,27 +48,42 @@ def formula(person, period, parameters): # bleeds into other DE subtractions via the de_subtractions sum. capped_eligible_pension_income = min_(cap, max_(0, eligible_income)) - # Filer over a certain age are eligible to receive an exclsuion - # for the total of pension income and eligible retirement income pre and after 2022 - - # Filers under a certain age and retired from military, - # are eligible to receive a pension exclusion of a max amount after 2022 if p.military_retirement_exclusion_available: - military_retirement_pay = ( - person("military_retirement_pay", period) * head_or_spouse - ) - capped_military_retirement_pay = min_( - p.cap.military, military_retirement_pay + # A United States military pension is a retiree's own pay and, + # from 2024, an annuity paid to a member's survivor: "a pension + # received as a result of an individual's service" + # (30 Del. C. 1106(b)(3)f.2, added by 84 Del. Laws c. 437). + military_pension = ( + add(person, period, p.military_income_sources) * head_or_spouse ) - younger_amount = max_( - capped_military_retirement_pay, capped_eligible_pension_income + capped_military_pension = min_(p.cap.military, military_pension) + # Filers under the age threshold take the greater of the pension + # exclusion and the military pension exclusion from 2022 + # (30 Del. C. 1106(b)(3)b.1), and filers at or above it from 2027 + # (1106(b)(3)c.2, d.2 and e.2). + greater_amount = max_( + capped_military_pension, capped_eligible_pension_income ) - # Filers under the age threshold, post 2022, can subtract their military retirement - # income which is capped at a larger amount - return where( + if p.military_retirement_exclusion_available_at_age_threshold: + older_amount = greater_amount + else: + older_amount = capped_eligible_pension_income + exclusion = where( eligible_for_pension_exclusion_income, - capped_eligible_pension_income, - younger_amount, + older_amount, + greater_amount, ) else: - return capped_eligible_pension_income + exclusion = capped_eligible_pension_income + if p.domicile_requirement_applies: + # A person at or above the age threshold claims the exclusion only + # after 3 years of Delaware domicile, or 5 years for a person + # domiciled in Delaware from 2027 (30 Del. C. 1106(b)(3)f.4). + meets_domicile_requirement = person( + "de_pension_exclusion_domicile_requirement_met", period + ) + older_exclusion = where(meets_domicile_requirement, exclusion, 0) + return where( + eligible_for_pension_exclusion_income, older_exclusion, exclusion + ) + return exclusion diff --git a/policyengine_us/variables/gov/states/de/tax/income/subtractions/pension_exclusion/de_pension_exclusion_domicile_requirement_met.py b/policyengine_us/variables/gov/states/de/tax/income/subtractions/pension_exclusion/de_pension_exclusion_domicile_requirement_met.py new file mode 100644 index 00000000000..8a3a661378d --- /dev/null +++ b/policyengine_us/variables/gov/states/de/tax/income/subtractions/pension_exclusion/de_pension_exclusion_domicile_requirement_met.py @@ -0,0 +1,24 @@ +from policyengine_us.model_api import * + + +class de_pension_exclusion_domicile_requirement_met(Variable): + value_type = bool + entity = Person + label = "Meets Delaware's domicile requirement for the pension exclusion at age 60 or older" + documentation = ( + "Whether this person has lived in Delaware long enough to claim the " + "pension exclusion at age 60 or older: at least 3 years of Delaware " + "domicile for a person domiciled in Delaware before January 1, 2027, " + "and at least 5 years for one domiciled there on or after that date. " + "A person counts as domiciled in Delaware while a resident individual " + "under 30 Del. C. 1103. PolicyEngine tracks neither the date a person " + "became domiciled in Delaware nor the years since, so set this input " + "from both. PolicyEngine assumes the requirement is met unless this " + "input says otherwise." + ) + definition_period = YEAR + default_value = True + reference = ( + "https://delcode.delaware.gov/title30/c011/sc02/index.html", + "https://legis.delaware.gov/json/BillDetail/GenerateHtmlDocument?legislationId=143006&legislationTypeId=5&docTypeId=2&legislationName=SA1", + ) diff --git a/source_conflicts/candidates.yaml b/source_conflicts/candidates.yaml index 2674b4e9be5..9d6864aefc8 100644 --- a/source_conflicts/candidates.yaml +++ b/source_conflicts/candidates.yaml @@ -2459,6 +2459,53 @@ candidates: checkbox summary. On minors, manual 418 is the specific rule, and the statement of work asks for income documentation from members aged 18 and over not attending school. The manual also fills what the plan does not list: trusts (estate_income, 416.2) and other taxable income (miscellaneous_income, 416.1). Its sections carry 2011-2015 dates.' +- id: us-de:military-pension-survivor-annuity + program: income-tax + years: + from: 2024 + type: tax + question: Does an annuity paid to a uniformed-services member's survivor, such as a Survivor Benefit Plan annuity, + count as a "United States military pension" under 30 Del. C. 1106(b)(3), or only the retiree's own retired pay, as + the PIT-RES Line 6 instructions provide? + sources: + - kind: statute + citation: 30 Del. C. 1106(b)(3)f.2, added as (b)(3)c.2 by 84 Del. Laws c. 437 (SB 329, approved September 26, 2024) + url: https://delcode.delaware.gov/title30/c011/sc02/index.html + - kind: instructions + citation: Delaware PIT-RES instructions, Line 6, 2024 + url: https://revenuefiles.delaware.gov/2024/PIT_2024_Forms/PIT_Instructions/PIT-RES_TY24_2024-01_Instructions.pdf#page=6 + - kind: instructions + citation: Delaware PIT-RES instructions, Line 6, 2025 + url: https://revenuefiles.delaware.gov/2025/PITForms_Instructions/Instructions/PIT-RES_Instructions_2025-01.pdf#page=6 + readings: + statute: '"United States military pension" means a pension received as a result of an individual''s service in the + Army, Navy, Air Force, Marine Corps, Space Force, Coast Guard, the commissioned corps of the National Oceanic and + Atmospheric Administration, the commissioned corps of the Public Health Service, or the National Guard. A + survivor''s annuity is received as a result of the deceased member''s service.' + other: The instructions give the military pension exclusion to a filer who "retired from the United States military + and received pension income", which leaves a survivor's annuity in the $2,000 or $12,500 pension exclusion. + example: In 2024 a 50-year-old with a $3,000 Survivor Benefit Plan annuity and no other income excludes $3,000 under + the statute and $2,000 under the instructions. In 2029 a 50-year-old with a $30,000 annuity excludes $25,000 under + the statute, and $2,000 if the instructions keep their retiree-only wording. + pe_us: + follows: statute + code: + - policyengine_us/parameters/gov/states/de/tax/income/subtractions/exclusions/pension/military_income_sources.yaml + - policyengine_us/variables/gov/states/de/tax/income/subtractions/pension_exclusion/de_pension_exclusion.py + prs: + - https://github.com/PolicyEngine/policyengine-us/pull/10716 + state: ruled + note: Definitions control, so from 2024 the military pension branch counts retired pay and survivor annuities + (military_retirement_pay and military_retirement_pay_survivors), each person's total under one cap. 83 Del. Laws + c. 352 (approved July 20, 2022) created the military pension exclusion for 2022 without defining the term, and the + 2022 and 2023 instructions give it to a filer who retired from the military. 84 Del. Laws c. 437 (approved September + 26, 2024) put the definition in (b)(3)c., which applies "for the purposes of this paragraph (b)(3)" and so reaches + b., the rule for taxable years beginning on or after January 1, 2022; the act has no effective-date or applicability + section. Three start years have support, 2022 (when the provision the definition attaches to begins), 2024 (the tax + year of approval) and 2025 (the first full tax year after approval). The code starts the definition in 2024 and reads retired + pay alone for 2022 and 2023, as those years' instructions did. The SB 219 fiscal note (assumption 4) counts "1,337 + survivors receiving a military pension" in Delaware. The Axiom corpus holds none of these texts, so captures of + 1106(b)(3) and both years' Line 6 pages are in source_conflicts/sources/us-de/. - id: us-de:snap-child-support-exclusion program: snap years: diff --git a/source_conflicts/sources/us-de/30-del-c-1106-b-3.txt b/source_conflicts/sources/us-de/30-del-c-1106-b-3.txt new file mode 100644 index 00000000000..f3b60440287 --- /dev/null +++ b/source_conflicts/sources/us-de/30-del-c-1106-b-3.txt @@ -0,0 +1,42 @@ +Source: https://delcode.delaware.gov/title30/c011/sc02/index.html +30 Del. C. § 1106(b) lead-in and (b)(3), fetched 2026-11-21. Text of each paragraph element extracted from the HTML (entities decoded, whitespace collapsed), one paragraph per line, with the page's curly quotation marks kept. + +(b) Subtractions. — There shall be subtracted from federal adjusted gross income: +(3) a. For taxable years beginning before January 1, 2022: +1. Amounts received, not to exceed $2,000, by persons under age 60 as pensions from employers, the United States, this State, or any subdivision of this State; or +2. Amounts received, not to exceed $12,500, by persons age 60 or older as pensions from employers, the United States, this State, or any subdivision of this State, or as eligible retirement income. +b. For taxable years beginning on January 1, 2022, and ending before January 1, 2027: +1. For persons under age 60, the greater of: +A. Amounts received, not to exceed $2,000, as pensions from employers, the United States, this State, or any subdivision of this State; or +B. Amounts received, not to exceed $12,500, as a United States military pension. +2. For persons age 60 or older, amounts received, not to exceed $12,500, as pensions from employers, the United States, this State, or any subdivision of this State, or as eligible retirement income. +c. For the taxable year beginning on January 1, 2027: +1. For persons under age 60, the greater of: +A. Amounts received, not to exceed $2,000, as pensions from employers, the United States, this State, or any subdivision of this State; or +B. Amounts received, not to exceed $15,000, as a United States military pension. +2. For persons age 60 or older, the greater of: +A. Amounts received, not to exceed $12,500, as pensions from employers, the United States, this State, or any subdivision of this State, or as eligible retirement income; or +B. Amounts received, not to exceed $15,000, as a United States military pension. +d. For the taxable year beginning on January 1, 2028: +1. For persons under age 60, the greater of: +A. Amounts received, not to exceed $2,000, as pensions from employers, the United States, this State, or any subdivision of this State; or +B. Amounts received, not to exceed $20,000, as a United States military pension. +2. For persons age 60 or older, the greater of: +A. Amounts received, not to exceed $12,500, as pensions from employers, the United States, this State, or any subdivision of this State, or as eligible retirement income; or +B. Amounts received, not to exceed $20,000, as a United States military pension. +e. For taxable years beginning on or after January 1, 2029: +1. For persons under age 60, the greater of: +A. Amounts received, not to exceed $2,000, as pensions from employers, the United States, this State, or any subdivision of this State; or +B. Amounts received, not to exceed $25,000, as a United States military pension. +2. For persons age 60 or older, the greater of: +A. Amounts received, not to exceed $12,500, as pensions from employers, the United States, this State, or any subdivision of this State, or as eligible retirement income; or +B. Amounts received, not to exceed $25,000, as a United States military pension. +f. For the purposes of this paragraph (b)(3): +1. A. “Eligible retirement income” includes distributions received from “qualified retirement plans” defined in § 4974 of the federal Internal Revenue Code (“IRC”) (26 U.S.C. § 4974) or a successor provision, cash or deferred arrangements described in IRC § 401(k) (26 U.S.C. § 401(k)) or a successor provision, government deferred compensation plans described in IRC § 457 (26 U.S.C. § 457) or a successor provision, dividends, capital gains, interest, and rental income from real property less deductible rental expenses. +B. For purposes of this paragraph (b)(3)f., eligible retirement income received by spouses as joint tenants with right of survivorship or as tenants by the entirety is deemed to have been received ½ by each. +2. “United States military pension” means a pension received as a result of an individual’s service in the Army, Navy, Air Force, Marine Corps, Space Force, Coast Guard, the commissioned corps of the National Oceanic and Atmospheric Administration, the commissioned corps of the Public Health Service, or the National Guard. +3. The dollar limits of the subtraction modifications specified in this paragraph (b)(3) apply individually to each spouse who is receiving a United States military pension on a joint return. The total subtraction modification may not exceed twice the relevant limit. +4. A. A person who is age 60 or older is eligible for the subtraction under this paragraph (b)(3) only if 1 of the following applies: +I. For a person who is age 60 or older and legally domiciled in this State before January 1, 2027, the person is legally domiciled in this State for at least 3 years. +II. For a person who is age 60 or older and legally domiciled in this State on or after January 1, 2027, the person is legally domiciled in this State for at least 5 years. +B. For purposes of this paragraph (b)(3)f.4. of this section, a person is legally domiciled in this State if the person is a “resident individual” under § 1103 of this title. diff --git a/source_conflicts/sources/us-de/pit-res-instructions-2024-line-6.txt b/source_conflicts/sources/us-de/pit-res-instructions-2024-line-6.txt new file mode 100644 index 00000000000..2e050555a8a --- /dev/null +++ b/source_conflicts/sources/us-de/pit-res-instructions-2024-line-6.txt @@ -0,0 +1,20 @@ +Source: https://revenuefiles.delaware.gov/2024/PIT_2024_Forms/PIT_Instructions/PIT-RES_TY24_2024-01_Instructions.pdf +Page 6, Line 6 (Pension Exclusion) and the eligible retirement income definition it cites, fetched 2026-11-21. Text extracted with pdftotext (poppler) and reflowed to one paragraph per line; the four worksheet lines are listed in reading order without leader dots or dollar-sign columns. + +Line 6 +Pension Exclusion +NOTE: Each taxpayer may receive ONLY ONE pension exclusion, even if he or she is receiving more than one pension or other retirement distribution. Spouses who each receive pensions are entitled to one exclusion each. +Amounts received as pensions from employers (including pensions of a deceased taxpayer) may qualify for an exclusion from Delaware taxable income, subject to the limitations described below. +An early distribution from an IRA or pension fund for emergency reasons or following a separation from employment does not qualify for the pension exclusion. If the distribution code listed in Box 7 of your 1099 R is a 1 (one), or if you were assessed an early withdrawal penalty on federal 1040, Schedule 2, Line 8 for the distribution, then that distribution DOES NOT qualify for the pension exclusion. +Pension Exclusion for Individuals Under 60 +IF YOU WERE UNDER 60 on December 31, 2024 and retired from the United States military and received pension income during the year, your exclusion equals $12,500 or the amount of your pension, whichever is less. Please check the box indicating your pension is from the United States military. +IF YOU WERE UNDER 60 on December 31, 2024, and you receive a nonmilitary pension, your exclusion equals $2,000 or the amount of your pension, whichever is less. +IF YOU WERE 60 OR OVER on December 31, 2024, your exclusion is determined as follows: +1. Amount of pension +2. Amount of “eligible retirement income” (See definition below) +3. Total (add lines 1 and 2) +4. Enter Line 3 or $12,500, whichever is less here and on Line 6 +Disability pension income paid by your employer is reported as wages on the federal return, until you reach the minimum retirement age. Minimum retirement age generally is the age at which you can first receive a pension or annuity if you are not disabled. Therefore, disability pension income would not qualify for the pension exclusion. +Pension Exclusion Example: The primary taxpayer received $10,000 in pension income. The secondary taxpayer received no pension income. The taxpayers had joint bank accounts and mutual fund accounts. They earned $5,000 in interest from the bank, $1,000 in dividends and $3,000 in capital gains. The income from these joint accounts would be split equally between the two taxpayers. Both taxpayers, in this example, are over 60 years old. The primary taxpayer has $14,500 of eligible retirement income (10,000+ 2,500+500+1,500=14,500), so the pension exclusion for the primary taxpayer is $12,500, the maximum exclusion. The eligible retirement income of the secondary taxpayer is $4,500 (2,500+500+1,500= 4,500), so the secondary taxpayer is entitled to a pension exclusion of $4,500. The secondary taxpayer cannot include in the pension exclusion calculation the amount by which the primary taxpayer exceeded the $12,500 maximum exclusion. When filing a joint return, the combined exclusion for the primary and secondary taxpayer would be $17,000 (12,500+4,500). +Please remember to enclose the 1099R forms and other supporting schedules to support your pension exclusion. +Eligible retirement income includes dividends, capital gains net of capital losses, interest, net rental income from real property and qualified retirement plans (IRC Sec. 4974), such as IRA, 401(k), Keogh plans, and government deferred compensation plans (IRC Sec. 457). diff --git a/source_conflicts/sources/us-de/pit-res-instructions-2025-line-6.txt b/source_conflicts/sources/us-de/pit-res-instructions-2025-line-6.txt new file mode 100644 index 00000000000..b3d265c3795 --- /dev/null +++ b/source_conflicts/sources/us-de/pit-res-instructions-2025-line-6.txt @@ -0,0 +1,20 @@ +Source: https://revenuefiles.delaware.gov/2025/PITForms_Instructions/Instructions/PIT-RES_Instructions_2025-01.pdf +Page 6, Line 6 (Pension Exclusion) and the eligible retirement income definition it cites, fetched 2026-11-21. Text extracted with pdftotext (poppler) and reflowed to one paragraph per line; the four worksheet lines are listed in reading order without leader dots or dollar-sign columns. + +Line 6 +Pension Exclusion +NOTE: Each taxpayer may receive ONLY ONE pension exclusion, even if he or she is receiving more than one pension or other retirement distribution. Spouses who each receive pensions are entitled to one exclusion each. +Amounts received as pensions from employers (including pensions of a deceased taxpayer) may qualify for an exclusion from Delaware taxable income, subject to the limitations described below. +An early distribution from an IRA or pension fund for emergency reasons or following a separation from employment does not qualify for the pension exclusion. If the distribution code listed in Box 7 of your 1099 R is a 1 (one), or if you were assessed an early withdrawal penalty on federal 1040, Schedule 2, Line 8 for the distribution, then that distribution DOES NOT qualify for the pension exclusion. +Pension Exclusion for Individuals Under 60 +IF YOU WERE UNDER 60 on December 31, 2025 and retired from the United States military and received pension income during the year, your exclusion equals $12,500 or the amount of your pension, whichever is less. Please check the box indicating your pension is from the United States military. +IF YOU WERE UNDER 60 on December 31, 2025, and you receive a nonmilitary pension, your exclusion equals $2,000 or the amount of your pension, whichever is less. +IF YOU WERE 60 OR OVER on December 31, 2025, your exclusion is determined as follows: +1. Amount of pension +2. Amount of “eligible retirement income” (See definition below) +3. Total (add lines 1 and 2) +4. Enter Line 3 or $12,500, whichever is less here and on Line 6 +Disability pension income paid by your employer is reported as wages on the federal return, until you reach the minimum retirement age. Minimum retirement age generally is the age at which you can first receive a pension or annuity if you are not disabled. Therefore, disability pension income would not qualify for the pension exclusion. +Pension Exclusion Example: The primary taxpayer received $10,000 in pension income. The secondary taxpayer received no pension income. The taxpayers had joint bank accounts and mutual fund accounts. They earned $5,000 in interest from the bank, $1,000 in dividends and $3,000 in capital gains. The income from these joint accounts would be split equally between the two taxpayers. Both taxpayers, in this example, are over 60 years old. The primary taxpayer has $14,500 of eligible retirement income (10,000+ 2,500+500+1,500=14,500), so the pension exclusion for the primary taxpayer is $12,500, the maximum exclusion. The eligible retirement income of the secondary taxpayer is $4,500 (2,500+500+1,500= 4,500), so the secondary taxpayer is entitled to a pension exclusion of $4,500. The secondary taxpayer cannot include in the pension exclusion calculation the amount by which the primary taxpayer exceeded the $12,500 maximum exclusion. When filing a joint return, the combined exclusion for the primary and secondary taxpayer would be $17,000 (12,500+4,500). +Please remember to enclose the 1099R forms and other supporting schedules to support your pension exclusion. +Eligible retirement income includes dividends, capital gains net of capital losses, interest, net rental income from real property and qualified retirement plans (IRC Sec. 4974), such as IRA, 401(k), Keogh plans, and government deferred compensation plans (IRC Sec. 457).