einvoiceconverter.come-invoice error codes

BR-CL-01

The invoice type code is not a value from UNTDID code list 1001.

ErrorEN 16931UBLCII

Why it happens

A free-text type such as 'INVOICE' or an internal code was used instead of a numeric UNTDID value.

How to fix it

Use a valid code — 380 commercial invoice, 381 credit note, 384 corrected invoice, 386 prepayment invoice, 326 partial invoice. Note that some profiles narrow this list further (see BR-DE-17 for XRechnung).

The official rule

EN 16931, EnglishThe document type code MUST be coded by the invoice and credit note related code lists of UNTDID 1001.
Technical detail — where the rule is evaluated and the exact test
SyntaxContext and assertion
UBLcbc:InvoiceTypeCode | cbc:CreditNoteTypeCode
(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 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 532 ', concat(' ', normalize-space(.), ' ')))))
CIIrsm:ExchangedDocument/ram:TypeCode
((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 your own invoice

Paste or drop your UBL or CII file into the free validator. It runs the official EN 16931 ruleset plus the German XRechnung layer and lists every rule that fires, BR-CL-01 included — no signup, no limit.

Validate an e-invoice free

Fixing the data at source instead? The CSV converter builds a compliant invoice from a spreadsheet export.

Other EN 16931 — code lists rules