CRP20272

El valor seleccionado debe corresponder a un valor del catálogo Tasa O Cuota donde la columna impuesto corresponda con el campo ImpuestoP y la columna factor corresponda con el campo TipoFactorP.

In English The rate of a TrasladoP is not in catalogue c_TasaOCuota for its tax and factor.

error: the document is invalid

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.

Context
pago20:ImpuestosP/pago20:TrasladosP/pago20:TrasladoP
Test
$exempt or not(@TasaOCuotaP) or mx:rate($tax, $factor, @TasaOCuotaP, true())

Checked with CFDI 4.0