# VF-1221

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

> El valor del campo IDType del sistema informático es incorrecto (…).

- Level: error
- Rule sets: VERI*FACTU checks of the AEAT Validaciones 1.2.2 (8 April 2026)
- Context: `/*:RegFactuSistemaFacturacion/*:RegistroFactura/*/*:SistemaInformatico/*:IDOtro`
- Test: `normalize-space(*:IDType) != '07' and (normalize-space(*:CodigoPais) != 'ES' or normalize-space(*:IDType) = '03')`

In English: The producer of the invoicing software, identified by IDOtro, may not have IDType 07, and with CodigoPais ES must have IDType 03 (passport).

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