# VF-1147

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

> Si ClaveRegimen es 14, FechaOperacion es obligatoria y debe ser posterior a la FechaExpedicionFactura.

- 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 (exists(es:date($alta/*:FechaOperacion)) and es:date($alta/*:FechaOperacion) gt es:date($alta/*:IDFactura/*:FechaExpedicionFactura))`

In English: With regime 14, FechaOperacion is required and must be after the invoice date.

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