/ubl:Invoice/cac:Delivery/cac:DeliveryLocation/cac:Address

Delivery Location Address

Portugal | VRBL-Invoice-PT-2p1
Context ID INV0655
Usage O

Description

A group of business terms providing information about the address to which goods and services invoiced were or are delivered.

Child elements
Usage Element Description Cardinality
O cbc:StreetName Delivery Location 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 Delivery Location Address Line 2

An additional street name used to further clarify the address.

0..1
O cbc:CityName Delivery Location City

The name of a city, town, or village.

0..1
O cbc:PostalZone Delivery Location 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 Delivery Location 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 Delivery Location Address Line Group

An unstructured address line.

0..n
M cac:Country Delivery Location Country

The country in which this address is situated.

0..1
Details

Example: PT_creditnote_381.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:Delivery>
    <!-- ... omitted for readability -->
    <cac:DeliveryLocation>
      <!-- ... omitted for readability -->
      <cac:Address>
        <cbc:StreetName>Morada 23</cbc:StreetName>
        <cbc:AdditionalStreetName>additional address data</cbc:AdditionalStreetName>
        <cbc:CityName>Amadora</cbc:CityName>
        <cbc:PostalZone>2610-999</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:Address>
    </cac:DeliveryLocation>
    <!-- ... omitted for readability -->
  </cac:Delivery>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-PT-2p1-121 Each Delivery Location Address must contain the Delivery Location Address Line 1.
VRBL-INV-PT-2p1-122 Each Delivery Location Address must contain the Delivery Location City.
VRBL-INV-PT-2p1-123 Each Delivery Location Address must contain the Delivery Location Postal Zone.
VRBL-INV-PT-2p1-124 The Delivery Location Address Line 1 does not meet the defined format: alphanumeric with size between 1 and 200.
VRBL-INV-PT-2p1-125 The Delivery Location City does not meet the defined format: alphanumeric with size between 1 and 200.
VRBL-INV-PT-2p1-126 The Delivery Location Postal Zone does not meet the defined format: alphanumeric with size between 1 and 200.
VRBL-INV-EN16931-S-207 The Delivery Location Address expects a maximum of one Delivery Location Address Line Group.
VRBL-INV-EN16931-M-10 The Delivery Location Country Code must exist within the Delivery Location Address.