error
XML Syntax & XSD
CII-SR-012
CII-SR-012: UN/CEFACT CII structural element restriction (EN 16931 / CII / UBL)
Description & Regulatory Context
Validation rule CII-SR-012 (severity: error) belongs to 'XML Syntax & XSD'. Factur-X / ZUGFeRD profile restriction preventing unexpected or misplaced XML tags in CrossIndustryInvoice. Applies to fields: EN 16931 / CII / UBL.
Common Rejection Cause
An expected XML element, code-list value, or arithmetic constraint enforced by CII-SR-012 (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
<!-- Rule CII-SR-012 | Context: Business Process & Profile Context (BG-2 / ExchangedDocumentContext) | Profiles: EXTENDED-CTC-FR -->
<rsm:ExchangedDocumentContext>
<ram:MessageStandardSpecifiedDocumentContextParameter>...</ram:MessageStandardSpecifiedDocumentContextParameter>
</rsm:ExchangedDocumentContext>