CFDI40222
El complemento de Comercio Exterior no debe existir cuando el campo Exportacion contenga un valor igual a "01" o "03" del catálogo de CFDI c_Exportacion.
In English With Exportacion 01 (no export) or 03 (temporary), the CFDI must not carry the Comercio Exterior complement.
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.