Context
MY
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress
VRBL-Invoice-MY-1p0 - Seller Postal Address
Malaysia |
VRBL-Invoice-MY-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 |
| 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 |
| 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:AddressLine |
Seller Address Line Group
An unstructured address line. |
0..n |
| M | cac:Country |
Seller Country
The country in which this address is situated. |
0..1 |
Details
Example: MY_creditnote_02_v1.0_commented.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AccountingSupplierParty>
<!-- ... omitted for readability -->
<cac:Party>
<!-- ... omitted for readability -->
<cac:PostalAddress>
<cbc:StreetName>Lot 66</cbc:StreetName>
<cbc:AdditionalStreetName>Bangunan Merdeka</cbc:AdditionalStreetName>
<cbc:CityName>Kuala Lumpur</cbc:CityName>
<cbc:PostalZone>50480</cbc:PostalZone>
<cbc:CountrySubentityCode>VRBL:MY:14</cbc:CountrySubentityCode>
<cac:AddressLine>
<cbc:Line>Persiaran Jaya</cbc:Line>
</cac:AddressLine>
<cac:Country>
<cbc:IdentificationCode>MY</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-MY-1p0-45 | The Seller City must exist within the Seller Postal Address. |
| VRBL-INV-MY-1p0-46 | The Seller Country Subentity Code must be provided, if the Seller Country Code is 'MY', and follow the VRBL Country Subentity Code List, or the ISO 3166-2 Code List. |
| VRBL-INV-MY-1p0-47 | The Seller Country must exist within the Seller Postal Address. |