VRBL-STM-MX-1p0-19

Basic Info

Rule If the Statement Buyer Party Legal Entity Registration Name is 'PUBLICO EN GENERAL' the Statement Buyer Tax Company ID must be 'XAXX010101000'.
Context /ubl:Statement/cac:AccountingCustomerParty/cac:Party/cac:PartyLegalEntity/cbc:RegistrationName
Pattern vrbl-payments-mx-1p0
Severity fatal

Implementation

not(
	. = 'PUBLICO EN GENERAL'
) 
or
../../cac:PartyTaxScheme/cbc:CompanyID = 'XAXX010101000'