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 |
| Format | ISO 3166-2:IT subset |
| Example Value | IT-VR |
| Mandate Business Term Code | 1.2.2.5 |
| Final Format Path | /FatturaElettronicaHeader/CedentePrestatore/Sede/Provincia |
Description
The subdivision of a country, such as a region, county, state or province.
Italian sellers must use a subset of codes from the ISO 3166-2:IT list.
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]. |