CRP20211
El valor del campo MontoTotalPagos no es igual al redondeo de la suma del resultado de multiplicar cada uno de los atributos Monto por el valor registrado en el atributo TipoCambioP de cada nodo Pago (…, …).
In English MontoTotalPagos must be the sum, rounded, of each payment's Monto times its TipoCambioP.
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.
pago20:Pagos/pago20:Totales
abs(mx:dec(@MontoTotalPagos) - $paid) le 0.005
Checked with CFDI 4.0