A basic parser to transform a Revolut csv export into a homebank compatible csv.
Revolut basic format:
TRANSFER,Current,2024-03-06 08:28:55,2024-03-06 08:28:59,To EUR holidays,115.00,0.00,EUR,COMPLETED,2000.00
Homebank compatible format:
2024-03-06;4;;To EUR Holidays;;115.00;;
All details of homebank format can be found here
Directly in a terminal when node is installed.
npx revolut-to-homebank-parser file.csv output.csv
Install as dependency
npm i -s revolut-to-homebank-parser
Usage
import revolutToHomebankParser from 'revolut-to-homebank-parser/parser';
const result = await revolutToHomebankParser('file.csv', 'output.csv');
if (result.success) {
// do some interesting stuff
}
if (result.error) {
// trace interesting informations
}