CRP20239

El campo ImpSaldoAnt debe mayor a cero.

In English A related document's previous balance (ImpSaldoAnt) 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:Pago/pago20:DoctoRelacionado
Test
mx:dec(@ImpSaldoAnt) gt 0

Checked with CFDI 4.0