fatal
XML Syntax & XSD
XSD-SCHEMA-INVALID
XSD-SCHEMA-INVALID: EN 16931 core business & syntax rule (EN 16931 / CII / UBL)
Description & Regulatory Context
Validation rule XSD-SCHEMA-INVALID (severity: fatal) belongs to 'XML Syntax & XSD'. Verifies mandatory header, party, line-item, or settlement invariants across EU e-invoicing profiles. Applies to fields: EN 16931 / CII / UBL.
Common Rejection Cause
An expected XML element, code-list value, or arithmetic constraint enforced by XSD-SCHEMA-INVALID (EN 16931 / CII / UBL) is missing, misplaced, or violates the target Factur-X / ZUGFeRD / XRechnung profile.
How to Fix in Your System
Run FacturLint 1-click PDF/A-3b repair if marked auto-repairable; otherwise update the source XML/ERP mapping for (EN 16931 / CII / UBL) against the compliant snippet below and re-validate.
Compliant XML Snippet
<ram:ApplicableHeaderTradeAgreement>
<!-- Element order must strictly follow XSD: BuyerReference, SellerTradeParty, BuyerTradeParty... -->
<ram:BuyerReference>REF-450</ram:BuyerReference>
<ram:SellerTradeParty>
<ram:Name>Fournisseur SAS</ram:Name>
</ram:SellerTradeParty>
</ram:ApplicableHeaderTradeAgreement>