/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress

Seller Postal Address

Spain | VRBL-Invoice-ES-FacturaE-3p2
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: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
M cac:Country Seller Country

The country in which this address is situated.

0..1
Details

Example: ES_B2G_Correction_invoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AccountingSupplierParty>
    <!-- ... omitted for readability -->
    <cac:Party>
      <!-- ... omitted for readability -->
      <cac:PostalAddress>
        <cbc:StreetName>Street Name 1</cbc:StreetName>
        <cbc:CityName>City</cbc:CityName>
        <cbc:PostalZone>09090</cbc:PostalZone>
        <cbc:CountrySubentity>Subentity</cbc:CountrySubentity>
        <cac:Country>
          <cbc:IdentificationCode>ES</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-ES-B2G-49 When the Seller Postal Address is not Spanish, Seller Postal Zone + " " + Seller City must not exceed 50 characters because of outbound format constraints.