# VF-1260

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

> El campo ClaveRegimen solo debe de estar cumplimentado si el campo Impuesto está vacío o tiene valor IVA(01) o IPSI(02) o IGIC(03)

- 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(*:ClaveRegimen) or $tax = ('01', '02', '03')`

In English: ClaveRegimen may only be given when the tax is VAT (01), IPSI (02), IGIC (03) or left out.

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