Skip to main content

BR-CL-01 Invoice type code must come from UNTDID 1001

The invoice type code (BT-3) must be one of the invoice or credit note codes that EN 16931 takes from UNTDID 1001. In UBL, the Invoice and CreditNote documents each have their own list.

Problem Description

ERROR

EN 16931 code-list rule (BR-CL)

Interactive pipeline

Click a stage to see what it checks, or type a rule ID to light up the stage that reports it.

Try:

BR-CL-01 EN 16931 code list rule

Reported in stage 2: EN 16931 rules.

Level error: the report recommends rejecting the invoice.

Stage 2 Β· What it checks

  • The core business terms are present (BR-01 to BR-65).
  • Totals add up and related fields agree (BR-CO); codes and decimals are valid (BR-CL, BR-DEC).
  • Each VAT category is consistent: S, Z, E, AE, K, G, O, L, M (BR-S, BR-Z, BR-AE, BR-IC …).

Example codes

Typical fix

Recalculate totals and VAT from the line data, and correct the VAT category in the source data.

A validator checks an e-invoice in stages. First the file must be well-formed XML that matches the UBL or CII schema (XSD). Then the EN 16931 business rules run: BR core rules, BR-CO calculations, BR-CL code lists, BR-DEC decimals and VAT-category rules such as BR-S. Next come the national or network rules that BT-24 selects: BR-DE for XRechnung, PEPPOL-EN16931 for Peppol BIS Billing. The report lists every failed rule: one error means reject, warnings alone still mean accept. BR-CL-01: EN 16931 code list rule, reported in the stage β€œEN 16931 rules”. Rule sets: KoSIT validator 1.6.3 with the XRechnung configuration of 31 Aug 2026 (EN 16931 artefacts 1.3.16), Peppol BIS Billing 3.0.21.

Solution

Set BT-3 to a valid code, e.g. 380 (commercial invoice), 326 (partial invoice), 384 (corrected invoice), 389 (self-billed invoice) or 875–877 (construction invoices). Send a credit note with code 381 as a UBL CreditNote (cbc:CreditNoteTypeCode), not as an Invoice. In CII, the code goes in rsm:ExchangedDocument/ram:TypeCode.

Quick actions

Context and Significance

BT-3 tells the receiver whether to book the document as an invoice or as a credit note. In UBL, 381 is valid only in cbc:CreditNoteTypeCode: an ERP that exports every document as an Invoice with 381 fails this rule, while the same code passes in CII. Another cause is an internal document type such as "INV" or "RE" written instead of a code. Map every internal document type to a UNTDID 1001 code before export. XRechnung additionally limits the allowed codes (BR-DE-17).

Valid Examples

  • BT-3 = 380 β€” commercial invoice (UBL Invoice)
  • BT-3 = 381 β€” credit note (in UBL only in a CreditNote document)

Invalid Examples

  • BT-3 = 381 in cbc:InvoiceTypeCode of a UBL Invoice β€” credit note codes belong in a CreditNote
  • BT-3 = INV β€” internal document type instead of a code
  • BT-3 = 999 β€” not part of UNTDID 1001

Code Examples

Valid XML
<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
Invalid XML
<cbc:InvoiceTypeCode>381</cbc:InvoiceTypeCode>

Affected Fields

Validation Tools