VRBL-STM-MX-1p0-20

Basic Info

Rule If the Statement Buyer Tax Company ID is 'XAXX010101000' the Statement Buyer Country Group must not exist.
Context /ubl:Statement/cac:AccountingCustomerParty/cac:Party/cac:PostalAddress
Pattern vrbl-payments-mx-1p0
Severity fatal

Implementation

not(
	../cac:PartyTaxScheme/cbc:CompanyID = 'XAXX010101000'
)
or
not(boolean(cac:Country))