/ubl:Invoice/cac:AccountingCustomerParty/cec:UBLExtensions/cec:UBLExtension/cec:ExtensionContent/vrbl:AccountingCustomerPartyExtension/vrbl:AdministrativeCentre/cac:PostalAddress

Buyer Administrative Center Address Group

Spain | VRBL-Invoice-ES-FacturaE-3p2
Context ID INV0405
Usage O

Description

Register to provide the address of the company

Child elements
Usage Element Description Cardinality
O cbc:StreetName Buyer Administrative Center Street Name

The name of the street, road, avenue, way, etc. to which the number of the building is attached.

0..1
O cbc:CityName Buyer Administrative Center City Name

The name of a city, town, or village.

0..1
O cbc:PostalZone Buyer Administrative Center 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 Administrative Center 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:Country Buyer Administrative Center Country Group

The country in which this address is situated.

0..1
Details

Example: ES_B2G_Correction_invoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AccountingCustomerParty>
    <ext:UBLExtensions>
      <ext:UBLExtension>
        <ext:ExtensionContent>
          <vrbl:AccountingCustomerPartyExtension>
            <vrbl:AdministrativeCentre>
              <!-- ... omitted for readability -->
              <cac:PostalAddress>
                <cbc:StreetName>Street Centre 1</cbc:StreetName>
                <cbc:CityName>CityCentre1</cbc:CityName>
                <cbc:PostalZone>09009</cbc:PostalZone>
                <cbc:CountrySubentity>Subentity1</cbc:CountrySubentity>
                <cac:Country>
                  <cbc:IdentificationCode>ES</cbc:IdentificationCode>
                </cac:Country>
              </cac:PostalAddress>
            </vrbl:AdministrativeCentre>
            <!-- ... omitted for readability -->
          </vrbl:AccountingCustomerPartyExtension>
        </ext:ExtensionContent>
      </ext:UBLExtension>
    </ext:UBLExtensions>
    <!-- ... omitted for readability -->
  </cac:AccountingCustomerParty>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-ES-B2G-78 When the Buyer Administrative Center Address Group is not Spanish, Buyer Administrative Center Postal Zone + " " + Buyer Administrative Center City Name must not exceed 50 characters because of outbound format constraints.