Context
IT
/ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:CountrySubentity
VRBL-Invoice-IT-1p2 - Buyer Country Subentity
Italy |
VRBL-Invoice-IT-1p2
| Context ID | INV0440 |
| Usage | O* |
| Usage Description | To be populated if CountryCode=IT |
| Format | ISO 3166-2:IT subset |
| Example Value | IT-VR |
| Mandate Business Term Code | 1.4.3.5 |
| Final Format Path | /FatturaElettronicaHeader/CessionarioCommittente/StabileOrganizzazione/Provincia |
Description
The subdivision of a country, such as a region, county, state or province.
In Italy to provide the Italian buyer province/state, use a subset of codes from the ISO 3166-2:IT list.
Details
Example: IT_creditnote_TD04.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AccountingCustomerParty>
<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:AccountingCustomerParty>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-IT-1p2-101 | When the Buyer Country Code is 'IT', the value of the Buyer Country Subentity must be contained in ISO 3166-2:IT [VRBL-CL-IT-ProvinceStateCode]. |