# VF-1202

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

> Si ClaveRegimen es 06 TipoFactura no puede ser F2, F3, R5 y BaseImponibleACoste debe estar cumplimentado.

- 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 = '06') or (not($type = ('F2', 'F3', 'R5')) and *:BaseImponibleACoste)`

In English: With regime 06 (VAT group, advanced level), TipoFactura may not be F2, F3 or R5, and BaseImponibleACoste is required.

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