Context
RO
/ubl:Invoice/cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:CountrySubentity
VRBL-Invoice-RO-1p0 - Delivery Location Country Subentity
Romania |
VRBL-Invoice-RO-1p0
| Context ID | INV0662 |
| Usage | O |
| Format | Text |
| Mandate Business Term Code | BT-79 |
| Final Format Path | /ubl:Invoice/cac:Delivery/cac:DeliveryLocation/cac:Address/cbc:CountrySubentity |
Description
The subdivision of a country. Such as a region, a county, a state, a province etc..
Details
Example: RO_creditnote_381_v1.0.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:Delivery>
<!-- ... omitted for readability -->
<cac:DeliveryLocation>
<cac:Address>
<!-- ... omitted for readability -->
<cbc:CountrySubentity>RO-CT</cbc:CountrySubentity>
<!-- ... omitted for readability -->
</cac:Address>
</cac:DeliveryLocation>
<!-- ... omitted for readability -->
</cac:Delivery>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-RO-1p0-71 | If the Delivery Location Country Code is RO, the value of the Delivery Location Country Subentity must be contained in ISO 3166-2 RO code list [VRBL-CL-RO-ISO-3166]. Allowed values: RO-AB, RO-AG, RO-AR, RO-B, RO-BC, RO-BH, RO-BN, RO-BR, RO-BT, RO-BV, RO-BZ, RO-CJ, RO-CL, RO-CS, RO-CT, RO-CV, RO-DB, RO-DJ, RO-GJ, RO-GL, RO-GR, RO-HD, RO-HR, RO-IF, RO-IL, RO-IS, RO-MH, RO-MM, RO-MS, RO-NT, RO-OT, RO-PH, RO-SB, RO-SJ, RO-SM, RO-SV, RO-TL, RO-TM, RO-TR, RO-VL, RO-VN, RO-VS. |