pub struct Schedule2Map {
pub form: String,
pub year: i32,
pub identity: IdentityCells,
pub line4: MoneyCell,
pub line11: MoneyCell,
pub line12: MoneyCell,
pub line21: MoneyCell,
}Expand description
The Schedule 2 (Additional Taxes) field map for one tax year.
Part I is entirely absent: line 1a (excess APTC) has no input and would refuse if it did, and line 2 (AMT) is $0 by construction (the return is refused if the Form 6251 screen trips). Only the three Part II taxes v1 computes are mapped. Line 21 is on PAGE 2.
Fields§
§form: String"f1040s2".
year: i32Tax year.
identity: IdentityCellsThe name + SSN header cells (P6.2). REQUIRED: a full-return schedule that does not name its
taxpayer is not a filable form, so a map lacking [identity] fails at deserialization.
line4: MoneyCellL4 — self-employment tax (SS + regular Medicare only), AMOUNT column, page 1.
line11: MoneyCellL11 — Additional Medicare Tax (Form 8959’s printed L18), AMOUNT column, page 1.
line12: MoneyCellL12 — net investment income tax (Form 8960’s printed L17), AMOUNT column, page 1.
line21: MoneyCellL21 — total other taxes → 1040 L23, AMOUNT column, page 2.
Implementations§
Source§impl Schedule2Map
impl Schedule2Map
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. Full-return v1 is TY2024-only.
Trait Implementations§
Source§impl Clone for Schedule2Map
impl Clone for Schedule2Map
Source§fn clone(&self) -> Schedule2Map
fn clone(&self) -> Schedule2Map
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more