# VF-1257

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

> El campo BaseImponibleACoste solo puede estar cumplimentado si la ClaveRegimen es = '06' o Impuesto = '02' (IPSI) o Impuesto = '05' (Otros).

- 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(*:BaseImponibleACoste) or $key = '06' or $tax = ('02', '05')`

In English: BaseImponibleACoste may only be given with regime 06 or for IPSI (02) and other taxes (05).

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