fruitl00p / php-mt940

A mt940 parser in PHP
MIT License
103 stars 60 forks source link

add support for german banks, for example Sparkasse #7

Closed tpokorra closed 9 years ago

fruitl00p commented 9 years ago

Cool! Thanks for the addition! (and providing a simple example unit-test) I have zero experience with german banks / german mt940 but is this really Sparkasse only?

tpokorra commented 9 years ago

I have removed the commented line.

This also works for other german banks. The Evangelische Bank uses the same format (https://www.eb.de/). I only have to parse files from Sparkasse and Evangelische Bank, but I think others might be similar.

One extension would be the support of the umlaut characters, which is quite a mess in the german bank statement files. Not sure when I will find the time.

I was glad I found your project. I parse the MT940 files in C#, but had a bug this morning, and it was good to be able to compare the results of your parser with mine :) I had a problem with a storno transaction: https://github.com/SolidCharity/OpenPetraPlugin_BankimportMT940/commit/c80b6399d35d9aa2212ccbce8daf9b96dde8195f

fruitl00p commented 9 years ago

Cool!

Glad you found it useful and found the time for this pull! :+1: