CRP20254
El valor del campo ImporteDR que corresponde a Retención no se encuentra entre el limite inferior y superior permitido (…, … × …).
In English The ImporteDR of a related document's withholding must be BaseDR times TasaOCuotaDR, within the limits of Anexo 20.
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.
pago20:ImpuestosDR/pago20:RetencionesDR/pago20:RetencionDR
mx:between(@BaseDR, @TasaOCuotaDR, false(), @ImporteDR)
Checked with CFDI 4.0