error
XML Syntax & XSD
CII-SR-345
CII-SR-345: UN/CEFACT CII structural element restriction (EN 16931 / CII / UBL)
Description & Regulatory Context
Validation rule CII-SR-345 (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-345 (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-345 | Context: Header Settlement & Tax (BG-19 / HeaderTradeSettlement) | Profiles: EXTENDED-CTC-FR -->
<ram:ApplicableHeaderTradeSettlement>
<ram:InvoiceIssuerReference>...</ram:InvoiceIssuerReference>
</ram:ApplicableHeaderTradeSettlement>