CRP20261

El valor del campo ImporteDR o que corresponde a Traslado no se encuentra entre el limite inferior y superior permitido (…, … × …).

In English The ImporteDR of a related document's transferred tax must be BaseDR times TasaOCuotaDR, within the limits of Anexo 20.

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 and @ImporteDR) or mx:between(@BaseDR, @TasaOCuotaDR, false(), @ImporteDR)

Checked with CFDI 4.0