/ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:CityName

Buyer City

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

Description

The common name of the city, town or village, where the Buyer’s address is located.

Details

Example: ES_B2G_Correction_invoice.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AccountingCustomerParty>
    <!-- ... omitted for readability -->
    <cac:Party>
      <!-- ... omitted for readability -->
      <cac:PostalAddress>
        <!-- ... omitted for readability -->
        <cbc:CityName>City3</cbc:CityName>
        <!-- ... omitted for readability -->
      </cac:PostalAddress>
      <!-- ... omitted for readability -->
    </cac:Party>
  </cac:AccountingCustomerParty>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-ES-B2G-61 The allowed maximum number of characters for the Buyer City is 50.