VRBL-INV-MX-1p0-31

Basic Info

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

Implementation

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