Closed mpschr closed 5 years ago
Can you provide a subset of your Revolut CSV file ? I'll try to reproduce the error.
HI
Completed Date ; Description ; Paid Out (EUR) ; Paid In (EUR) ; Exchange Out; Exchange In; Balance (EUR); Category; Notes
Jan 9, 2019 ; Supermarkt am Marktplatz ; 4.75 ; ; ; ; 45.16; shopping;
Jan 7, 2019 ; Bauhaus im Hausbau ; 73.75 ; ; ; ; 49.91; utilities;
I also did some debugging even the following line is failing and returning NaN
const paidOut = get(operation, 'Paid Out (EUR)')
I am glad to help you out debugging, but don't bother too much as I started to reimplmenet in python
Thanks for your help, issue has been fixed here: https://github.com/hqro/revolut-csv-to-qif/commit/065093c8aff52b208f7b97f03305af7e85101be8
Great, now the values are read correcltly.. What still looks unexpected to me are the empty P lines
!Type:Bank
D09/01/2019
T-4.75
P
^
D07/01/2019
T-73.75
P
^
Hi
Great piece of code. It works almost for me, just the amount values are spit out as NaN. I imagine it has to do something with Enconding as the output file has a different encoding? Do you have a hunch what could go wrong here (on a OS X system).
File encoding: