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 |
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: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]. |