Hello,
I came across this repo when trying to look for a unified way to pull transactions from various bank accounts into my beancount ledger and was very impressed by this. It looks like it will save me a lot of work!
Initially, I encountered some errors when trying to extract from gocardless using the nordigen Importer.
I first had to modify the base url to "https://bankaccountdata.gocardless.com/".
|
"https://ob.nordigen.com/api/v2/token/new/", |
|
f"https://ob.nordigen.com/api/v2/accounts/{accountId}/transactions/", |
After that, I was able to authenticate and pull my transactions using the API successfully but encountered an issue with certain foreign transactions, e.g
"currencyExchange": {
"sourceCurrency": "GBP",
"exchangeRate": "2.0487",
"targetCurrency": "AUD"
},
The importer expects this to contain an "instructedAmount" key, so I modified the following line to handle cases where this does not appear
|
if "currencyExchange" in trx: |
if "currencyExchange" in trx and "instructedAmount" in trx
Finally, I noticed when debugging this that I was hitting some rate limits - it seems like it's only possible to query this API 4 times per account per day. Normally, I don't expect this to be an issue but I wonder if it's worth e.g. storing the transaction JSON to disk with a timestamp and loading from there.
Hello,
I came across this repo when trying to look for a unified way to pull transactions from various bank accounts into my beancount ledger and was very impressed by this. It looks like it will save me a lot of work!
Initially, I encountered some errors when trying to extract from gocardless using the nordigen Importer.
I first had to modify the base url to "https://bankaccountdata.gocardless.com/".
beancounttools/src/tariochbctools/importers/nordigen/importer.py
Line 31 in fae22cb
beancounttools/src/tariochbctools/importers/nordigen/importer.py
Line 50 in fae22cb
After that, I was able to authenticate and pull my transactions using the API successfully but encountered an issue with certain foreign transactions, e.g
The importer expects this to contain an "instructedAmount" key, so I modified the following line to handle cases where this does not appear
beancounttools/src/tariochbctools/importers/nordigen/importer.py
Line 73 in fae22cb
Finally, I noticed when debugging this that I was hitting some rate limits - it seems like it's only possible to query this API 4 times per account per day. Normally, I don't expect this to be an issue but I wonder if it's worth e.g. storing the transaction JSON to disk with a timestamp and loading from there.