Context
PT
/ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress
VRBL-Invoice-PT-SAF-T-1p0 - Buyer Postal Address
Portugal |
VRBL-Invoice-PT-SAF-T-1p0
| Context ID | INV0433 |
| Usage | M |
Description
Group for buyer postal address details.
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:BuildingNumber |
Buyer Building Number
The number of a building within the street. |
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 |
| O | cbc:Region |
Buyer Region
The recognized geographic or economic region or group of countries in which this address is located. |
0..1 |
| M | cac:Country |
Buyer Country
The country in which this address is situated. |
0..1 |
Details
Example: VRBL_BASIC_CREDIT_NOTE.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AccountingCustomerParty>
<!-- ... omitted for readability -->
<cac:Party>
<!-- ... omitted for readability -->
<cac:PostalAddress>
<cbc:Floor>5</cbc:Floor>
<cbc:StreetName>Rua xpto 2</cbc:StreetName>
<cbc:BuildingNumber>BN3</cbc:BuildingNumber>
<cbc:CityName>Amadora</cbc:CityName>
<cbc:PostalZone>2610-011</cbc:PostalZone>
<cbc:CountrySubentity>Amadora</cbc:CountrySubentity>
<cbc:Region>Lisboa</cbc:Region>
<cac:Country>
<cbc:IdentificationCode>PT</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-PT-SAF-T-1p0-16 | The Buyer City must exist within the Buyer Postal Address. |
| VRBL-INV-PT-SAF-T-1p0-17 | The Buyer Postal Zone must exist within the Buyer Postal Address. |