BR-CL-01: invalid invoice type code
The document type code (BT-3) is not in the UNTDID 1001 code list accepted by EN 16931. Common values are 380 (commercial invoice), 381 (credit note), 384 (corrected invoice) and 386 (prepayment invoice).
Last updated: 2026-07-07
Affected field
BT-3 Invoice type code / cbc:InvoiceTypeCode (UBL) / rsm:ExchangedDocument/ram:TypeCode (CII)
Cause
The software wrote a label ("Invoice"), an internal code, or a non-existent code into the element. Another frequent case: a credit note exported with an invoice code in the wrong UBL document type.
Fix
Use a numeric code from UNTDID 1001: 380 for a standard invoice, 381 for a credit note, 384 for a corrected invoice, 386 for a prepayment invoice. In UBL, a credit note uses cbc:CreditNoteTypeCode inside a CreditNote document.
<!-- ERROR: label instead of a UNTDID 1001 code --> <cbc:InvoiceTypeCode>Invoice</cbc:InvoiceTypeCode>
<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
Check your invoice for this and other errors.
Validate your invoice →Mandate context
Frequently asked questions
Which code for a prepayment invoice?▼
The UNTDID 1001 code for a prepayment invoice is 386. A standard invoice uses 380, a credit note 381, a corrected invoice 384.
380 or 381 — how do I choose?▼
380 is a commercial invoice (amount owed by the buyer). 381 is a credit note (amount credited to the buyer). A credit note sent as code 380 with negative amounts is typically rejected by receiving platforms.