itairaz1 / israeli-bank-firefly-importer-hass-addon

MIT License
1 stars 0 forks source link

can't import from Bank Leumi #4

Open yanivgot opened 2 months ago

yanivgot commented 2 months ago

i have one account in Leumi, the scraper manages to extract the information from the accounts but the information does not enter into FIREFLY

p.s the importer working great for credit cards!

[2024-06-24 23:40:08.716] INFO (110): Getting scrap data... [2024-06-24 23:40:08.730] DEBUG (110): Scrapping... options: { "companyId": "leumi", "startDate": "2024-06-17T20:38:00.746Z", "args": [], "combineInstallments": false, "showBrowser": false, "outputData": { "enableTransactionsFilterByDate": false }, "additionalTransactionInformation": true } [2024-06-24 23:40:47.494] DEBUG (110): Scrap result results: [ { "success": true, "accounts": [ { "accountNumber": "XXX-YYYYY_ZZ", "balance": VVV.TT, "txCount": 7 } ] } ] [2024-06-24 23:40:47.495] INFO (110): Getting or creating accounts... [2024-06-24 23:40:47.569] INFO (110): Manipulating... [2024-06-24 23:40:47.570] INFO (110): Getting firefly transactions to compare... since: "2024-06-23" [2024-06-24 23:40:47.612] DEBUG (110): Got transactions from firefly numberOfTransactionsFromFirefly: 0 since: "2024-06-23" [2024-06-24 23:40:47.612] INFO (110): Creating transactions to firefly... count: 0 toCreate: [] [2024-06-24 23:40:47.612] INFO (110): Updating transactions types to firefly... count: 0 toTypeUpdate: [] [2024-06-24 23:40:47.654] INFO (110): Updating last import... [2024-06-24 23:40:47.712] INFO (110): Done. [2024-06-24 23:40:47.712] INFO (110): Running with cron cron: "0 6 *"

any idea?

itairaz1 commented 2 months ago

@yanivgot thanks for reporting It is usually happened since the information already created in Firefly in previously run (can you please check that?) If not the case, I will add some debug logs to be able to debug the reason

yanivgot commented 2 months ago

@itairaz1 thank you for your response I was afraid like you that this was the case and that's why I made several attempts:

  1. Reinstalling FIREFLY with the bank account and credit cards - did not help
  2. Reinstalling FIREFLY only with the bank account - did not help
  3. Reinstalling FIREFLY and manually creating the bank account - did not help

Reinstall = clean DB

If you have any other ideas I'd love to try Thanks for the help!!! :)

yanivgot commented 1 month ago

@itairaz1 to check this problem i installed firefly with docker and did the scrapping with your docker image : https://github.com/itairaz1/israeli-bank-firefly-importer and i have the same problem - all credit cards working great and only with Leumi account - scrapping is "success" but does not creating transactions to firefly (not even creating the account)

any idea?