VRBL-INV-MX-1p0-25

Basic Info

Rule When the Buyer Party Name Group is PUBLICO EN GENERAL and the Buyer Tax Company ID (RFC) is XAXX010101000, the Invoice Period Group must exist.
Context /ubl:Invoice
Pattern vrbl-invoice-mx-1p0
Severity fatal

Implementation

not(
	$CustomerRFC = 'XAXX010101000'
	and
	$CustomerName = 'PUBLICO EN GENERAL'
)
or
boolean(cac:InvoicePeriod)