# VF-1156

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

> Para el bloque IDOtro y IDType NIF-IVA (02), el valor de TipoFactura es incorrecto.

- Level: error
- Rule sets: VERI*FACTU checks of the AEAT Validaciones 1.2.2 (8 April 2026)
- Context: `/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta/*:Destinatarios/*:IDDestinatario/*:IDOtro`
- Test: `$type != '02' or normalize-space(ancestor::*:RegistroAlta/*:TipoFactura) = ('F1', 'F3', 'R1', 'R2', 'R3', 'R4')`

In English: A recipient identified by an EU VAT number (IDOtro, IDType 02) is allowed only with TipoFactura F1, F3, R1, R2, R3 or R4.

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