BR-CL-01 Invalid invoice type code

What the EN 16931 rule BR-CL-01 demands, where the data sits in UBL and CII, and how to fix the error.

ErrorEN 16931BT-3

Official rule text

[BR-CL-01]-The document type code MUST be coded by the invoice and credit note related code lists of UNTDID 1001.

Assertion BR-CL-01 in the EN 16931 validation artefacts (CEN/TC 434), validation-1.3.16, UBL and CII (same wording).

What it means

The type code must come from UNTDID 1001. Codes must come from the lists EN 16931 prescribes.

Docfaro reports a breach of BR-CL-01 as an error.

Where the data sits

The business terms this rule checks, and the element that carries each of them in the two syntaxes EN 16931 allows.

BT-3 Invoice type code

UBL 2.1
/Invoice/cbc:InvoiceTypeCode/CreditNote/cbc:CreditNoteTypeCode
CII D16B
/rsm:CrossIndustryInvoice/rsm:ExchangedDocument/ram:TypeCode

Prefixes: cbc and cac are the UBL basic and aggregate components; rsm, ram and udt the CII namespaces. In a UBL credit note the root is CreditNote and lines are cac:CreditNoteLine.

How to fix it

Use a valid code, usually 380.

Where the rule applies

Defined inEN 16931 validation artefacts validation-1.3.16
SyntaxesUBL and CII
Official severityerror (fatal)
Docfaro reports it asError
Docfaro checks it forXRechnung, Peppol BIS Billing, and ZUGFeRD / Factur-X in the profiles BASIC, EN 16931 (COMFORT) and EXTENDED. MINIMUM, BASIC WL and ZUGFeRD 1.0 do not carry a full EN 16931 data set and only get basic checks.
Rule groupCode list rules (BR-CL)

All rules explained

Sources

  1. EN 16931 validation artefacts validation-1.3.16 (Schematron, EUPL-1.2)CEN/TC 434 and European Commission, GitHub
  2. Validator-Konfiguration XRechnung 3.0.2, Release 2026-08-31 (XSD UBL 2.1 und CII D16B, Schematron EN 16931 und XRechnung)KoSIT auf GitHub
  3. Revised European standard on eInvoicing EN 16931-1:2026Europäische Kommission

Last reviewed: