/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:CountrySubentityCode

Seller Country Subentity Code

Malaysia | VRBL-Invoice-MY-1p0
Context ID INV0320
Usage M

Description

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).

Malaysia documents a state code list which largely overlaps with the standard ISO-3166 definition, but which also adds values for 00 (All States) and 17 (Not Applicable). Either the ISO 3166 code, or the VRBL:MY: prefixed Malaysian code are supported.

Details

vrbl-invoice-my-1p0

Use code VRBL:MY:17 (Not Applicable) for foreign companies.

Code Standard Code Description
VRBL:MY:00 `` All States
VRBL:MY:01 `MY-01` Johor
VRBL:MY:02 `MY-02` Kedah
VRBL:MY:03 `MY-03` Kelantan
VRBL:MY:04 `MY-04` Melaka
VRBL:MY:05 `MY-05` Negeri Sembilan
VRBL:MY:06 `MY-06` Pahang
VRBL:MY:07 `MY-07` Pulau Pinang
VRBL:MY:08 `MY-08` Perak
VRBL:MY:09 `MY-09` Perlis
VRBL:MY:10 `MY-10` Selangor
VRBL:MY:11 `MY-11` Terengganu
VRBL:MY:12 `MY-12` Sabah
VRBL:MY:13 `MY-13` Sarawak
VRBL:MY:14 `MY-14` Wilayah Persekutuan Kuala Lumpur
VRBL:MY:15 `MY-15` Wilayah Persekutuan Labuan
VRBL:MY:16 `MY-16` Wilayah Persekutuan Putrajaya
VRBL:MY:17 `` Not Applicable

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>
        <!-- ... omitted for readability -->
        <cbc:CountrySubentityCode>VRBL:MY:14</cbc:CountrySubentityCode>
        <!-- ... omitted for readability -->
      </cac:PostalAddress>
      <!-- ... omitted for readability -->
    </cac:Party>
  </cac:AccountingSupplierParty>
  <!-- ... omitted for readability -->
</ubl:Invoice>