hledger-import
adds transactions from CSV or other files to a journal
TLDR
Import transactions
$ hledger import [file.csv]
Dry run import$ hledger import --dry-run [file.csv]
Import with rules$ hledger import --rules-file [bank.rules] [file.csv]
Import to specific file$ hledger import -f [ledger.journal] [file.csv]
SYNOPSIS
hledger import [options] files
DESCRIPTION
hledger import adds transactions from CSV or other files to a journal. It uses rules files to map CSV columns to journal fields.The command detects duplicates and only imports new transactions by default. Rules files define field mappings and transformations.
PARAMETERS
FILES
Files to import.--dry-run
Show what would be imported.--rules-file FILE
CSV rules file.-f, --file FILE
Target journal.--new
Import only new entries.--help
Display help information.
CAVEATS
Requires rules file for CSV format. May need manual review. Part of hledger suite.
HISTORY
Import is an hledger command for automating bank statement import into plain text journals.
SEE ALSO
hledger(1), hledger-print(1)
