Context
IT
/ubl:Invoice/cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:CountrySubentity
VRBL-Invoice-IT-1p2 - Delivery Location Country Subentity
Italy |
VRBL-Invoice-IT-1p2
| Context ID | INV0662 |
| Usage | O |
Description
The subdivision of a country. Such as a region, a county, a state, a province etc..
Details
Example: IT_invoice_full.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:Delivery>
<!-- ... omitted for readability -->
<cac:DeliveryLocation>
<cac:Address>
<!-- ... omitted for readability -->
<cbc:CountrySubentity>IT-VR</cbc:CountrySubentity>
<!-- ... omitted for readability -->
</cac:Address>
</cac:DeliveryLocation>
<!-- ... omitted for readability -->
</cac:Delivery>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-IT-1p2-133 | When the Delivery Location Country Code is 'IT', the value of the Delivery Location Country Subentity must be contained in ISO 3166-2:IT [VRBL-CL-IT-ProvinceStateCode]. |