CRP20224

El campo CtaOrdenante no se debe registrar.

In English CtaOrdenante (the payer's account) is only given for payment forms 02, 03, 04, 05, 06, 28 and 29.

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:Pagos/pago20:Pago
Test
not(@CtaOrdenante) or $form = ('02', '03', '04', '05', '06', '28', '29')

Checked with CFDI 4.0