Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 4 additions & 0 deletions changelog_entry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- bump: minor
changes:
added:
- partnership_se_income variable for general partners' SE income from Schedule K-1 Box 14, now included in taxable_self_employment_income per 26 USC 1402(a).
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,24 @@
output:
taxable_self_employment_income: 0

- name: S-corp and partnership income is not subject to SE tax per 26 USC 1402.
- name: S-corp and general partnership distributions not subject to SE tax.
period: 2024
input:
self_employment_income: 50_000
partnership_s_corp_income: 100_000
output:
# Only the $50k self-employment income is subject to SE tax.
# The $100k partnership/S-corp income passes through for income tax
# but is not self-employment income.
# The $100k partnership/S-corp distributions pass through for income tax
# but are not self-employment income (S-corp never, partnership only via K-1 Box 14).
# 50_000 * (1 - 0.5 * 0.153) = 50_000 * 0.9235 = 46_175
taxable_self_employment_income: 46_175

- name: Partnership SE income from K-1 Box 14 is subject to SE tax.
period: 2024
input:
self_employment_income: 50_000
partnership_se_income: 30_000
output:
# Both Schedule C ($50k) and K-1 Box 14 ($30k) are subject to SE tax.
# 80_000 * (1 - 0.5 * 0.153) = 80_000 * 0.9235 = 73_880
taxable_self_employment_income: 73_880
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@ class taxable_self_employment_income(Variable):
reference = "https://www.law.cornell.edu/uscode/text/26/1402#a"

def formula(person, period, parameters):
# Per 26 USC 1402(a), SE income includes Schedule C and Schedule F income.
# S-corp distributions and partnership income are excluded here.
# Per 26 USC 1402(a), SE income includes:
# - Schedule C net profit (self_employment_income)
# - Schedule F net profit (farm_income)
# - General partners' distributive share (partnership_se_income from K-1 Box 14)
# S-corp distributions are NOT subject to SE tax.
SEI_SOURCES = [
"self_employment_income",
"farm_income",
"partnership_se_income",
]
gross_sei = add(person, period, SEI_SOURCES)
p = parameters(period).gov.irs
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from policyengine_us.model_api import *


class partnership_se_income(Variable):
value_type = float
entity = Person
label = "Partnership self-employment income"
definition_period = YEAR
documentation = "Partnership income subject to self-employment tax from Schedule K-1 Box 14. Only general partners' distributive share of trade/business income is included per 26 USC 1402(a)(13)."
unit = USD
reference = "https://www.law.cornell.edu/uscode/text/26/1402#a_13"