InvoiceGlass

The country of origin code is outside the list · BR-CL-15

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

The check concerns the item’s country of origin (BT-159). The field identifies where the item originates. The pinned 1.3.16 CII list differs from the UBL list for some countries. In 1.3.17 both bindings use the same list for this field.

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 rule release’s country list based on ISO 3166-1. Check that your invoicing software uses the list for the selected format.
  2. XML fields in the affected group · UBL cac:OriginCountry/cbc:IdentificationCode · CII ram:OriginTradeCountry/ram:ID

Rule text and source

Paraphrase · The code for the item’s country of origin (BT-159) must come from the rule release’s country list based on ISO 3166-1.

Message to the sender

Subject: Invoice {invoiceNumber} – The country of origin code is outside the list

Hello,

could you clarify a detail on your invoice {invoiceNumber} dated {issueDate} (BR-CL-15)? The check concerns the item’s country of origin (BT-159). Please check the code against the list for the invoice format and send us the corrected invoice.

Thank you and kind regards

Example

An item originating in France uses code FR. Writing France in the code field triggers the rule.

UBL

cac:OriginCountry/cbc:IdentificationCode

Fails the rule
<cbc:IdentificationCode>Frankreich</cbc:IdentificationCode>

Corrected
<cbc:IdentificationCode>FR</cbc:IdentificationCode>

CII

ram:OriginTradeCountry/ram:ID

Fails the rule
<ram:ID>Frankreich</ram:ID>

Corrected
<ram:ID>FR</ram:ID>

Rule versions

CEN · EN 16931 (KoSIT) 1.3.16

CEN · EN 16931 1.3.17

Validate a file