-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
I need to create the SEPA XML for an Austrian bank. Unfortunately here in Austria the latest version of the pain.001.001.03 schema is not supported yet, we use the RuleBook 6 version of that schema:
https://zv.psa.at/de/download/xml/archiv/rb-60/12-isopain00100103austrian003/file.html
When I copy over that .xsd file into the sepaxml/schemas folder and run my script, I get the following exception:
sepa = SepaTransfer(config, clean=True, schema="ISO.pain.001.001.03.austrian.003")
... # adding payments
sepa_xml = sepa.export(validate=True, pretty_print=False)
---------------------------
Exception has occurred: XMLSchemaParseError
unknown type 'AT_ExternalCategoryPurpose1Code':
Schema:
<xs:element xmlns:xs="http://www.w3.org/2001/XMLSchema" name="Cd" type="AT_ExternalCategoryPurpose1Code" />
Path: /xs:schema/xs:complexType[75]/xs:complexContent/xs:restriction/xs:sequence/xs:choice/xs:element[1]
Schema URL: file:///home/mfb/.local/lib/python3.10/site-packages/sepaxml/schemas/ISO.pain.001.001.03.austrian.003.xsdAny ideas how I could fix this?
Metadata
Metadata
Assignees
Labels
No labels