CRP20227

El campo RfcEmisorCtaBen no se debe registrar.

In English RfcEmisorCtaBen (the RFC of the beneficiary's bank) is only given for payment forms 02, 03, 04, 05, 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(@RfcEmisorCtaBen) or $form = ('02', '03', '04', '05', '28', '29')

Checked with CFDI 4.0