# CFDI40152

Source: https://xmlvalid.com/rules/CFDI40152

> El valor del campo ResidenciaFiscal no puede ser MEX.

- 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/cfdi:Receptor`
- Test: `not(@ResidenciaFiscal = 'MEX')`

In English: The receiver's ResidenciaFiscal cannot be MEX: it is the country of a foreign receiver.

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