Context
PT
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress
VRBL-Invoice-PT-2p1 - Seller Postal Address
Portugal |
VRBL-Invoice-PT-2p1
| Context ID | INV0312 |
| Usage | M |
Description
A group of business terms providing information about the address of the Seller.
Child elements
| Usage | Element | Description | Cardinality |
|---|---|---|---|
| O | cbc:StreetName |
Seller 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 |
Seller Address Line 2
An additional street name used to further clarify the address. |
0..1 |
| O | cbc:CityName |
Seller City
The name of a city, town, or village. |
0..1 |
| O | cbc:PostalZone |
Seller 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 |
Seller 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 |
Seller Address Line Group
An unstructured address line. |
0..n |
| M | cac:Country |
Seller Country
The country in which this address is situated. |
0..1 |
Details
Example: PT_creditnote_381.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AccountingSupplierParty>
<cac:Party>
<!-- ... omitted for readability -->
<cac:PostalAddress>
<cbc:StreetName>Rua xpto</cbc:StreetName>
<cbc:AdditionalStreetName>additional address data</cbc:AdditionalStreetName>
<cbc:CityName>Amadora</cbc:CityName>
<cbc:PostalZone>2610-074</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:AccountingSupplierParty>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-PT-2p1-54 | The Seller Postal Address must contain the Seller Address Line 1. |
| VRBL-INV-PT-2p1-55 | The Seller Postal Address must contain the Seller City. |
| VRBL-INV-PT-2p1-56 | The Seller Postal Address must contain the Seller Postal Zone. |
| VRBL-INV-PT-2p1-57 | The Seller Address Line 1 does not meet the defined format: alphanumeric with size between 1 and 200. |
| VRBL-INV-PT-2p1-58 | The Seller City does not meet the defined format: alphanumeric with size between 1 and 200. |
| VRBL-INV-PT-2p1-59 | The Seller Postal Zone does not meet the defined format: alphanumeric with size between 1 and 200. |
| VRBL-INV-EN16931-S-204 | The Seller Postal Address expects a maximum of one Seller Address Line Group. |
| VRBL-INV-EN16931-M-135 | The Seller Country Code must be provided in the Seller Postal Address. |