stereolith / fints-to-ynab

Import transactions from FinTS-capable banks to YNAB
19 stars 4 forks source link
fints ynab

FinTS YNAB Importer

This Python script imports transactions from banks that support the German FinTS Banking API.

The last 10 days of transactions are imported. It's safe to run this script periodically as duplicates (already imported transactions) are filtered out.

Settings

Connection details need to be set up in a settings.json file in the project folder, see an example at settings.sample.json.

general options

"fints" bank accounts

Multiple bank accounts can be setup in the array "fints".

"ynab"

Install

Run

Run the script with: python3 fints_to_ynab.py

Crontab

This script can be run periodically with cron. This example crontab entry runs the script every 3 hours and writes STDOUT to a logfile (adjust the path to the cloned repository and the python version): 0 */3 * * * cd /path/to/fints-to-ynab/ && venv/bin/python3.6 fints_to_ynab.py >> import.log