CFDI40185
El valor del campo TasaOCuota que corresponde a Retención, no contiene un valor del catálogo c_TasaOcuota o se encuentra fuera de rango (…, …, …).
In English The rate of a line's withholding is not in catalogue c_TasaOCuota for its tax and factor: ISR up to 0.35, VAT up to 0.16, or an IEPS rate or quota.
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:Retenciones/cfdi:Retencion
@TipoFactor = 'Exento' or mx:rate(@Impuesto, @TipoFactor, @TasaOCuota, false())
Checked with CFDI 4.0