Skip to content

Fatal: fails the selected checks

BR-CL-01: The document type code must be a valid invoice or credit note code

In short

BR-CL-01 means the document type code (BT-3) is not an invoice or credit note code from UNTDID 1001. Choose the document type in your invoicing software (invoice, credit note, corrected invoice) rather than typing a code.

On this page

What it means

The invoice type code (BT-3) must be one of the invoice or credit note codes of the UNTDID 1001 list, for example 380 commercial invoice, 381 credit note, 384 corrected invoice, 389 self-billed invoice or 326 partial invoice. National rules such as XRechnung or Peppol allow fewer codes.

Why it matters

Codes are read by software, not by people. A value outside the agreed code list cannot be interpreted, so the recipient's system rejects the invoice even when the value looks sensible to a person.

How to fix it

Choose the document type in your invoicing software (invoice, credit note, corrected invoice) rather than typing a code. If you build the XML yourself, use 380 for a normal invoice and 381 for a credit note in cbc:InvoiceTypeCode or cbc:CreditNoteTypeCode (UBL) or ram:TypeCode (CII), with no spaces or letters around it.

The rule as published

The document type code MUST be coded by the invoice and credit note related code lists of UNTDID 1001.

Where this rule applies

Rule set Version
EN 16931 (UBL) 1.3.17
EN 16931 (UBL credit note) 1.3.17
EN 16931 (CII) 1.3.17
XRechnung 3.0 (UBL) 3.0.2
XRechnung 3.0 (UBL credit note) 3.0.2
XRechnung 3.0 (CII) 3.0.2
Peppol BIS Billing 3.0 (invoice) 2026.5
Peppol BIS Billing 3.0 (credit note) 2026.5
SI-UBL 2.0 / NLCIUS (invoice) 2.0.3.13
SI-UBL 2.0 / NLCIUS (credit note) 2.0.3.13
NLCIUS (CII) 1.0.3.13
France CTC (UBL invoice) 1.4.0-04
France CTC (UBL credit note) 1.4.0-04
France CTC (CII) 1.4.0-04
CIUS-RO UBL Invoice 1.0.9 1.0.9
CIUS-RO UBL Credit Note 1.0.9 1.0.9
Rule text from phive-rules 4.6.4.

Check your file

Drop your e-invoice to see whether BR-CL-01 still fails, and which other rules do.