Context
IN
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress
VRBL-Invoice-IN-1p0 - Seller Postal Address
India |
VRBL-Invoice-IN-1p0
| 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 |
|---|---|---|---|
| M | 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:AdditionalStreetName |
Seller Address Line 2
An additional street name used to further clarify the address. |
0..1 |
| M | cbc:CityName |
Seller City
The name of a city, town, or village. |
0..1 |
| M | 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 |
| M | cbc:CountrySubentityCode |
Seller 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 |
Seller 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:AccountingSupplierParty>
<cac:Party>
<!-- ... omitted for readability -->
<cac:PostalAddress>
<cbc:StreetName>StreetA 45</cbc:StreetName>
<cbc:AdditionalStreetName>145</cbc:AdditionalStreetName>
<cbc:CityName>City A</cbc:CityName>
<cbc:PostalZone>201301</cbc:PostalZone>
<cbc:CountrySubentityCode>VRBL:IN:09</cbc:CountrySubentityCode>
<cac:Country>
<cbc:IdentificationCode>IN</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-IN-1p0-7 | The Seller Address Line 1 must exist within the Seller Postal Address. |
| VRBL-INV-IN-1p0-8 | The Seller City must exist within the Seller Postal Address. |
| VRBL-INV-IN-1p0-9 | The Seller Postal Zone must exist within the Seller Postal Address. |
| VRBL-INV-IN-1p0-10 | The Seller Country Subentity Code must exist within the Seller Postal Address. |