nblock / ofxstatement-austrian

A collection of parsers for proprietary statement formats, produced by certain austrian banks. It is a plugin for ofxstatement.
GNU General Public License v3.0
10 stars 5 forks source link

easybank giro CSV has different format #13

Open guedressel opened 7 months ago

guedressel commented 7 months ago

In src/ofxstatement/plugins/tests/samples/easybank-giro.csv sample lines are like

AT123456789012345678;Auszahlung Maestro             10.01         MC/000000006 AUTOMAT   01234567 K1 27.07.UM 18.57    ;28.01.2014;29.01.2014;-400,00;EUR

But in my current CSV from easybank is looks like

AT123456789012345678;Auszahlung Karte                             MC/000001234|AUTOMAT   01234567 K001 01.01. 17:11;01.01.2021;01.01.2021;-400,00;EUR
guedressel commented 7 months ago

Another example line, from an incoming transfer

AT123456789012345678;Mein Verwendungszwek                  VD/000001234|BAWAATWWXXX AT87654321098765432|Cornelia Muster;01.02.2022;01.02.2022;+100,00;EUR
guedressel commented 7 months ago

Therefore the current switch between EasybankCreditCardCsvParser and EasybankGiroCsvParser is not useful: https://github.com/nblock/ofxstatement-austrian/blob/5ab80683ff76d6627de3d14f83a14e76467bce13/src/ofxstatement/plugins/easybank.py#L184-L189C20

Dayflare commented 3 months ago

i commented out the lines and just left the line return EasybankGiroCsvParser(fp) and i had to remove the header from the resulting ofx file to successfully import it in HomeBank or GnuCash.