You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using current version, I get an error when validating a ZUGFeRD XRechnung that uses payment type 59 (Direct Debit) and contains a financial institution. XML snippet:
Current KoSIT validator does not throw any warning or error, but mustangproject rejects the XML with the following error:
schema validation fails:org.xml.sax.SAXParseException; lineNumber: 717; columnNumber: 55; cvccomplex-type.2.4.a: Invalid content was found starting with element
'{"urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100":PayerSpecifiedDebtorFinancialInstitution}'. One of
'{"urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100":PayeePartyCreditorFinancialAccount,
"urn:un:unece:uncefact:data:standard:ReusableAggregateBusinessInformationEntity:100":PayeeSpecifiedCreditorFinancialInstitution}' is expected.
When using payment type code 59 there shouldn't be any PayeePartyCreditorFinancial* field, but PayerSpecifiedDebtorFinancial*. When removing the financial institution from the XML, the validation doesn't fail. This seems to be a serious error.
The text was updated successfully, but these errors were encountered:
wurst-hans
changed the title
BUG: Validation error when using direct debit and providing
BUG: Validation error when using direct debit
Jan 10, 2025
I'm not a Java programmer, but first thing I've noticed, that there is no separate schema file (XSD) for profile XRechnung. Second thing: looking at schema for EN1691, the PayerSpecifiedDebtorFinancialInstitution is missing there, although it's defined in DIN CEN/TS 16931-3-3 (and at least in XRechnung too).
I’ve also encountered issues with this part. As strange as it may sound, I believe the order plays a role at some point, and unfortunately, the error messages are not always informative enough.
Using current version, I get an error when validating a ZUGFeRD XRechnung that uses payment type 59 (Direct Debit) and contains a financial institution. XML snippet:
Current KoSIT validator does not throw any warning or error, but mustangproject rejects the XML with the following error:
When using payment type code 59 there shouldn't be any
PayeePartyCreditorFinancial*
field, butPayerSpecifiedDebtorFinancial*
. When removing the financial institution from the XML, the validation doesn't fail. This seems to be a serious error.The text was updated successfully, but these errors were encountered: