Closed jensschuppe closed 4 years ago
According to this xsd, your bank is wrong and civisepa is right
https://wiki.xmldation.com/@api/deki/files/671/=pain.008.001.02.xsd
<xs:complexType name="PartyIdentification32">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="Nm"
type="Max140Text"/> <xs:element maxOccurs="1" minOccurs="0" name="PstlAdr" type="PostalAddress6"/> <xs:element maxOccurs="1" minOccurs="0" name="Id" type="Party6Choice"/> <xs:element maxOccurs="1" minOccurs="0" name="CtryOfRes" type="CountryCode"/> <xs:element maxOccurs="1" minOccurs="0" name="CtctDtls" type="ContactDetails2"/> </xs:sequence> </xs:complexType>
On Tue, 11 Aug 2020 at 11:04, jensschuppe notifications@github.com wrote:
The pain_008_001_02 template does not seem to be standards compliant regarding the following section:
{$creditor.name} {$creditor.identifier} SEPA A validating bank claims the following error:
Unexpected element "Nm" from the namespace "urn:iso:std:iso:20022:tech:xsd:pain.008.001.02".
The specification's example implementation here https://www.ebics.de/fileadmin/unsecured/anlage3/anlage3_bsp/pain.008.001.02.xml (Overview page https://www.ebics.de/de/datenformate/ergaenzende-dokumente) does not include such an element at that position.
The element should thus be removed from the template, I guess.
@bjendres https://github.com/bjendres what do you think?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Project60/org.project60.sepa/issues/589, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA7LKRRO4YMWTQIZIXIM7TSAECS3ANCNFSM4P2Z5FTQ .
@tttp Thanks, that's indeed correct. Should've checked the schema before. The official XSD file can be downloaded here: https://www.iso20022.org/message/14451/download.
GLS (and maybe other Volksbanken in Germany) have this issue, too.
Deleting line 44 in SEPA-xml manually will help. To get this fixed in CiviSEPA, please delete line 32 in transaction-details.tpl at /civicrm/ext/org.project60.sepa/templates/Sepa/Formats/pain_008_001_02_OTHERID (Create a new file format for this, because otherwise an update will erase it.)
The
pain_008_001_02
template does not seem to be standards compliant regarding the following section:A validating bank claims the following error:
The specification's example implementation here (Overview page) does not include such an element at that position.
The element should thus be removed from the template, I guess.
@bjendres what do you think?