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

Buyer Postal Address

India | VRBL-Invoice-IN-1p0
Context ID INV0433
Usage M

Description

A group of business terms providing information about the postal address for the Buyer.

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

An additional street name used to further clarify the address.

0..1
M cbc:CityName Buyer City

The name of a city, town, or village.

0..1
M cbc:PostalZone Buyer 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
M cbc:CountrySubentityCode Buyer Country Subentity Code

The political or administrative division of a country in which this address is located, such as a county, province, or state, expressed as a code (typically nationally agreed).

0..1
O cac:Country Buyer Country

The country in which this address is situated.

0..1
Details

Example: IN_Credit-Note_with_E-way_bill.xml

<ubl:Invoice>
  <!-- ... omitted for readability -->
  <cac:AccountingCustomerParty>
    <!-- ... omitted for readability -->
    <cac:Party>
      <!-- ... omitted for readability -->
      <cac:PostalAddress>
        <cbc:StreetName>Street B 9</cbc:StreetName>
        <cbc:AdditionalStreetName>17843</cbc:AdditionalStreetName>
        <cbc:CityName>City B</cbc:CityName>
        <cbc:PostalZone>263001</cbc:PostalZone>
        <cbc:CountrySubentityCode>VRBL:IN:05</cbc:CountrySubentityCode>
        <cac:Country>
          <cbc:IdentificationCode>IN</cbc:IdentificationCode>
        </cac:Country>
      </cac:PostalAddress>
      <!-- ... omitted for readability -->
    </cac:Party>
  </cac:AccountingCustomerParty>
  <!-- ... omitted for readability -->
</ubl:Invoice>
Rules
Rule ID Error Message
VRBL-INV-IN-1p0-15 The Buyer Address Line 1 must exist within the Buyer Postal Address.
VRBL-INV-IN-1p0-16 The Buyer City must exist within the Buyer Postal Address.
VRBL-INV-IN-1p0-17 The Buyer Postal Zone must exist within the Buyer Postal Address.
VRBL-INV-IN-1p0-18 When the Buyer Country Code is 'IN', the Buyer Country Subentity Code must exist within the Buyer Postal Address.