# CFDI40222

Source: https://xmlvalid.com/rules/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.

- Level: error
- Rule sets: SAT validations of CFDI 4.0 and Pagos 2.0 Matrices of 25 March 2026 and Pagos 2.0 rev. B
- Context: `/cfdi:Comprobante`
- Test: `not(@Exportacion = ('01', '03') and $cce)`

In English: With Exportacion 01 (no export) or 03 (temporary), the CFDI must not carry the Comercio Exterior complement.

Validate a document against these rules: https://xmlvalid.com/validate
