Context
MX
/ubl:Invoice/cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:CountrySubentityCode
VRBL-Invoice-MX-1p0 - Seller Country Subentity Code
Mexico |
VRBL-Invoice-MX-1p0
| Context ID | INV0320 |
| Usage | O |
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).
Details
Example: VRBL_MX_ForeignTrade_USD.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:AccountingSupplierParty>
<cac:Party>
<!-- ... omitted for readability -->
<cac:PostalAddress>
<!-- ... omitted for readability -->
<cbc:CountrySubentityCode>VRBL:MX:016</cbc:CountrySubentityCode>
<!-- ... omitted for readability -->
</cac:PostalAddress>
<!-- ... omitted for readability -->
</cac:Party>
</cac:AccountingSupplierParty>
<!-- ... omitted for readability -->
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-MX-1p0-84 | For a Foreign Trade Invoice, the value of the Seller Country Subentity Code must be contained in Country Subentity Code [VRBL-CL-MX-CountrySubentityCode] (prefixed by 'VRBL:MX:'). |