CFDI40213

Deben exitir los campos Base, Impuesto y TipoFactor.

In English An exempt transferred tax in the summary has only Base, Impuesto and TipoFactor.

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
/cfdi:Comprobante/cfdi:Impuestos/cfdi:Traslados/cfdi:Traslado
Test
not($factor = 'Exento') or not(@TasaOCuota or @Importe)

Checked with CFDI 4.0