pub struct ScheduleSeMap {Show 15 fields
pub form: String,
pub year: i32,
pub line2: MoneyCell,
pub line3: MoneyCell,
pub line4a: MoneyCell,
pub line4c: MoneyCell,
pub line6: MoneyCell,
pub line8a: MoneyCell,
pub line8d: MoneyCell,
pub line9: MoneyCell,
pub line10: MoneyCell,
pub line11: MoneyCell,
pub line12: MoneyCell,
pub line13: MoneyCell,
pub prefilled_exempt: Vec<String>,
}Expand description
The Schedule SE (Form 1040) field map for one tax year — the filled §1401 line chain.
Fields§
§form: String"schedule_se".
year: i32Tax year.
line2: MoneyCellLine 2 — net profit (net_se), amount column.
line3: MoneyCellLine 3 — combine 1a/1b/2 (= line 2), amount column.
line4a: MoneyCellLine 4a — net SE earnings (base = net_se × 92.35%), amount column.
line4c: MoneyCellLine 4c — combine 4a/4b (= line 4a), amount column. The $400 STOP threshold.
line6: MoneyCellLine 6 — add 4c/5b (= line 4c), amount column.
line8a: MoneyCellLine 8a — Form W-2 Social Security wages, MID column.
line8d: MoneyCellLine 8d — add 8a/8b/8c (= line 8a), amount column.
line9: MoneyCellLine 9 — line 7 (ss_wage_base constant) − line 8d, amount column.
line10: MoneyCellLine 10 — Social Security portion (ss), amount column.
line11: MoneyCellLine 11 — regular Medicare portion (medicare), amount column.
line12: MoneyCellLine 12 — SE tax = line 10 + line 11 (SS + regular Medicare ONLY), amount column.
line13: MoneyCellLine 13 — one-half SE-tax deduction (= line 12 × 50% = deductible_half), MID column.
prefilled_exempt: Vec<String>Fields the BLANK form already carries a factory /V for (the 2017 §B long form pre-prints
line 7 = 127,200/00 and line 14 = 5,200/00) — excluded from the no_unmapped_filled
guard so those constants don’t read as stray writes. Empty on 2024/2025.
Implementations§
Source§impl ScheduleSeMap
impl ScheduleSeMap
Sourcepub fn ty2024() -> Self
pub fn ty2024() -> Self
The TY2024 map (field-name-identical to 2025; only the wage base differs).
Sourcepub fn ty2017() -> Self
pub fn ty2017() -> Self
The TY2017 map (OLD §B long form: dollars+cents pairs; pre-filled line 7/14 exempt).
Sourcepub fn for_year(year: i32) -> Result<Self, FormsError>
pub fn for_year(year: i32) -> Result<Self, FormsError>
The map for a supported tax year.
Sourcepub fn field_names(&self) -> Vec<&str>
pub fn field_names(&self) -> Vec<&str>
Every field name the map targets (for the map_YYYY_matches_bundled_pdf_fieldset guard) —
both members of each dollars+cents pair on the 2017 form.
Trait Implementations§
Source§impl Clone for ScheduleSeMap
impl Clone for ScheduleSeMap
Source§fn clone(&self) -> ScheduleSeMap
fn clone(&self) -> ScheduleSeMap
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more