btctax_forms/lib.rs
1//! **btctax-forms** — fill the OFFICIAL IRS fillable PDFs (Form 8949 + Schedule D) from btctax's
2//! already-computed tax data. Offline, deterministic, and **geometry-verified**: every fill is read
3//! back from its own serialized bytes and each value's widget `/Rect` is checked against a
4//! map-independent column/row band re-derived from the PDF itself. A mis-mapped cell fails closed.
5//!
6//! ## Sub-project 1 (TY2025)
7//! - **Form 8949** — Bitcoin under **Box I** (short-term) / **Box L** (long-term), the 1099-DA
8//! revision (NOT Box C/F, which read "other than digital asset transactions"). 11 rows per part
9//! per page.
10//! - **Schedule D** — lines 3 & 7 (ST), 10 & 15 (LT), 16 (total), QOF = No. Lines 17-22 are scoped
11//! out (the caller prints a notice).
12//! - These are **static XFA-hybrid** PDFs: the fill removes the `/AcroForm` `/XFA` layer (else
13//! Acrobat shows blank), sets `/NeedAppearances`, and pins determinism (drops `/Info` dates + the
14//! trailer `/ID`).
15//!
16//! The tax data is REUSED verbatim from the projection (`btctax_core::form_8949` /
17//! `btctax_core::schedule_d`) — this crate never recomputes gains.
18
19mod cells;
20mod error;
21mod fill8949;
22mod fill8949_full;
23mod form1040;
24mod form1040_full;
25mod form8275;
26mod form8283;
27mod form8959;
28mod form8960;
29mod form8995;
30mod map;
31mod overflow;
32mod packet;
33mod pdf;
34mod schedule23;
35mod schedule_a;
36mod schedule_b;
37mod schedule_c;
38mod schedule_d;
39mod schedule_d_full;
40mod schedule_se;
41mod schedule_se_full;
42mod transcribe;
43mod verify;
44mod watermark;
45mod wrap;
46
47pub use error::FormsError;
48pub use form1040::{Form1040Fill, Form1040Inputs};
49pub use form8275::PartIiCapacity;
50pub use map::{
51 Form1040Map, Form8275Map, Form8283Map, Form8949Map, Form8959Map, Form8960Map, Form8995Map,
52 Schedule1Map, Schedule2Map, Schedule3Map, ScheduleAMap, ScheduleBMap, ScheduleCMap,
53 ScheduleDMap, ScheduleSeMap,
54};
55pub use schedule_se::SE_FLOOR;
56pub use wrap::PartIiOverflow;
57
58use btctax_core::conventions::{TaxDate, Usd};
59use btctax_core::{Form8949Row, ScheduleDTotals};
60use time::macros::format_description;
61
62/// The tax years this build bundles forms + maps for. Each fill dispatches to the year's committed
63/// map + bundled PDF via the `Map::for_year` constructors; an unlisted year fails closed with
64/// [`FormsError::UnsupportedYear`].
65pub const SUPPORTED_YEARS: &[i32] = &[2017, 2024, 2025];
66
67/// Format a date as **MM/DD/YYYY** — Form 8949's native date format for columns (b)/(c).
68pub(crate) fn fmt_date(d: TaxDate) -> Result<String, FormsError> {
69 let fmt = format_description!("[month]/[day]/[year]");
70 d.format(&fmt)
71 .map_err(|e| FormsError::Structure(format!("date format: {e}")))
72}
73
74/// Format money exactly as the `form8949.csv` / `schedule_d.csv` do — the raw `Decimal` Display
75/// (native scale, no `$`, no thousands separators). Keeping this identical to the CSV is what lets
76/// `schedule_d_totals_match_form8949_and_csv` cross-check the three artifacts.
77pub(crate) fn fmt_money(d: Usd) -> String {
78 d.to_string()
79}
80
81/// Fill **Form 8949** (Part I + Part II) for `year` from the projection rows and return the PDF
82/// bytes. The box is year-aware: Bitcoin is filed under the digital-asset Box I/L from TY2025, and
83/// the securities Box C/F on the pre-2025 revisions. Parts that overflow the revision's grid (11 rows
84/// per part on the 2025 form, 14 on 2024/2017) paginate: ⌈rows/grid⌉ page copies per part, each with
85/// its own totals; the copies are merged with per-copy field renaming so no two share a value. Every
86/// copy is geometry-verified before merge.
87pub fn fill_form_8949(rows: &[Form8949Row], year: i32) -> Result<Vec<u8>, FormsError> {
88 let map = Form8949Map::for_year(year)?;
89 let cap = map.rows_per_page;
90 let (st, lt) = fill8949::split_parts(rows);
91 let n_pages = div_ceil(st.len(), cap).max(div_ceil(lt.len(), cap)).max(1);
92
93 if n_pages == 1 {
94 let short = fill8949::part_data(&st)?;
95 let long = fill8949::part_data(<)?;
96 return fill8949::fill_8949_parts(&short, &long, &map);
97 }
98
99 let mut copies = Vec::with_capacity(n_pages);
100 for k in 0..n_pages {
101 let st_chunk: Vec<&Form8949Row> = st.iter().skip(k * cap).take(cap).copied().collect();
102 let lt_chunk: Vec<&Form8949Row> = lt.iter().skip(k * cap).take(cap).copied().collect();
103 let short = fill8949::part_data(&st_chunk)?;
104 let long = fill8949::part_data(<_chunk)?;
105 // Each copy is filled on ORIGINAL names and geometry-verified here (fails closed).
106 copies.push(fill8949::fill_8949_parts(&short, &long, &map)?);
107 }
108 overflow::merge_copies(&copies)
109}
110
111fn div_ceil(n: usize, d: usize) -> usize {
112 n.div_ceil(d)
113}
114
115/// Stamp a diagonal `DRAFT — ESTIMATE, NOT FOR FILING` watermark on every page of a filled form.
116/// Applied by the CLI when the ledger is pseudo-reconciled (an estimate). The overlay carries its own
117/// embedded standard font resource, orthogonal to `/NeedAppearances`.
118pub fn stamp_draft_watermark(pdf_bytes: &[u8]) -> Result<Vec<u8>, FormsError> {
119 watermark::stamp_draft(pdf_bytes)
120}
121
122/// Fill **Schedule D** for `year` from the part totals and return the PDF bytes.
123pub fn fill_schedule_d(totals: &ScheduleDTotals, year: i32) -> Result<Vec<u8>, FormsError> {
124 let map = ScheduleDMap::for_year(year)?;
125 schedule_d::fill_schedule_d_totals(totals, &map)
126}
127
128/// Fill **Schedule SE** (Form 1040) for `year` from the computed §1401 `SeTaxResult`, the filer's
129/// Form W-2 Social Security wages (line 8a), and the year's Social Security wage base (line 7).
130/// Returns `Ok(None)` when net SE earnings are **below the $400 floor** (no SE tax owed — the form is
131/// not written). Line 12 = SS + regular Medicare only (the 0.9% Additional Medicare Tax is a Form 8959
132/// item, not on Schedule SE); when `se.addl > 0` the caller prints a Form 8959 advisory.
133pub fn fill_schedule_se(
134 se: &btctax_core::SeTaxResult,
135 w2_ss_wages: Usd,
136 ss_wage_base: Usd,
137 year: i32,
138) -> Result<Option<Vec<u8>>, FormsError> {
139 let map = ScheduleSeMap::for_year(year)?;
140 schedule_se::fill_schedule_se_with_map(se, w2_ss_wages, ss_wage_base, &map)
141}
142
143/// Fill **Form 8959** (Additional Medicare Tax) for `year` from the core-derived line chain
144/// (`btctax_core::tax::other_taxes::form_8959_lines`). Returns `Ok(None)` when the form is not
145/// required — line 18 (the tax) AND line 24 (the withholding reconciliation) are both zero.
146///
147/// Line 24 is not redundant with line 18: an employer withholds the 0.9% on ITS OWN wages over
148/// $200,000 with no knowledge of a spouse or a second job, so a taxpayer who owes NO Additional
149/// Medicare Tax can still have had some withheld — and that excess is a credit on 1040 line 25c.
150/// Skipping the form on line 18 alone would silently forfeit it.
151pub fn fill_form_8959(
152 lines: &btctax_core::tax::other_taxes::Form8959Lines,
153 header: &btctax_core::tax::packet::ReturnHeader,
154 year: i32,
155) -> Result<Option<Vec<u8>>, FormsError> {
156 let map = Form8959Map::for_year(year)?;
157 form8959::fill_form_8959_with_map(lines, header, &map)
158}
159
160/// Fill **Form 8960** (Net Investment Income Tax, §1411) for `year` from the core-derived line chain
161/// (`btctax_core::tax::other_taxes::form_8960_lines`, which returns `None` when no NIIT is owed —
162/// there is then no form to file).
163pub fn fill_form_8960(
164 lines: &btctax_core::tax::other_taxes::Form8960Lines,
165 header: &btctax_core::tax::packet::ReturnHeader,
166 year: i32,
167) -> Result<Vec<u8>, FormsError> {
168 let map = Form8960Map::for_year(year)?;
169 form8960::fill_form_8960_with_map(lines, header, &map)
170}
171
172/// Fill **Form 8995** (QBI deduction, simplified) for `year` from the core-derived line chain
173/// (`btctax_core::tax::qbi::form_8995_lines`, which returns `None` when there is no QBI).
174///
175/// FAILS CLOSED if a parenthesized cell (line 7/16/17) carries a negative value: the form pre-prints
176/// the parentheses, so a negative would render as a POSITIVE number on the filed return.
177pub fn fill_form_8995(
178 lines: &btctax_core::tax::qbi::Form8995Lines,
179 header: &btctax_core::tax::packet::ReturnHeader,
180 year: i32,
181) -> Result<Vec<u8>, FormsError> {
182 let map = Form8995Map::for_year(year)?;
183 form8995::fill_form_8995_with_map(lines, header, &map)
184}
185
186/// Fill **Schedule 1** (Additional Income and Adjustments to Income) for `year` from the core-derived
187/// printed chain (`btctax_core::tax::printed::schedule_1_lines`, which returns `None` when there is
188/// neither additional income nor an adjustment — the schedule is then not filed).
189pub fn fill_schedule_1(
190 lines: &btctax_core::tax::printed::Schedule1Lines,
191 header: &btctax_core::tax::packet::ReturnHeader,
192 year: i32,
193) -> Result<Vec<u8>, FormsError> {
194 let map = Schedule1Map::for_year(year)?;
195 schedule23::fill_schedule_1_with_map(lines, header, &map)
196}
197
198/// Fill **Schedule 2** (Additional Taxes) for `year` from the core-derived printed chain
199/// (`btctax_core::tax::printed::schedule_2_lines`, which returns `None` when there are no other
200/// taxes to report — the schedule is then not filed).
201pub fn fill_schedule_2(
202 lines: &btctax_core::tax::printed::Schedule2Lines,
203 header: &btctax_core::tax::packet::ReturnHeader,
204 year: i32,
205) -> Result<Vec<u8>, FormsError> {
206 let map = Schedule2Map::for_year(year)?;
207 schedule23::fill_schedule_2_with_map(lines, header, &map)
208}
209
210/// Fill **Schedule 3** (Additional Credits and Payments) for `year` from the core-derived printed
211/// chain (`btctax_core::tax::printed::schedule_3_lines`, which returns `None` when there is neither a
212/// foreign tax credit nor an excess-Social-Security credit).
213pub fn fill_schedule_3(
214 lines: &btctax_core::tax::printed::Schedule3Lines,
215 header: &btctax_core::tax::packet::ReturnHeader,
216 year: i32,
217) -> Result<Vec<u8>, FormsError> {
218 let map = Schedule3Map::for_year(year)?;
219 schedule23::fill_schedule_3_with_map(lines, header, &map)
220}
221
222/// Fill **Schedule A** (Itemized Deductions) for `year` from the core-derived printed chain
223/// (`btctax_core::tax::printed::schedule_a_lines`, which returns `None` unless the return actually
224/// itemizes — Schedule A is computed even when the standard deduction wins, but only FILED when it is
225/// the deduction claimed).
226pub fn fill_schedule_a(
227 lines: &btctax_core::tax::printed::ScheduleALines,
228 header: &btctax_core::tax::packet::ReturnHeader,
229 year: i32,
230) -> Result<Vec<u8>, FormsError> {
231 let map = ScheduleAMap::for_year(year)?;
232 schedule_a::fill_schedule_a_with_map(lines, header, &map)
233}
234
235/// Fill the **FULL-RETURN Form 1040** for `year` from the core-derived printed chain
236/// (`btctax_core::tax::printed::form_1040_lines`) — every line, not just the capital-gain cluster.
237///
238/// This is NOT [`fill_form_1040_capgains`], which writes only line 7 + the Digital-Asset question for
239/// the crypto-slice export. That one stays: for a year with no `ReturnInputs` it is what the filer
240/// wants.
241pub fn fill_form_1040_full(
242 lines: &btctax_core::tax::printed::Form1040Lines,
243 header: &btctax_core::tax::packet::ReturnHeader,
244 status: btctax_core::tax::types::FilingStatus,
245 year: i32,
246) -> Result<Vec<u8>, FormsError> {
247 let map = Form1040Map::for_year(year)?;
248 form1040_full::fill_form_1040_full_with_map(lines, header, status, &map)
249}
250
251/// Fill the **FULL-RETURN Schedule D** for `year` from the core-derived printed chain
252/// (`btctax_core::tax::printed::schedule_d_lines`), including Part III's SPEC §7.2 routing.
253///
254/// This is NOT [`fill_schedule_d`], which is the **crypto-slice** fill: that one writes only lines
255/// 3/7/10/15/16 from the ledger totals, with no line 13 (1099-DIV box-2a capital-gain distributions)
256/// and no lines 6/14 (capital-loss carryovers). For a crypto-only year that is complete and correct.
257/// For a full return it would be a complete-LOOKING form with income missing.
258///
259/// FAILS CLOSED if a parenthesized cell (line 6/14/21) carries a negative: the form pre-prints the
260/// parentheses, so a negative renders as a POSITIVE number — turning a capital loss into a gain.
261pub fn fill_schedule_d_full(
262 lines: &btctax_core::tax::printed::ScheduleDLines,
263 header: &btctax_core::tax::packet::ReturnHeader,
264 year: i32,
265) -> Result<Vec<u8>, FormsError> {
266 let map = ScheduleDMap::for_year(year)?;
267 schedule_d_full::fill_schedule_d_full_with_map(lines, header, &map)
268}
269
270/// Fill **Form 8275** (Disclosure Statement) for `year` from the T13 printed disclosure
271/// (`btctax_core::tax::printed::printed_8275`) + the FILER's identity. `Ok(None)` when there is no
272/// Part I content to disclose.
273///
274/// Year coverage is MANDATORY, not conditional: Form 8275 is REVISION-versioned, not
275/// tax-year-versioned, so the single bundled Rev. 10-2024 asset is aliased to EVERY `SUPPORTED_YEAR`
276/// (2017/2024/2025) — a promoted disposal filed in any supported year gets a real fillable
277/// disclosure, never a permanent refusal for want of a "2025 revision" that does not exist.
278pub fn fill_form_8275(
279 printed: &btctax_core::tax::printed::Printed8275,
280 header: &btctax_core::tax::packet::ReturnHeader,
281 year: i32,
282) -> Result<Option<Vec<u8>>, FormsError> {
283 form8275::fill_form_8275(printed, header, year)
284}
285
286/// Fill **Form 8275** for `year` on the **crypto-slice** `export-irs-pdf` path (Task 16) — NO filer
287/// identity (mirrors [`fill_form_8283`], whose crypto-slice fill also writes no identity block): the
288/// disclosure still rides the export even when there is no `ReturnInputs` on file. `Ok(None)` when
289/// there is no Part I content to disclose.
290pub fn fill_form_8275_slice(
291 printed: &btctax_core::tax::printed::Printed8275,
292 year: i32,
293) -> Result<Option<Vec<u8>>, FormsError> {
294 form8275::fill_form_8275_slice(printed, year)
295}
296
297/// Whether a Form 8275 Part II `narrative` fits `year`'s bundled revision, WITHOUT filling anything —
298/// runs the identical wrap the real fill does, so a caller can pre-flight BEFORE writing any packet
299/// file (T-f8275-part-ii-overflow round 2 finding 2). See [`form8275::part_ii_capacity_check`]'s doc
300/// comment for the full rationale.
301pub fn part_ii_capacity_check(narrative: &str, year: i32) -> Result<PartIiCapacity, FormsError> {
302 form8275::part_ii_capacity_check(narrative, year)
303}
304
305/// Fill the **full-return Form 8283** for `year` — whole-dollar rows plus the FILER's identity block
306/// (which the crypto slice never writes). `Ok(None)` when there are no donation rows.
307pub fn fill_form_8283_full(
308 printed: &btctax_core::tax::printed::Printed8283Rows,
309 header: &btctax_core::tax::packet::ReturnHeader,
310 year: i32,
311) -> Result<Option<Vec<u8>>, FormsError> {
312 let map = Form8283Map::for_year(year)?;
313 form8283::fill_form_8283_full(printed, header, &map)
314}
315
316/// Fill the **full-return Form 8949** for `year` from the core-derived printed chain
317/// (`btctax_core::tax::printed::form_8949_printed`). Whole dollars, and column (h) is DERIVED from the
318/// printed (d) − (e). Schedule D lines 3/10 ARE this form's printed column totals.
319pub fn fill_8949_full(
320 printed: &btctax_core::tax::printed::Printed8949,
321 header: &btctax_core::tax::packet::ReturnHeader,
322 year: i32,
323) -> Result<Vec<u8>, FormsError> {
324 let map = Form8949Map::for_year(year)?;
325 fill8949_full::fill_8949_full_with_map(printed, header, &map)
326}
327
328/// Fill the **full-return Schedule SE** for `year` from the core-derived printed chain
329/// (`btctax_core::tax::printed::schedule_se_lines`). Whole dollars — the crypto slice's
330/// `fill_schedule_se` keeps its exact-cents rendering and is untouched.
331pub fn fill_schedule_se_full(
332 lines: &btctax_core::tax::printed::ScheduleSeLines,
333 header: &btctax_core::tax::packet::ReturnHeader,
334 year: i32,
335) -> Result<Vec<u8>, FormsError> {
336 let map = ScheduleSeMap::for_year(year)?;
337 schedule_se_full::fill_schedule_se_full_with_map(lines, header, &map)
338}
339
340/// Fill **Schedule B** (Interest and Ordinary Dividends) for `year` from the core-derived printed
341/// chain (`btctax_core::tax::printed::schedule_b_lines`, which returns `None` when Schedule B is not
342/// required — interest and dividends both at or under $1,500 and no declared foreign account).
343///
344/// REFUSES when there are more payers than the form has rows (14 interest / 15 dividend). Truncating
345/// the list would leave a form whose printed rows do not add up to its own total.
346pub fn fill_schedule_b(
347 lines: &btctax_core::tax::printed::ScheduleBLines,
348 header: &btctax_core::tax::packet::ReturnHeader,
349 year: i32,
350) -> Result<Vec<u8>, FormsError> {
351 let map = ScheduleBMap::for_year(year)?;
352 schedule_b::fill_schedule_b_with_map(lines, header, &map)
353}
354
355/// Fill **Schedule C** (Profit or Loss From Business) for `year` from the core-derived printed chain
356/// (`btctax_core::tax::printed::schedule_c_lines`, which returns `None` when there is no crypto trade
357/// or business).
358pub fn fill_schedule_c(
359 lines: &btctax_core::tax::printed::ScheduleCLines,
360 header: &btctax_core::tax::packet::ReturnHeader,
361 year: i32,
362) -> Result<Vec<u8>, FormsError> {
363 let map = ScheduleCMap::for_year(year)?;
364 schedule_c::fill_schedule_c_with_map(lines, header, &map)
365}
366
367/// Fill **Form 8283** (Noncash Charitable Contributions, Rev. 12-2025) for `year` from the projected
368/// donation rows + `DonationDetails`. Returns `Ok(None)` when there are no donations in the year.
369/// Fills the donee/appraiser IDENTITY + per-row property data (and, for Section B, checks the "k
370/// Digital assets" property-type box); leaves BLANK every OTHER party's declaration/signature (a
371/// LOUD partial-scope notice is the caller's). More rows than a section holds (4 in Section A / 3 in
372/// Section B) overflow onto additional form copies via [`overflow::merge_copies`].
373pub fn fill_form_8283(
374 rows: &[btctax_core::Form8283Row],
375 year: i32,
376) -> Result<Option<Vec<u8>>, FormsError> {
377 let map = Form8283Map::for_year(year)?;
378 form8283::fill_form_8283(rows, &map)
379}
380
381/// Fill the capital-gains cells of **Form 1040** for `year`: line 7a (only when Schedule D is ACTIVE
382/// and line 16 ≥ 0; active-and-zero → "-0-") and the Digital-Asset Yes/No question (YES iff there is
383/// btctax-evidenced qualifying activity). Returns `Ok(None)` — **skip the whole 1040** — when there is
384/// no reportable activity (the DA answer would be blank and there is no 7a value). 7b checkboxes are
385/// left untouched; a NET LOSS leaves 7a blank (the §1211 line-21 cap is the filer's). A partial-scope
386/// notice enumerating exactly what was filled is the caller's.
387pub fn fill_form_1040_capgains(
388 inputs: &Form1040Inputs,
389 year: i32,
390) -> Result<Option<Form1040Fill>, FormsError> {
391 let map = Form1040Map::for_year(year)?;
392 form1040::fill_form_1040_capgains(inputs, &map)
393}
394
395/// **[I5]** How many rows might belong on a SEPARATE broker-reported Form 8949 — i.e. disposals on an
396/// exchange that may have issued broker basis reporting. The separate boxes and this export's filed
397/// boxes are year-aware (see `btctax-cli`'s `broker_reporting_advisory`): a 1099-B / Box A/B/D/E, filed
398/// under C/F pre-TY2025; a 1099-DA / Box G/H/J/K, filed under I/L from TY2025. A non-zero count is a
399/// loud advisory, not a refusal.
400pub fn rows_possibly_broker_reported(rows: &[Form8949Row]) -> usize {
401 rows.iter().filter(|r| r.box_needs_review).count()
402}
403
404// ── Internals exposed for the KATs (fault injection needs a corruptible map + the verifier). ──────
405#[doc(hidden)]
406pub use packet::{fill_full_return, NamedForm};
407
408pub mod testonly {
409 pub use crate::cells::fmt_money_pair;
410 pub use crate::fill8949::{fill_8949_parts, part_data, pdf_has_xfa, split_parts, PartData};
411 pub use crate::fill8949_full::fill_8949_full_with_map;
412 pub use crate::form1040::{fill_form_1040_capgains as fill_1040_with_map, Form1040Fill};
413 pub use crate::form1040_full::fill_form_1040_full_with_map;
414 pub use crate::form8275::fill_form_8275_with_map as fill_8275_with_map;
415 pub use crate::form8283::fill_form_8283 as fill_8283_with_map;
416 pub use crate::form8959::fill_form_8959_with_map;
417 pub use crate::form8960::fill_form_8960_with_map;
418 pub use crate::form8995::fill_form_8995_with_map;
419 // The committed map TOML, for the line-keyed inverse transcriber (`extract_lines`). Downstream
420 // read-back tests need the map itself, not just its parsed struct.
421 pub use crate::map::{
422 AmountCols, Form1040Map, Form8275Map, Form8275Row, Form8283Map, Form8949Map, Form8959Map,
423 Form8960Map, Form8995Map, MoneyCell, MoneyPair, PartMap, Schedule1Map, Schedule2Map,
424 Schedule3Map, ScheduleAMap, ScheduleBMap, ScheduleCMap, ScheduleDMap, ScheduleSeMap,
425 };
426 pub use crate::map::{
427 F1040_MAP_2024, F8275_MAP_2024, F8283_MAP_2024, F8949_MAP_2024, F8959_MAP_2024,
428 F8960_MAP_2024, F8995_MAP_2024, SCHEDULE_1_MAP_2024, SCHEDULE_2_MAP_2024,
429 SCHEDULE_3_MAP_2024, SCHEDULE_A_MAP_2024, SCHEDULE_B_MAP_2024, SCHEDULE_C_MAP_2024,
430 SCHEDULE_D_MAP_2024, SCHEDULE_SE_MAP_2024,
431 };
432 pub use crate::pdf::{
433 button_on_states, checkbox_on, collect_fields, index, load, text_value, Field,
434 F1040_PDF_2017, F1040_PDF_2024, F1040_PDF_2025, F8275_PDF_2024, F8283_PDF_2017,
435 F8283_PDF_2024, F8283_PDF_2025, F8949_PDF_2017, F8949_PDF_2024, F8949_PDF_2025,
436 F8959_PDF_2024, SCHEDULE_D_PDF_2017, SCHEDULE_D_PDF_2024, SCHEDULE_D_PDF_2025,
437 SCHEDULE_SE_PDF_2017, SCHEDULE_SE_PDF_2024, SCHEDULE_SE_PDF_2025,
438 };
439 pub use crate::schedule23::{
440 fill_schedule_1_with_map, fill_schedule_2_with_map, fill_schedule_3_with_map,
441 };
442 pub use crate::schedule_a::fill_schedule_a_with_map;
443 pub use crate::schedule_b::fill_schedule_b_with_map;
444 pub use crate::schedule_c::fill_schedule_c_with_map;
445 pub use crate::schedule_d::fill_schedule_d_totals;
446 pub use crate::schedule_d_full::fill_schedule_d_full_with_map;
447 pub use crate::schedule_se::fill_schedule_se_with_map;
448 pub use crate::schedule_se_full::fill_schedule_se_full_with_map;
449 pub use crate::transcribe::extract_lines;
450 pub use crate::verify::{
451 no_unmapped_filled, topmost_yes_no_pair, verify_8949, verify_flat, FlatPlacement, Geo,
452 Placement,
453 };
454}