The document type code is outside the list · BR-CL-01
- Severity · Error
- Applies to · UBL / CII
- Editorial review pending
The check concerns the document type (BT-3). UBL uses different lists for Invoice and CreditNote. CII checks TypeCode against one combined list.
As of
Who can correct it?
The sender can correct the invoice.
How to fix it
- Choose the code for the actual value from the applicable subset of UNTDID 1001. Check that your invoicing software uses the list for the selected format.
- XML fields in the affected group · UBL cbc:InvoiceTypeCode / cbc:CreditNoteTypeCode · CII rsm:ExchangedDocument/ram:TypeCode
Rule text and source
Paraphrase · The code for the document type (BT-3) must come from the applicable subset of UNTDID 1001.
Message to the sender
Subject: Invoice {invoiceNumber} – The document type code is outside the list
Hello,
could you clarify a detail on your invoice {invoiceNumber} dated {issueDate} (BR-CL-01)? The check concerns the document type (BT-3). Please check the code against the list for the invoice format and send us the corrected invoice.
Thank you and kind regardsExample
For a commercial invoice, 380 is an allowed code. 999 is outside the list.
UBL
cbc:InvoiceTypeCode / cbc:CreditNoteTypeCode
Fails the rule
<cbc:InvoiceTypeCode>999</cbc:InvoiceTypeCode>
Corrected
<cbc:InvoiceTypeCode>380</cbc:InvoiceTypeCode>
CII
rsm:ExchangedDocument/ram:TypeCode
Fails the rule
<ram:TypeCode>999</ram:TypeCode>
Corrected
<ram:TypeCode>380</ram:TypeCode>Rule versions
CEN · EN 16931 (KoSIT) 1.3.16
CEN · EN 16931 1.3.17