# VF-1149

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

> Si ClaveRegimen es 14, el NIF de Destinatarios debe estar identificado en el censo de la AEAT y comenzar por P, Q, S o V.

- Level: error
- Rule sets: VERI*FACTU checks of the AEAT Validaciones 1.2.2 (8 April 2026)
- Context: `/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta/*:Desglose/*:DetalleDesglose`
- Test: `not($vatlike and $key = '14') or (every $r in $recipients satisfies matches(normalize-space($r/*:NIF), '^[PQSV]'))`

In English: With regime 14 (work certifications for a public administration), every recipient must be identified by a NIF starting with P, Q, S or V and known to the AEAT.

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