# VF-1167

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

> Si el TipoImpositivo es 5% sólo se admite TipoRecargoEquivalencia 0,5 si Fecha Operacion (Fecha Expedicion Factura si no se informa FechaOperacion) es mayor o igual que el 1 de julio de 2022 y el 31 de diciembre de 2022.

- 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($vatS1 and *:TipoRecargoEquivalencia and $rate = 5) or empty($date) or $date gt xs:date('2022-12-31') or $surcharge = 0.5`

In English: With a VAT rate of 5 % up to 31 December 2022 (date of the operation, or of the invoice), the equivalence surcharge may only be 0.5 %.

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