revolut-to-homebank-parser
v1.0.4
Published
A simple module to reformat revolut account extract into an Homebank compatible one
Downloads
25
Readme
revolut-to-homebank-parser
General
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
Usage
CLI
Directly in a terminal when node is installed.
npx revolut-to-homebank-parser file.csv output.csv
In a project
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
}