CFDI40180
El valor del campo Importe o que corresponde a Traslado no se encuentra entre el limite inferior y superior permitido (…, … × …).
In English The Importe of a line's transferred tax must be Base times TasaOCuota, between (Base - half a unit) × rate truncated and (Base + half a unit) × rate rounded up, to the decimals written.
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.
cfdi:Concepto/cfdi:Impuestos/cfdi:Traslados/cfdi:Traslado
not(@TasaOCuota and @Importe) or mx:between(@Base, @TasaOCuota, false(), @Importe)
Checked with CFDI 4.0