CRP20249

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

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

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:RetencionesDR/pago20:RetencionDR
Test
mx:dec(@BaseDR) gt 0

Checked with CFDI 4.0