Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
6f9c3b9
Limit the self-employed health insurance deduction to 401(c) earned i…
MaxGhenis Oct 11, 2026
a885a16
Test the self-employed health insurance earned income limit against F…
MaxGhenis Oct 11, 2026
06f215b
Add Form 7206 property tests for the self-employed health insurance d…
MaxGhenis Oct 11, 2026
1bad2f1
Update SSTB and Ohio expectations for the 401(c) earned income limit
MaxGhenis Oct 11, 2026
32aec88
Widen the self-employed health insurance limit to farm, partnership a…
MaxGhenis Oct 11, 2026
6a5735e
Limit self-employed plan contributions to the Pub. 560 maximum deduction
MaxGhenis Oct 11, 2026
a18ed73
Test the self-employed plan limit against the Pub. 560 worksheet
MaxGhenis Oct 11, 2026
97e05a7
Extend the Form 7206 properties to farm, partnership and S corporatio…
MaxGhenis Oct 11, 2026
3fd9f1f
Add property and worksheet differential tests for the self-employed p…
MaxGhenis Oct 11, 2026
319445c
Add changelog fragment
MaxGhenis Oct 11, 2026
572c882
State the property 5 floor without depending on the plan contribution…
MaxGhenis Oct 11, 2026
47bba5e
Clarify the default plan business and the S corporation premium gate
MaxGhenis Oct 11, 2026
16a81b9
Point the EGTRRA reference at section 616's page
MaxGhenis Oct 11, 2026
d48dcd8
Merge #10121 (self-employed plan limit) into the #10120 stack
MaxGhenis Oct 11, 2026
f59fbe5
Update saver's credit and Utah cases for the self-employed plan limit
MaxGhenis Oct 11, 2026
c391e7b
Let farm and partnership plans take the self-employed plan deduction
MaxGhenis Oct 11, 2026
dc14b17
Test farm and partnership plans against the Pub. 560 worksheet and Fo…
MaxGhenis Oct 11, 2026
c140181
Extend the plan limit and Form 7206 property tests to farm and partne…
MaxGhenis Oct 11, 2026
b03f96f
Address review: name partnership and S corporation in YAML, document …
MaxGhenis Oct 13, 2026
f6d142c
Merge main into the plan business branch after #10109 landed
claude Nov 2, 2026
e716bc1
Merge main into the self-employed plan limit branch
claude Nov 2, 2026
b4a9c15
Expect the Pub. 560 plan deduction in the Form 7206 plan-deduction case
claude Nov 2, 2026
7810fd1
Test that catch-ups can't take the plan limit above earned income
claude Nov 3, 2026
4c3a6c7
Allocate line 15 by each business's share, as main does
claude Nov 3, 2026
3019e6c
Say where entity-paid premiums go and that every business kind is pooled
claude Nov 3, 2026
95b566c
Make the S corporation case a valid return and check the reference limit
claude Nov 3, 2026
418e535
Record the catch-up and step 2 readings, and say what the limit leave…
claude Nov 3, 2026
e018558
Test 403(b) room and a plan beside a partnership; check line 15 from SE
claude Nov 3, 2026
1c8823f
Scope the changelog to a defined contribution plan
claude Nov 3, 2026
0c191f0
Merge remote-tracking branch 'origin/main' into pr-10120
claude Nov 3, 2026
da6240b
Carry the plan business choice into the owners' draw reform's SEHI limit
claude Nov 3, 2026
ac8194d
Merge remote-tracking branch 'origin/main' into pr-10121
claude Nov 3, 2026
0b8a50d
Split line 15 over the owners' draw profits in the plan's earned income
claude Nov 3, 2026
5f05f3a
Check the reform's plan earned income against the baseline when disabled
claude Nov 3, 2026
ffcd227
Say where a SIMPLE IRA or minister's account can exceed the plan limit
claude Nov 4, 2026
735cb03
Name the smaller-plan-business case in the plan business input's docs
claude Nov 4, 2026
916a414
Merge main and apply the review notes to the self-employed plan limit
MaxGhenis Nov 5, 2026
577118d
Merge main into sehi-plan-business-base
MaxGhenis Nov 7, 2026
69a8b3b
Test long-term care premiums under every plan business
MaxGhenis Nov 7, 2026
031c6bc
Say the model taxes reimbursed long-term care premiums as payroll wages
MaxGhenis Nov 7, 2026
eddc35a
Tell partners where guaranteed payments go and cite Notice 2008-1
MaxGhenis Nov 7, 2026
167577e
Merge #10120's head (eddc35a698) into the plan business branch
MaxGhenis Nov 7, 2026
579e0f0
Merge #10121's head (916a414df6) into the plan business branch
MaxGhenis Nov 7, 2026
3aae3a3
Attribute the least plan deduction to the health plan's business
MaxGhenis Nov 8, 2026
f3f756e
Give the owners' draw stub's plan enums the inputs' shape
MaxGhenis Nov 8, 2026
a755a23
Test line 9 when a job's 401(k) used all regular deferral room
MaxGhenis Nov 8, 2026
f21d703
Merge main, where #10120 landed as da23c78, into the plan business br…
MaxGhenis Nov 8, 2026
364c6b4
Pool one employer's plans for Form 7206 line 9
MaxGhenis Nov 8, 2026
bd56353
Cite 404(h)(2) for a SEP's share of the pooled 404(a)(3) limit
MaxGhenis Nov 8, 2026
312ce7c
Test line 9 with retirement plans under all three businesses
MaxGhenis Nov 8, 2026
4ced67c
Correct the deductible self-employment tax in five plan limit cases
MaxGhenis Nov 8, 2026
5631d5f
Give a partnership's plan its own employer contribution limit on Form…
MaxGhenis Nov 8, 2026
fe71df2
Drop a redundant cap on the other plans' deferrals in Form 7206 line 9
MaxGhenis Nov 8, 2026
d59c214
Say when a partnership the person doesn't control can raise line 9
MaxGhenis Nov 8, 2026
b24420d
Describe the per-employer line 9 in the changelog fragment
MaxGhenis Nov 8, 2026
14cf91e
Name who applies the section 415 limits in the SE health limit's docu…
MaxGhenis Nov 8, 2026
d016a55
State the 80 percent common-control test for a partnership's 415 limits
MaxGhenis Nov 8, 2026
243ef9c
Pin Roth 403(b) deferrals and a partnership loss in the line 9 tests
MaxGhenis Nov 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/fix-se-pension-earned-income-limit.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Limit the self-employed SEP, SIMPLE and qualified plan deduction to the Pub. 560 maximum for a SEP or a qualified defined contribution plan, based on Schedule C net profit less its share of the deductible part of self-employment tax, so the deduction can no longer exceed that earned income. Catch-up contributions now count on top of the section 415(c) dollar limit, which raises the limit for people 50 and older with high profit. A SIMPLE IRA can allow slightly more than this limit in a narrow band, which the model doesn't yet capture.
1 change: 1 addition & 0 deletions changelog.d/se-plan-business-farm-partnership.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Let self-employed people whose SEP, SIMPLE or qualified plan is established under a farm (Schedule F) or partnership (K-1 box 14 code A) business deduct their contributions, by default from the combined earned income of every profitable self-employment business under one dollar limit. With retirement plans under several businesses, the self-employed health insurance limit (Form 7206 line 9) subtracts only the part of the plan deduction that the other plans can't carry, which leaves the most earned income for that deduction. The other plans carry up to their earned income, within their employers' limits on employer contributions plus the person's elective deferral room.
5 changes: 5 additions & 0 deletions docs/contributed_reforms/owners_draw.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ partnership or the S corporation named by
`self_employed_health_insurance_plan_business`, or the one with the largest
line 13 when none is named.

