Context
PT
/ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress
VRBL-Invoice-PT-2p1 - Buyer Postal Address
Portugal |
VRBL-Invoice-PT-2p1
| 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:AdditionalStreetName |
Buyer Address Line 2
An additional street name used to further clarify the address. |
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 | cac:AddressLine |
Buyer Address Line Group
An unstructured address line. |
0..n |
| M | cac:Country |
Buyer Country
The country in which this address is situated. |
0..1 |
Details
Example: PT_creditnote_381.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AccountingCustomerParty>
<cac:Party>
<!-- ... omitted for readability -->
<cac:PostalAddress>
<cbc:StreetName>Rua xpto 2</cbc:StreetName>
<cbc:AdditionalStreetName>additional address data</cbc:AdditionalStreetName>
<cbc:CityName>Amadora</cbc:CityName>
<cbc:PostalZone>2610-011</cbc:PostalZone>
<cbc:CountrySubentity>Amadora</cbc:CountrySubentity>
<cac:AddressLine>
<cbc:Line>other additional address data</cbc:Line>
</cac:AddressLine>
<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-EN16931-S-205 | The Buyer Postal Address expects a maximum of one Buyer Address Line Group. |
| VRBL-INV-EN16931-M-9 | The Buyer Country Code must be provided in the Buyer Postal Address. |