-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
First intermediate_opening_balance line missing #105
Comments
The file doesn't appear to have an The account identification data is across the entire file so that's in the |
but sometimes, it can not retrieve the account_identification in the entire file, all account_identification values in transactions are null. |
That is very odd, that should only happen if it either doesn't detect the field at all or if something is overwriting it. Do you have any (anonymised) files you can send to test? |
Hi, But yesterday, I read 7000 files and it didn't work very well. Just 30% of account identifications were detected. Finally, I needed to dev by myself to read the account identification. Thanks |
I've done a bit of research and as far as I can see it's properly parsing the account identifications without issues. But... the account identification is in the To illustrate: transactions = mt940.parse('test.mt940')
for transaction in transactions:
print(transactions.data['account_identification'], transaction) With the loglevel set to debug you can see what it is and is not parsing but that gets very verbose. But it does show the account_identification for me in these cases. Perhaps you can share some other testdata where it fails? |
Hi,
How can I get the first line on intermediate_opening_balance and account_identification ?
Here is the parsing result with this info missing :
Here is my file :
Thanks,
The text was updated successfully, but these errors were encountered: