Context
IT
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:AgentParty/cac:PostalAddress/cbc:CountrySubentity
VRBL-Invoice-IT-1p2 - Seller Agent Party Country Subentity
Italy |
VRBL-Invoice-IT-1p2
| Context ID | INV0391 |
| Usage | O |
Description
The political or administrative division of a country in which this address is located, such as the name of its county, province, or state, expressed as text.
Details
Example: IT_invoice_full.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AccountingSupplierParty>
<!-- ... omitted for readability -->
<cac:Party>
<!-- ... omitted for readability -->
<cac:AgentParty>
<cac:PostalAddress>
<!-- ... omitted for readability -->
<cbc:CountrySubentity>IT-VR</cbc:CountrySubentity>
<!-- ... omitted for readability -->
</cac:PostalAddress>
</cac:AgentParty>
</cac:Party>
</cac:AccountingSupplierParty>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-IT-1p2-90 | When the Seller Agent Party Country Identification Code is 'IT', the value of the Seller Agent Party Country Subentity must be contained in ISO 3166-2:IT [VRBL-CL-IT-ProvinceStateCode]. |