# VF-1118

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

> Si la factura es de tipo rectificativa por sustitución el bloque ImporteRectificacion es obligatorio.

- Level: error
- Rule sets: VERI*FACTU checks of the AEAT Validaciones 1.2.2 (8 April 2026)
- Context: `/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta`
- Test: `not(normalize-space(*:TipoRectificativa) = 'S') or *:ImporteRectificacion`

In English: A corrective invoice by substitution (TipoRectificativa S) needs ImporteRectificacion.

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