# VF-1159

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

> Se está informando del bloque Tercero cuando se indica que se va a informar de Destinatario.

- Level: error
- Rule sets: VERI*FACTU checks of the AEAT Validaciones 1.2.2 (8 April 2026)
- Context: `/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta`
- Test: `not(*:Tercero) or $by != 'D'`

In English: The Tercero block is given although EmitidaPorTerceroODestinatario says the recipient (D) issued the invoice.

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