The reform also replaces `self_employed_pension_earned_income` (Pub. 560
Deduction Worksheet for Self-Employed, step 3). Step 2 takes the Schedule C
business's share of the deductible SE tax, split by net profit as above, and
the same draw profits join the split.

## Benefit credit and active NIIT interaction

`owners_draw_credited_earnings` exposes N_D when benefit credit is enabled,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
description: The US limits the deduction for employer contributions to a SEP or profit-sharing plan to this share of participants' compensation.
values:
2002-01-01: 0.25
metadata:
unit: /1
period: year
label: SEP and profit-sharing plan employer deduction limit rate
reference:
- title: 26 U.S. Code § 404(a)(3)(A)(i)(I) and (h)(1)(C) - Profit-sharing trusts and simplified employee pensions
href: https://www.law.cornell.edu/uscode/text/26/404#a_3_A_i_I
- title: Economic Growth and Tax Relief Reconciliation Act of 2001, Pub. L. 107-16, § 616 (15 to 25 percent, years beginning after 2001)
href: https://www.congress.gov/107/plaws/publ16/PLAW-107publ16.pdf#page=66
- title: IRS Publication 560 (2025), Rate Table for Self-Employed
href: https://www.irs.gov/pub/irs-prior/p560--2025.pdf#page=40
- title: IRS Publication 560 (2022), Rate Table for Self-Employed
href: https://www.irs.gov/pub/irs-prior/p560--2022.pdf#page=35
29 changes: 28 additions & 1 deletion policyengine_us/reforms/ssa/owners_draw.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
self_employed_health_insurance_earned_income_limit as baseline_sehi_limit,
form_7206_line_13,
)
from policyengine_us.variables.household.expense.retirement.self_employed_pension_earned_income import (
self_employed_pension_earned_income as baseline_pension_earned_income,
pension_plan_earned_income,
)
from policyengine_us.variables.gov.ssa.social_security.ss_aime import (
ss_aime as baseline_aime,
_compute_aime,
Expand Down Expand Up @@ -252,7 +256,29 @@ def formula(person, period, parameters):
# chosen among the baseline's Schedule C, farm, partnership and
# S corporation businesses.
return form_7206_line_13(
person, period, other_line_5_profits=draw_profits_in_line_7
person,
period,
parameters,
other_line_5_profits=draw_profits_in_line_7,
)

class self_employed_pension_earned_income(baseline_pension_earned_income):
def formula(person, period, parameters):
if not _enabled(period, parameters):
return baseline_pension_earned_income.formula(
person, period, parameters
)
# Pub. 560 step 2 takes the plan businesses' share of
# Schedule 1 line 15, split by net profit as on Form 7206 lines 5
# to 8. As in the health insurance limit above, the draw profits
# whose SECA is in line 15 join the profits it is split over.
draw_profits_in_line_15 = where(
parameters(period).gov.contrib.ssa.owners_draw.half_seca_deduction,
person("owners_draw_niit_exclusion", period),
0,
)
return pension_plan_earned_income(
person, period, other_line_5_profits=draw_profits_in_line_15
)

class ss_aime(baseline_aime):
Expand Down Expand Up @@ -288,6 +314,7 @@ def apply(self):
self.update_variable(self_employment_medicare_tax)
self.update_variable(self_employment_tax_ald_person)
self.update_variable(self_employed_health_insurance_earned_income_limit)
self.update_variable(self_employed_pension_earned_income)
self.update_variable(ss_aime)

return reform
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
roth_ira_contributions_desired: 1_000
roth_401k_contributions_desired: 1_000
roth_403b_contributions_desired: 1_000
self_employment_income: 1_000
# Enough profit for the self-employed plan limit (earned income of
# 9,293.52) to allow the full 1,000.
self_employment_income: 10_000
self_employed_pension_contributions_desired: 1_000
able_contributions_person: 100
retirement_distributions: 1_000
Expand All @@ -36,7 +38,9 @@
- name: Self-employed pension contributions count after applying the annual additions cap
period: 2026
input:
self_employment_income: 100_000
# 20% of earned income plus the 24,500 deferral limit exceeds the 72,000
# annual additions limit at this profit.
self_employment_income: 500_000
self_employed_pension_contributions_desired: 100_000
output:
self_employed_pension_contributions: 72_000
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,3 +306,40 @@
itemized_medical_expenses: 0
# 32,000 - 2,260.728 - 20,930.
adjusted_gross_income: 8_809.272

- name: Case 17, a farmer with health and retirement plans under the farm ends with AGI of zero.
period: 2023
absolute_error_margin: 0.01
input:
is_self_employed: true
farm_operations_income: 20_000
self_employed_pension_contributions_desired: 3_000
health_insurance_premiums: 20_000
output:
# Form 7206 line 13: 20,000 - 1,412.955 - 3,000 = 15,587.045.
self_employed_pension_contribution_ald_person: 3_000
self_employed_health_insurance_ald_person: 15_587.045
# 20,000 - 1,412.955 - 3,000 - 15,587.045.
adjusted_gross_income: 0

- name: Case 18, with retirement plans under two businesses, either plan can carry the whole plan deduction, so neither business's limit falls.
period: 2024
absolute_error_margin: 0.01
input:
is_self_employed: true
self_employment_income: 10_000
# The partnership's earnings enter gross income through
# partnership_income and self-employment tax through
# partnership_self_employment_net_earnings.
partnership_income: 10_000
partnership_self_employment_net_earnings: 10_000
self_employed_pension_contributions_desired: 3_000
health_insurance_premiums: 20_000
output:
# Line 15: 20,000 x 0.9235 x 0.153 / 2 = 1,412.955. Line 8: 9,293.5225
# for each business. Either business's plan can carry up to its own
# earned income, which covers all 3,000, so line 9 is 0 for the other.
self_employed_pension_contribution_ald_person: 3_000
self_employed_health_insurance_ald_person: 9_293.5225
# 20,000 - 1,412.955 - 3,000 - 9,293.5225.
adjusted_gross_income: 6_293.5225
Loading
Loading