InvoiceGlass

UBL version identifier differs from 2.1 · UBL-CR-002

  • Severity · Warning
  • Applies to · UBL
  • Editorial review pending

The header field cbc:UBLVersionID is optional. If the export includes it, the check expects 2.1.

As of

Who can correct it?

The invoicing software provider can correct the export.

How to fix it

  1. Check that your export actually generates UBL 2.1.
  2. Omit cbc:UBLVersionID or set it to 2.1 when exporting UBL 2.1.

Rule text and source

Paraphrase · The test accepts a missing cbc:UBLVersionID or the value 2.1.

Message to the sender

Hello,

rule UBL-CR-002 was triggered when checking electronic invoice {invoiceNumber}. The UBL version identifier in the header differs from the tested version, 2.1. Could you check the export and send us a corrected file?

Kind regards

Example

An export with 2.0 in cbc:UBLVersionID triggers the rule. A file actually generated in UBL 2.1 uses 2.1 here.

UBL

cbc:UBLVersionID

Fails the rule
<cbc:UBLVersionID>2.0</cbc:UBLVersionID>

Corrected
<cbc:UBLVersionID>2.1</cbc:UBLVersionID>

Rule versions

CEN · EN 16931 (KoSIT) 1.3.16

CEN · EN 16931 1.3.17

Validate a file