VRBL-STM-MX-1p0-25

Basic Info

Rule If the Statement Buyer Tax Company ID is 'XEXX010101000' the Statement Buyer Tax Scheme ID must be VRBL:MX:616.
Context /ubl:Statement/cac:AccountingCustomerParty/cac:Party/cac:PartyTaxScheme/cac:TaxScheme/cbc:ID
Pattern vrbl-payments-mx-1p0
Severity fatal

Implementation

not(
	../../cbc:CompanyID = 'XEXX010101000'
)
or
. = concat($VRBL-MX-Prefix,'616')