# VF-1148

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

> Si la ClaveRegimen es 14, el campo TipoFactura debe ser F1, R1, R2, R3 o R4.

- 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 $type = ('F1', 'R1', 'R2', 'R3', 'R4')`

In English: With regime 14, TipoFactura must be F1, R1, R2, R3 or R4.

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