-
Notifications
You must be signed in to change notification settings - Fork 15
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
Convert foreign currencies to ILS #22
Comments
@asfktz hmmm, this feels more like a bug in https://github.com/eshaham/israeli-bank-scrapers then a feature in this tool. {
...
originalAmount: double,
originalCurrency: string,
chargedAmount: double,
...
}
From what I see in the screenshot above, it seems like |
In Isracard, I noticed that transactions under For example, this 50$ payment to YNAB: So I believe it's not converted directly because I have to explicitly buy USD in my Edit: {
"specificDate": null,
"cardIndex": "0",
"dealsInbound": null,
"supplierId": null,
"supplierName": null,
"dealSumType": null,
"paymentSumSign": null,
"purchaseDate": null,
"fullPurchaseDate": null,
"moreInfo": null,
"horaatKeva": null,
"voucherNumber": "0016171",
"voucherNumberRatz": null,
"solek": null,
"purchaseDateOutbound": "18/01",
"fullPurchaseDateOutbound": "18/01/2018",
"currencyId": "USD",
"currentPaymentCurrency": "USD",
"city": "LEHI",
"supplierNameOutbound": "YOU NEED A BUDG",
"fullSupplierNameOutbound": "YOU NEED A BUDGET",
"paymentDate": "21/01",
"fullPaymentDate": "21/01/2018",
"isShowDealsOutbound": "_",
"adendum": null,
"voucherNumberRatzOutbound": "183141595",
"isShowLinkForSupplierDetails": null,
"dealSum": null,
"paymentSum": null,
"fullSupplierNameHeb": null,
"dealSumOutbound": "50.00",
"paymentSumOutbound": "50.00",
"isHoraatKeva": "false",
"stage": null,
"returnCode": null,
"message": null,
"returnMessage": null,
"displayProperties": null,
"tablePageNum": "0",
"isError": "false",
"isCaptcha": "false",
"isButton": "false",
"siteName": null,
"clientIpAddress": null
} |
@eshaham The referenced PR contains only changes that related to currency conversion. |
@asfktz ok, now I get it. As for your PR for exchanging rates, I'm going to need to think about that one. |
@asfktz you know what, I'm convinced |
Hi @eshaham!
A few weeks ago, while working with this lib to import my bank data to YNAB, I noticed that all the transactions that made with currencies other than ILS, are actually imported is if they were in ILS.
For example, this iTunes payment is 19.90$, not ₪19.90
I think having something like this will be nicer:

Notice how the outflow in ILS changes according to the date the transaction was made on.
I implemented support for currency conversion in my fork, It works like this:
npm run credentials
The text was updated successfully, but these errors were encountered: