Context
GB
/ubl:Invoice/cac:InvoiceLine/cac:Item/cac:OriginCountry/cbc:IdentificationCode
VRBL-Invoice-GB-1p0 - Item Origin Country Code
United Kingdom |
VRBL-Invoice-GB-1p0
| Context ID | INV1396 |
| Usage | M |
| Format | ISO 3166-1:Alpha2 Country codes |
| Example Value | CN |
| Mandate Business Term Code | BT-159 |
| Final Format Path | /ubl:Invoice/cac:InvoiceLine/cac:Item/cac:OriginCountry/cbc:IdentificationCode |
Description
The code identifying the country from which the item originates.
Details
Example: GB_invoice_380_full.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:InvoiceLine>
<!-- ... omitted for readability -->
<cac:Item>
<!-- ... omitted for readability -->
<cac:OriginCountry>
<cbc:IdentificationCode>CN</cbc:IdentificationCode>
</cac:OriginCountry>
<!-- ... omitted for readability -->
</cac:Item>
<!-- ... omitted for readability -->
</cac:InvoiceLine>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-EN16931-CM-313 | The value of the Item Origin Country Code must be contained in ISO 3166 Alpha-2 Country Code [VRBL-CL-EN16931-CountryCode]. |
| VRBL-INV-CORE-510 | The value of the Item Origin Country Code must be contained in ISO 3166 Alpha-2 Country Code [VRBL-CL-CountryCode]. For more information visit: https://docs.peppol.eu/poacc/billing/3.0/codelist/ISO3166/ |