Context
ES
/ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress
VRBL-Invoice-ES-FacturaE-3p2 - Buyer Postal Address
Spain |
VRBL-Invoice-ES-FacturaE-3p2
| Context ID | INV0433 |
| Usage | M |
Description
A group of business terms providing information about the postal address for the Buyer.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| O | cbc:StreetName |
Buyer Address Line 1
The name of the street, road, avenue, way, etc. to which the number of the building is attached. |
0..1 |
| O | cbc:CityName |
Buyer City
The name of a city, town, or village. |
0..1 |
| O | cbc:PostalZone |
Buyer Postal Zone
The postal identifier for this address according to the relevant national postal service, such as a ZIP code or Post Code. |
0..1 |
| O | cbc:CountrySubentity |
Buyer Country Subentity
The political or administrative division of a country in which this address is located, such as the name of its county, province, or state, expressed as text. |
0..1 |
| M | cac:Country |
Buyer Country
The country in which this address is situated. |
0..1 |
Details
Example: ES_B2G_Correction_invoice.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AccountingCustomerParty>
<!-- ... omitted for readability -->
<cac:Party>
<!-- ... omitted for readability -->
<cac:PostalAddress>
<cbc:StreetName>Street Name 3</cbc:StreetName>
<cbc:CityName>City3</cbc:CityName>
<cbc:PostalZone>09091</cbc:PostalZone>
<cbc:CountrySubentity>Subentity3</cbc:CountrySubentity>
<cac:Country>
<cbc:IdentificationCode>ES</cbc:IdentificationCode>
</cac:Country>
</cac:PostalAddress>
<!-- ... omitted for readability -->
</cac:Party>
</cac:AccountingCustomerParty>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-ES-B2G-59 | When the Buyer Postal Address is not Spanish, Buyer Postal Zone + " " + Buyer City must not exceed 50 characters because of outbound format constraints. |