error XML Syntax & XSD
CII-SR-311

CII-SR-311: UN/CEFACT CII structural element restriction (EN 16931 / CII / UBL)

Description & Regulatory Context

Validation rule CII-SR-311 (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-311 (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-311 | Context: Deliver-To Party (BG-15 / ShipToTradeParty) | Profiles: EXTENDED-CTC-FR -->
<ram:ApplicableHeaderTradeDelivery>
  <ram:SpecifiedLegalOrganization>...</ram:SpecifiedLegalOrganization>
  <ram:ShipToTradeParty>...</ram:ShipToTradeParty>
</ram:ApplicableHeaderTradeDelivery>

Test your invoices for zero errors in 40 ms

Check single PDFs, XMLs or monthly .ZIP batches in RAM with zero storage.

Open Free Validator → Stripe & XRechnung Bridge