CRP20253
El valor del campo TasaOCuotaDR que corresponde a Retención, no contiene un valor del catálogo c_TasaOcuota o se encuentra fuera de rango (…, …, …).
In English The rate of a related document's withholding is not in catalogue c_TasaOCuota for its tax and factor.
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
@TipoFactorDR = 'Exento' or mx:rate(@ImpuestoDR, @TipoFactorDR, @TasaOCuotaDR, false())
Checked with CFDI 4.0