Skip to main content

export_snapshot

Function export_snapshot 

Source
pub fn export_snapshot(
    vault_path: &Path,
    pp: &Passphrase,
    out_dir: &Path,
    tax_year: Option<i32>,
) -> Result<PathBuf, CliError>
Expand description

FR10 / NFR2 exception: decrypted SQLite image (via the store) + the projected ledger as CSV. When tax_year is Some(y), the per-tax-year Form 8949 + Schedule D CSVs are also written, year-scoped to y (P2-B); when None, only the all-years CSVs are written.