Context
MX
/ubl:Invoice/cac:InvoiceLine/cac:OriginatorParty/cac:PartyTaxScheme/cbc:CompanyID
VRBL-Invoice-MX-1p0 - Invoice Line Originator Party Tax Company ID
Mexico |
VRBL-Invoice-MX-1p0
| Context ID | INV1654 |
| Usage | O |
Description
An identifier for the party assigned for tax purposes by the taxation authority.
Details
Example: VRBL_MX_ThirdParty.xml
<ubl:Invoice>
<!-- ... omitted for readability -->
<cac:InvoiceLine>
<!-- ... omitted for readability -->
<cac:OriginatorParty>
<!-- ... omitted for readability -->
<cac:PartyTaxScheme>
<cbc:CompanyID>EPR851027XA2</cbc:CompanyID>
<!-- ... omitted for readability -->
</cac:PartyTaxScheme>
<!-- ... omitted for readability -->
</cac:OriginatorParty>
<!-- ... omitted for readability -->
</cac:InvoiceLine>
</ubl:Invoice>
Rules
| Rule ID | Error Message |
|---|---|
| VRBL-INV-MX-1p0-63 | When the Invoice Line Originator Party Country Identification Code is MX or is empty, the Invoice Line Originator Party Tax Company ID must be a valid RFC. For a Legal Entity, 12 characters are expected (3 Letters, 6 Digits, 3 Alphanumeric). For a Natural Person, 13 characters are expected (4 Letters, 6 Digits, 3 Alphanumeric). |