SEPA will use in the future a structured address instead of their current schema
The message definition for the SEPA Messages at https://www.iso20022.org/iso-20022-message-definitions has changed at least concerning the addresses. Previously simple `AdrLine` tags were enough. Now the schema is much more rigid and structured. We're proposing the following changes to accommodate the change. - The three mandatory fields will be included in our template. - On a `party.address` we should have a method to decide to show a field or not (this allows to take into account the different rules set by countries regarding some fields) - Python properties should allow to extract the "Street Name" and the "Building Number" (we will rather use "Street Number") from the `street` field on the Address. - We will provide a basic implementation for those properties but we expect that they won't work in every case - Additional modules to use [deepparse](https://deepparse.org/) or [libpostal](https://pypi.org/project/pylibpostal) would be welcome - We will probably need an additional field for the "Post Box", this field will be mutually exclusive with the `street` field The first two points should be implemented in the `account_payment_sepa` module, the others should go in the `party` module. Of course we'll also add the new version of the related files alongside the current version.
issue