# VF-1192

Source: https://xmlvalid.com/rules/VF-1192

> Si TipoFactura es R2 sólo se admitirá NIF o IDType = No Censado (07) o NIF-IVA (02).

- Level: error
- Rule sets: VERI*FACTU checks of the AEAT Validaciones 1.2.2 (8 April 2026)
- Context: `/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta`
- Test: `not($type = 'R2') or (every $r in $recipients satisfies ($r/*:NIF or normalize-space($r/*:IDOtro/*:IDType) = ('02', '07')))`

In English: With TipoFactura R2, recipients may only be identified by NIF, as not registered (IDType 07) or by an EU VAT number (02).

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