viafintech / camt_parser

A basic parser for camt.052, camt.053 and camt.054 files
MIT License
20 stars 24 forks source link

Add support for accounts with negative balance #51

Closed McRip closed 1 year ago

McRip commented 2 years ago

We encountered statements from accounts with a negative balance which are not really covered by camt_parser at the moment. This adds support for those statements.

tobischo commented 2 years ago

Hi @McRip, thank you for the contribution.

I believe the same would also apply for CAMT052 and CAMT054 though, correct?

It would be kind of inconsistent to only add it for CAMT053

McRip commented 2 years ago

True for 052 because we also have a balance here, but as 054 is mainly batch booking breakdown it does not contain a balance. I will add this functionality for 052.