# CFDI40130

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

> Cuando el tipo de comprobante sea Ingreso y el campo Rfc del nodo receptor corresponda al valor "XAXX010101000" y el campo Nombre del nodo Receptor contenga la descripción "PUBLICO EN GENERAL", el nodo Información Global debe existir.

- 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($type = 'I' and normalize-space(cfdi:Receptor/@Rfc) = 'XAXX010101000' and normalize-space(cfdi:Receptor/@Nombre) = 'PUBLICO EN GENERAL') or cfdi:InformacionGlobal`

In English: An income CFDI to the general public (receiver RFC XAXX010101000, name PUBLICO EN GENERAL) is a global invoice and must have InformacionGlobal (periodicity, months, year).

## Why it fails

- A sale to a customer who gave no RFC, written with the generic RFC and PUBLICO EN GENERAL, but issued as an ordinary invoice.

## How to fix it

- For a global invoice add InformacionGlobal; for a single customer without an RFC use the generic RFC with the customer's own name, which then needs no InformacionGlobal.

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