CRP20214

El campo TipoCambioP se debe registrar.

In English A payment in a currency other than MXN must have TipoCambioP.

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
$cur = 'MXN' or @TipoCambioP

Checked with CFDI 4.0