This script converts CSV account reports from Deutsche Kreditbank (DKB) to a CSV format that can be imported by the personal finance software Homebank.
You can find further instructions on my blog.
The script can either convert a DKB Cash account report or a Visa account report CSV file.
To convert a DKB Cash CSV file simply run:
./dkb2homebank.py --cash yourCashReportFile.csv
To convert a Visa CSV file run:
./dkb2homebank.py --visa yourVisaReportFile.csv
I have tested the script with Python versions 2.7.9 and 3.4.3 and Homebank 5.0.0 on Arch Linux. I expect it to run with similar versions on other operating systems as well.
I have included a (admittedly very small) set of tests to help a little bit during development. These tests use Python's unittest module and can be executed using:
python dkb2homebankTest.py
You can also test the script manually by using the provided testfiles:
./dkb2homebank.py --cash testfiles/cash.csv
or
./dkb2homebank.py --visa testfiles/visa.csv