Package: ing-ynab
Import your ING Germany bank statements via FinTS into YNAB.SetupBefore setting this up, pleaseregister your FinTS product– it's free and takes only a few days.If you don't do this, the application will fallback to the product id from thepython-fintslibrary, which should only
be used for evaluation.Since this application will need your ING pin and YNAB access token it's
recommended to run this in your local network (could be a Raspberry Pi, it's
pretty light).There are various ways to start the application:LocalThis can be run on any environment with Python 3.7 or higher.$python3-mpipinstalling-ynab
$touch.env# see configuration section$ing-ynabDocker$cp.env.example.env# and customize fields$dockerrun--env-file.envdocker.pkg.github.com/bahlo/ing-ynab/ing-ynab:2.0.2docker-composeversion: "2.0"

services:
  ing-ynab:
    image: docker.pkg.github.com/bahlo/ing-ynab/ing-ynab:2.0.2
    environment:
      # Environment variables, see the configuration sectionConfigurationThe configuration is done via environment variables:SLEEP_INTERVAL_SECONDS: Interval in seconds until the next check happens
(defaults to 5 minutes).FINTS_PRODUCT_ID: Your FinTS product ID (deafults to python-fints one).ING_LOGIN: The login id of your ING account.ING_IBAN: The IBAN of the account you want to add.ING_PIN: The pin of your ING account (leave empty to be prompted).YNAB_ACCESS_TOKEN: Go to your budget settings to create one (leave empty
to be prompted).YNAB_BUDGET_ID: On the webpage of your budget the first UUID in the path (https://app.youneedabudget.com/<BUDGET_UUID>/budget/202109).YNAB_ACCOUNT_ID: On the webpage of the bank account the last UUID in the path (https://app.youneedabudget.com/<BUDGET_UUID>/accounts/<BANK_ACCOUNT_UUID>).YNAB_FLAG_COLOR: If set, use that color for the imported transactions.DEBUG: Set to1to enable debug output and print transactions instead of
importing them.SecurityYou can pass in your bank pin and YNAB access token via environment variables,
if you like. This has the drawback that anyone with system access can read
and potentially use them so it's discouraged (but supported).The alternative is not specifyingYNAB_ACCESS_TOKENand/orING_PIN, which
will cause the application to prompt you on startup. This has the drawback that
you need to input them everytime the application restarts.For docker you'll need to pass the-itflags to be able to input these
variables. For docker-compose, add these fields:tty: true
  stdin_open: trueAfter starting withdocker-compose up -d, rundocker attach $container_idto attach to the container. Note that the prompt for the pin might be hidden,
so you have to enter the pin directly.FAQWhy is this ING-only? Isn't FinTS a general protocol?It is, but the implementations differ a lot. This actually started out as a
general-purpose library but I can only really test ING and I rather have a
specialised library than a multipurpose one where I can't guarantee
functionality.Can you support my bank?Thepython-fintslibrary supports
a lot of banks, so probably. But we need to work together as I can't test it.
Feel free to get in touch:hallo@arne.meHow do I register the FinTS product?Go to theFinTS product registrationClickRegistrierungsprozessto get to a PDF formFill in your data. If you don't know what else to put, here are some suggestions:Firmenbezeichnung: Your nameProduktname:ing-ynabProduktkategorie:Web-ServerSend the form to the email adress on the last pageAfter a week or two you will get your product id via email.