pub struct ScheduleCMap {Show 14 fields
pub form: String,
pub year: i32,
pub line_a_business: String,
pub line_b_naics: String,
pub method_cash: CheckChoice,
pub method_accrual: CheckChoice,
pub identity: IdentityCells,
pub line1: MoneyCell,
pub line3: MoneyCell,
pub line5: MoneyCell,
pub line7: MoneyCell,
pub line28: MoneyCell,
pub line29: MoneyCell,
pub line31: MoneyCell,
}Expand description
The Schedule C (Profit or Loss From Business) field map — the crypto trade or business.
Its money column is x ≈ [475, 576] — not the [504, 576] of Schedules 1/2/3/A and Forms 8959/8960/8995, and not Schedule B’s [489.6, 576]. No amount-column constant is shared between forms in this crate, and none may be.
Part II’s individual expense lines (8–27b) are unmapped: v1 takes a FLAT expense total, so only line 28 is printed. Line 30 (home office) and the line-32 at-risk checkboxes are unmapped too — a Schedule C loss refuses upstream, so line 31 is always ≥ 0.
Fields§
§form: String"f1040sc".
year: i32Tax year.
line_a_business: StringLine A — “Principal business or profession”.
line_b_naics: StringLine B — the NAICS code (a 6-character comb).
method_cash: CheckChoiceLine F — the accounting-method checkboxes. (1) Cash and (2) Accrual; (3) Other is never
checked (v1 captures only the two).
method_accrual: CheckChoice§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.
line1: MoneyCellL1 — gross receipts or sales.
line3: MoneyCellL3 — line 1 − line 2 (returns, blank).
line5: MoneyCellL5 — gross profit (line 3 − line 4, COGS blank).
line7: MoneyCellL7 — gross income (line 5 + line 6, other income blank).
line28: MoneyCellL28 — total expenses.
line29: MoneyCellL29 — tentative profit (line 7 − line 28).
line31: MoneyCellL31 — net profit → Schedule 1 L3 and Schedule SE L2.
Implementations§
Source§impl ScheduleCMap
impl ScheduleCMap
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 ScheduleCMap
impl Clone for ScheduleCMap
Source§fn clone(&self) -> ScheduleCMap
fn clone(&self) -> ScheduleCMap
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more