Skip to content

Importing Data

Treeline supports CSV import (works with any bank) and automatic bank sync for supported institutions.

Most banks let you download transaction history as CSV files.

  1. Download a CSV from your bank’s website
  2. Drag the file onto Treeline, or click Import in the toolbar
  3. Select the target account (or create a new one)
  4. Verify the column mappings and click Import
Terminal window
tl import bank_export.csv --account "Checking"

Preview first with --dry-run, use --json for scripted workflows. See the full CLI reference for all flags.

Treeline auto-detects common column names like date, amount, description, debit, credit. If your CSV uses different names, you can map them manually in the desktop app or override them with CLI flags like --date-column, --amount-column, etc.

  • Split debit/credit columns: Toggle “Use debit/credit” if your bank exports separate columns instead of a single amount
  • Flip signs: Enable if charges show as positive (common with credit cards)
  • Number format: Switch between US (1,234.56) and EU (1.234,56) formatting

Save your settings as a profile (e.g., chase, amex) to reuse them for future imports to the same account.

Treeline automatically skips duplicate transactions when you re-import overlapping date ranges.

For automatic transaction syncing, see Bank Sync to set up SimpleFIN or Lunch Flow.

Tip: Set up bank sync first, then use CSV import for historical transactions from before your sync start date. There’s no deduplication between bank sync and CSV imports.

For cash transactions or one-offs, navigate to an account and click Add Transaction.

  • Query View - Analyze your imported data with SQL
  • Auto-Tag Rules - Set up rules to categorize transactions automatically
  • Bank Sync - Connect your bank for automatic sync