VRBL-STM-MX-1p0-23

Basic Info

Rule If the Statement Buyer Tax Company ID is 'XEXX010101000' the Statement Buyer Country Identification Code must exist.
Context /ubl:Statement/cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cbc:CompanyID
Pattern vrbl-payments-mx-1p0
Severity fatal

Implementation

not(
	. = 'XEXX010101000'
)
or
boolean(../../cac:PostalAddress/cac:Country/cbc:IdentificationCode)