# VF-1146

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

> Sólo se permite que la fecha de expedicion de la factura sea anterior a la fecha operación si los detalles del desglose son ClaveRegimen 14 o 15 e Impuesto 01, 03 o vacío.

- Level: error
- Rule sets: VERI*FACTU checks of the AEAT Validaciones 1.2.2 (8 April 2026)
- Context: `/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta`
- Test: `empty($issued) or empty($operation) or not($issued lt $operation) or $vatlike/*:ClaveRegimen[normalize-space(.) = ('14', '15')] or not($vatlike)`

In English: The invoice may be dated before the operation (FechaOperacion) only when a breakdown line has regime 14 or 15 (VAT not yet due) and the tax is VAT, IGIC or left out.

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