raphaelm / python-sepaxml

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

Payments from multi-currency bank accounts #41

Open voxelias opened 3 years ago

voxelias commented 3 years ago

Hello! Some bank offers multi currency accounts, when under the same account number you have separate accounts for different currencies. Such banks expect to receive <Ccy> in <DbtrAcct>:

<DbtrAcct>
 <Id><IBAN>CZ7855000000005001264780</IBAN></Id>
  <Ccy>EUR</Ccy>
</DbtrAcct>

It seems that the library does not support it now. Do you consider having it?

If I submit a PR, how would you like it to be implemented? multi_currency=True in config or something else?

raphaelm commented 3 years ago

Do you know if it is safe to always supply the currency even with non.multicurrency accounts?

voxelias commented 2 years ago

Well, it is even defined by the schemas in your repo