# CRP20254

Source: https://xmlvalid.com/rules/CRP20254

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

- Level: error
- Rule sets: SAT validations of CFDI 4.0 and Pagos 2.0 Matrices of 25 March 2026 and Pagos 2.0 rev. B
- Context: `pago20:ImpuestosDR/pago20:RetencionesDR/pago20:RetencionDR`
- Test: `mx:between(@BaseDR, @TasaOCuotaDR, false(), @ImporteDR)`

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

Validate a document against these rules: https://xmlvalid.com/validate
