Rules
VRBL-INV-MX-1p0-30
Basic Info
| Rule | If the Buyer Tax ID is 'XAXX010101000' or 'XEXX010101000' the Buyer Postal Zone must be equal to the Seller Postal Zone. |
| Context |
/ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:PostalZone
|
| Pattern | vrbl-invoice-mx-1p0 |
| Severity | fatal |
Implementation
not(
../../cac:PartyTaxScheme/cbc:CompanyID = 'XAXX010101000'
or
../../cac:PartyTaxScheme/cbc:CompanyID = 'XEXX010101000'
)
or
. = ../../../../cac:AccountingSupplierParty/cac:Party/cac:PostalAddress/cbc:PostalZone