# CFDI40154

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

> El valor del campo es un RFC inscrito no cancelado en el SAT o un RFC genérico nacional, y se registró el campo NumRegIdTrib.

- 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: `$foreign or not(@NumRegIdTrib)`

In English: NumRegIdTrib (a foreign tax number) must be left out unless the receiver has the generic foreign RFC XEXX010101000.

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