stereolith / fints-to-ynab Goto Github PK
View Code? Open in Web Editor NEWImport transactions from FinTS-capable banks to YNAB
Import transactions from FinTS-capable banks to YNAB
When I want to import transactions from the comdirect bank I get the following stacktrace.
I try to set it up on my synology DSM with pyhton 3.8.1.
Traceback (most recent call last):
File "fints_to_ynab.py", line 56, in
transactions = fints_importer.get_transactions(bank_config)
File "/volume1/homes/chefkoch/FinTS YNAB Importer/fints_importer.py", line 46, in get_transactions
return list(map(lambda t: transform_fints_transaction(t.data, parse_paypal=bank_config.parse_paypal), transactions))
File "/volume1/homes/chefkoch/FinTS YNAB Importer/fints_importer.py", line 46, in
return list(map(lambda t: transform_fints_transaction(t.data, parse_paypal=bank_config.parse_paypal), transactions))
File "/volume1/homes/chefkoch/FinTS YNAB Importer/fints_importer.py", line 19, in transform_fints_transaction
cash_withdrawl= True if "BARGELD" in transaction['posting_text'] else False
TypeError: argument of type 'NoneType' is not iterable
Some TAN methods, like photoTAN, are not currently supported by the script.
I do not need a TAN with my Sparkasse account but Comdirect asked me for a photoTAN.
ToDo:
When I try to run that via cronjob it gives me an error "settings.json not found"
Also when I try to run the script via "python3 /path/to/script/fints_to_ynab.py" I'm getting this error.
print(config_file_path) gives me just "settings.json" - so the file path seems to be missing.
Any idea how to fix this?
Besides that your script is working like a charm! Thank you!
I have two ynab budgets that I need to import data into. For that, it would be amazing if I could set the settings.json
location via a command line switch.
Currently my cron job renames the file, runs the python script and renames it back again. Which works, but is not 'nice' ๐
A setting to ignore the memo-field would be perfect.
After importing, the memo field is always used with more or less usefull information.
I'd like to have it empty and fill it by myself if needed.
Current working workaround for me:
In file ynab.py in line 18:
old: memo = transaction.memo[:199] if transaction.memo else None,
new: memo = None,
It would be nice to be able to import credit card transactions. This is already possible for credit cards that have their own IBAN but not for all the others (like comdirect Visa). I've seen there is a get_credit_card_transactions method in the fints.client (altough it is marked #fixme), so in theory it could be possible.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.