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