raphaelm / python-sepaxml

SEPA Direct Debit XML generation in python
MIT License
112 stars 43 forks source link

Batch Booking = False #53

Open hbanzhaf opened 1 year ago

hbanzhaf commented 1 year ago

Thank you for this great package!

I want to create a collective SEPA transfer where the structure of the generated XML has the one of setting "batch": True, however, the entry <BtchBookg> in the resulting XML should be false.

Background: This is how Commerzbank wants SEPA XMLs to be formatted when no batch booking is wanted. Unfortunately, setting "batch": False during the generation process results in an XML that Commerzbank is not able to parse.

Your help is very much appreciated.

raphaelm commented 1 year ago

Uh, interesting. Banks are weird about batch booking, I don't really get why. Happy to accept contributions about this, I'm not sure I'll have time to do it myself.

rikroe commented 1 year ago

I stumbled across the same issue for Sparkasse (at least my local one). The changes in #29 were not needed, but I had to set <BtchBookg> to False for my SEPA XML to be accepted.

Just posting right now if others have the same issue. Once the debits are through, I'll have a look if this can somehow be included.

Nevermind. For some reason it works also with BtchBookg set to True (could have sworn it didn't work earlier)...