# CRP20249

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

> El valor del campo BaseDR que corresponde a Retención debe ser mayor que cero.

- 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:dec(@BaseDR) gt 0`

In English: The BaseDR of a related document's withholding must be more than zero.

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