Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PAIN file format 008.001.02 not standards-compliant #589

Closed
jensschuppe opened this issue Aug 11, 2020 · 3 comments
Closed

PAIN file format 008.001.02 not standards-compliant #589

jensschuppe opened this issue Aug 11, 2020 · 3 comments
Labels

Comments

@jensschuppe
Copy link
Collaborator

The pain_008_001_02 template does not seem to be standards compliant regarding the following section:

<CdtrSchmeId>
  <Nm>{$creditor.name}</Nm>
  <Id>
    <PrvtId>
      <Othr>
        <Id>{$creditor.identifier}</Id>
        <SchmeNm>
          <Prtry>SEPA</Prtry>
        </SchmeNm>
      </Othr>
    </PrvtId>
  </Id>
</CdtrSchmeId>

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 (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?

@tttp
Copy link
Member

tttp commented Aug 11, 2020 via email

@jensschuppe
Copy link
Collaborator Author

@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.

@wintermoor
Copy link

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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants