InvoiceGlass

The invoiced object identifier scheme is outside the list · BR-CL-07

  • Severity · Error
  • Applies to · UBL / CII
  • Editorial review pending

The check concerns the scheme for an invoiced object identifier (BT-18 or BT-128). UBL checks the scheme on an object reference of type 130. CII uses ram:ReferenceTypeCode for the scheme.

As of

Who can correct it?

The sender can correct the invoice.

How to fix it

  1. Choose the code for the actual value from the subset of UNTDID 1153 used in the check. Check that your invoicing software uses the list for the selected format.
  2. XML fields in the affected group · UBL cac:AdditionalDocumentReference or cac:DocumentReference with document type 130 → cbc:ID/@schemeID · CII ram:ReferenceTypeCode

Rule text and source

Paraphrase · The code for the scheme for an invoiced object identifier (BT-18 or BT-128) must come from the subset of UNTDID 1153 used in the check.

Message to the sender

Subject: Invoice {invoiceNumber} – The invoiced object identifier scheme is outside the list

Hello,

could you clarify a detail on your invoice {invoiceNumber} dated {issueDate} (BR-CL-07)? The check concerns the scheme for an invoiced object identifier (BT-18 or BT-128). Please check the code against the list for the invoice format and send us the corrected invoice.

Thank you and kind regards

Example

A meter identifier can use scheme MG. The free-text value METER triggers the check.

UBL

cac:AdditionalDocumentReference[cbc:DocumentTypeCode="130"]/cbc:ID/@schemeID

Fails the rule
<cbc:ID schemeID="METER">12345</cbc:ID>

Corrected
<cbc:ID schemeID="MG">12345</cbc:ID>

CII

ram:ReferenceTypeCode

Fails the rule
<ram:ReferenceTypeCode>METER</ram:ReferenceTypeCode>

Corrected
<ram:ReferenceTypeCode>MG</ram:ReferenceTypeCode>

Rule versions

CEN · EN 16931 (KoSIT) 1.3.16

CEN · EN 16931 1.3.17

Validate a file