VRBL-INV-MX-1p0-25

Basic Info

Rule When the Buyer Trading Name is PUBLICO EN GENERAL and the Buyer Tax ID (RFC) is XAXX010101000, the Invoicing Period 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)