
New mappings must be placed in the `csv2ofx/mappings` folder. If you would like to import csv files with field names different from the default, you can modify the mapping file or create your own. *specify date range from one year ago to yesterday with qif output*Ĭsv2ofx -s '-1 year' -e yesterday -q file.csv d, -debug display the options and arguments passed to the parser o, -overwrite overwrite destination file if it exists q, -qif enables 'QIF' output instead of 'OFX' h, -help show this help message and exitĭefault account type 'CHECKING' for OFX and 'Bank' for QIF.įield used to combine transactions within a split for double entry statementsįield used for the split account for single entry statements Source the source csv file (defaults to stdin)ĭest the output file (defaults to stdout) * () (MacOS X comes with python preinstalled)Ĭsv2ofx is intended to be used either directly from Python or from the command line.įrom _future_ import absolute_import, print_functionįrom tabutils.io import read_csv, IterStringIOįrom import mappingĬontent = it.chain()ĭescription: csv2ofx converts a csv file to ofx and qif csv2ofx has been tested on the following configuration:Ĭsv2ofx requires the following programs in order to run properly: csv2ofx has built in support for importing csv files from mint, yoodle, and xero. () is a (#library_example) and (#cli_examples) that converts CSV files to OFX and QIF files for importing into GnuCash or similar financial accounting programs.
