VRBL-INV-MX-1p0-29

Basic Info

Rule If the Buyer Party Name Group is 'PUBLICO EN GENERAL' the Buyer Tax Company ID must be 'XAXX010101000'.
Context /ubl:Invoice/cac:AccountingCustomerParty/cac:Party/cac:PartyName/cbc:Name
Pattern vrbl-invoice-mx-1p0
Severity fatal

Implementation

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