Error codes

BR-CL-01: invoice type code (BT-3) is not in UNTDID 1001

Severity: fatal · Syntax: CII, UBL

Official message

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

What this means

BR-CL-01 requires invoice type code (BT-3) to be taken from UNTDID 1001. Official text: The document type code MUST be coded by the invoice and credit note related code lists of UNTDID 1001.

Typical cause

The value sent is not in UNTDID 1001, or a free-text label was sent instead of a code.

How to fix it

Replace the value with a code from UNTDID 1001. The sample 380 shows the shape of the value, not every allowed code.

UBL

<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>

CII

<ram:TypeCode>380</ram:TypeCode>

Business term

—

Related rules

Context and assertion

UBL cbc:InvoiceTypeCode | cbc:CreditNoteTypeCode

CII rsm:ExchangedDocument/ram:TypeCode

UBL

(self::cbc:InvoiceTypeCode and ((not(contains(normalize-space(.), ' ')) and contains(' 71 80 81 82 84 102 130 202 203 204 211 218 219 295 325 326 331 380 382 383 384 385 386 387 388 389 390 393 394 395 456 457 471 472 473 500 501 527 553 575 623 633 751 780 817 870 875 876 877 935 ', concat(' ', normalize-space(.), ' '))))) or (self::cbc:CreditNoteTypeCode and ((not(contains(normalize-space(.), ' ')) and contains(' 81 83 261 262 296 308 381 396 420 458 502 503 532 ', concat(' ', normalize-space(.), ' ')))))

CII

((not(contains(normalize-space(.), ' ')) and contains(' 71 80 81 82 83 84 102 130 202 203 204 211 218 219 261 262 295 296 308 325 326 331 380 381 382 383 384 385 386 387 388 389 390 393 394 395 396 420 456 457 458 471 472 473 500 501 502 503 527 532 553 575 623 633 751 780 817 870 875 876 877 935 ', concat(' ', normalize-space(.), ' '))))

Check a file now, free of charge

curl -F "file=@rechnung.xml" https://checkxrechnung.com/v1/validate

Questions

What does BR-CL-01 actually check?

BR-CL-01 requires invoice type code (BT-3) to be taken from UNTDID 1001. Official text: The document type code MUST be coded by the invoice and credit note related code lists of UNTDID 1001.

How do I fix BR-CL-01?

Replace the value with a code from UNTDID 1001. The sample 380 shows the shape of the value, not every allowed code.

If BR-CL-01 passes, is the invoice legally compliant?

No. This page helps you read this one Schematron assertion. A pass is not a statement about tax law, portal acceptance, or bank overlays.