Skip to content
UBL-CR-002

Wrong UBL version stated

The invoice states a UBL version (UBLVersionID) that is not 2.1. E-invoices under EN 16931 are based on UBL 2.1.

What to do now

Tip: The sender should leave out the version or set it to 2.1.

What it looks like in the XML

Example from a correct invoice – the path in the file, then the element. The values are fictitious.

Remove the element that is not allowed

UBL · XRechnung (UBL), Peppol BIS, SI-UBL
<!-- Beispiel: Element gehört nicht zur EN 16931 -->
<cac:InvoiceLine>
  <cbc:ID>1</cbc:ID>
  <cbc:UUID>…</cbc:UUID>          <!-- nicht Teil der Norm: entfernen -->
  <cbc:InvoicedQuantity unitCode="C62">1</cbc:InvoicedQuantity>
  …
</cac:InvoiceLine>
CII · ZUGFeRD, Factur-X, XRechnung (CII)
<!-- Beispiel: Element gehört nicht zur EN 16931 -->
<ram:IncludedSupplyChainTradeLineItem>
  <ram:AssociatedDocumentLineDocument><ram:LineID>1</ram:LineID></ram:AssociatedDocumentLineDocument>
  <ram:SpecifiedTradeProduct>
    <ram:Name>…</ram:Name>
    <ram:IndustryAssignedID>…</ram:IndustryAssignedID>   <!-- nicht Teil der Norm: entfernen -->
  </ram:SpecifiedTradeProduct>
</ram:IncludedSupplyChainTradeLineItem>

If the element contains a value that is not allowed here, the validator reports UBL-CR-002.

Element names apply to the EN 16931 syntaxes UBL 2.1 and UN/CEFACT CII D16B; other formats use their own names for the same information.

Who has to fix this?

Only the issuer or the vendor of their invoicing software can fix this. As a recipient you can usually accept an invoice with such warnings; portals of public-sector buyers, however, reject some of them.

Where this rule comes from

The file formats UBL and CII can express far more than the European standard EN 16931 provides for an invoice. Around 1,300 syntax rules (UBL-CR, UBL-SR, UBL-DT, CII-SR, CII-DT) define which of these additional fields should not be used and which details may appear only once. Most of these rules are warnings: the invoice remains complete in content but contains details that the recipient will not read automatically.

Rule ID
UBL-CR-002
Rule set
Syntax rules (UBL and CII)
Checked for
XRechnung, ZUGFeRD, Factur-X, Peppol BIS and other EN 16931 formats
Consequence of a violation
The invoice is considered non-compliant with the standard and is automatically rejected by many recipients.

Does UBL-CR-002 occur in your invoice?

Upload the XRechnung or the ZUGFeRD/Factur-X PDF – the validator shows every violation with the same explanation as here. Free, no login, nothing stored.

Validate your invoice now

General information, not tax or legal advice. As of October 2026. Validation rules: CEN/TC 434 (EN 16931, EUPL 1.2), KoSIT (XRechnung, Apache 2.0), FNFE-MPE/FeRD (Factur-X/ZUGFeRD, Apache 2.0), OpenPeppol AISBL (Peppol BIS), ANAF (CIUS-RO). Explanations: Billvox. Licence notices