Rules
VRBL-STM-MX-1p0-21
Basic Info
| Rule | If the Statement Buyer Tax Company ID is 'XAXX010101000' or 'XEXX010101000' the Statement Buyer Postal Zone must be equal to the Statement Seller Postal Zone. |
| Context |
/ubl:Statement/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress/cbc:PostalZone
|
| Pattern | vrbl-payments-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