raphaelm / python-sepaxml

SEPA Direct Debit XML generation in python
MIT License
110 stars 41 forks source link

Support country/address fields for international transfers #28

Closed Codeberg-org closed 1 year ago

Codeberg-org commented 3 years ago

International transfers to some countries need country and postal address fields (Switzerland at least it seems, others like Danske bank mark this field as optional).

These are currently not supported:

    <!-- from  -->
    <Dbtr>
      <Nm>XXXXX</Nm> 
      <PstlAdr>
        <PstCd>75001</PstCd>
        <TwnNm>TwnNm</TwnNm>>
        <Ctry>CC</Ctry>
        <AdrLine>XXXXXX </AdrLine>
        <AdrLine>XXXXXX </AdrLine>
      </PstlAdr>
      <Id>
        <OrgId>
          <Othr>
          </Othr>
        </OrgId>
      </Id>
    </Dbtr>

It would be nice to support international DD from these countries.

raphaelm commented 3 years ago

I'd be very surprised if cross-country non-SEPA DD actually works, do banks really do that? It'd be interested for CT, though, yes.

Codeberg-org commented 2 years ago

These are actual SEPA DD transfers, as described here and here. For some reasons, some banks in those countries "just work" with "local"/EU rules, whereas others apply stricter checks. Beside Switzerland we have seen these with Finnish banks recently.

With GB, we just learned that due to Brexit as of 2021-12-31 SEPA transfers require the full address too.

jonatandmapser commented 2 years ago

Hello! Is there an option to put the address in these cases? Thanks!

raphaelm commented 1 year ago

This finally is implemented now :)

fnetX commented 1 year ago

Cool!