-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got wrong value for entry_date #77
Comments
Sorry for the late response. Can you enable debug logging?
Feel free to send me the logs privately. |
Any idea how I can call the get_transactions function to only get the wrong transaction? Don't want to send you all of my transactions :) 20 start = arrow.get("3.1.2019", "D.M.YYYY")
21 end = arrow.get("5.1.2019", "D.M.YYYY")
22 accounts = fints.get_sepa_accounts()
23 for account in accounts:
24 #transactions = fints.get_transactions(account, start_date= start.datetime, end_date=end.datetime)
25 #transactions = fints.get_transactions(account, start_date=arrow.now().datetime)
26 transactions = fints.get_transactions(account)
27 for transaction in transactions:
28 if transaction.data['amount'].amount == -58:
29 print(transaction)
30 print(transaction.data['entry_date'])
31 print(transaction.data['date'])
32 # set_trace()
33 (venv) kmille@machtnix finfoo master % python test-bug.py ~/projects/finfoo
<Transaction[2019-01-04] <-58 EUR>>
2019-12-28
2019-01-04 The two tries with the comment are unfortunately not working |
|
Hi, sorry, the transaction objects won't help. If you enable debug logging, you should see the full FinTS trace. Somewhere in there, you should see a blob of MT940 data, where you can look for the wrong transaction. If it's already in there with the future date, it's an error with the bank. Otherwise, it's a parse error. |
sorry for the delay. I'm pretty busy atm. But I will send you the logs |
@kmille ING is the only bank i use with this "feature" |
No I think it was a special case. Don't know why. |
Double of #42? |
Hey,
I have two bank transfers which have as entry_date Date(2019, 12, 28) which lays way in the future. The rest of the transactions look fine. The two wrong transactions are from the same day/company/terminal.
Is this a bug of the fints library or the bank (ING)? I use the the newest version of you library:
(venv) kmille@linbox finfoo master % pip freeze | grep fints
fints==2.1.1
The code is like that:
As you can see:
'date': Date(2019, 1, 4)
'entry_date': Date(2019, 12, 28)
If you need any help please ask.
Thank you!
The text was updated successfully, but these errors were encountered: