CRP20260

El valor del campo TasaOCuotaDR que corresponde a Traslado no contiene un valor del catálogo c_TasaOcuota o se encuentra fuera de rango (…, …, …).

In English The rate of a related document's transferred tax 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:ImpuestosDR/pago20:TrasladosDR/pago20:TrasladoDR
Test
not(@TasaOCuotaDR) or @TipoFactorDR = 'Exento' or mx:rate(@ImpuestoDR, @TipoFactorDR, @TasaOCuotaDR, true())

Checked with CFDI 4.0