# CFDI40141

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

> La clave del campo RegimenFiscal debe corresponder con el tipo de persona (fisica o moral) (…, RFC …).

- 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:Emisor`
- Test: `mx:regime(@RegimenFiscal, @Rfc)`

In English: The issuer's RegimenFiscal must be a regime for its kind of person: an RFC of 12 characters is a company (persona moral), of 13 a person (persona física).

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