# VF-1150

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

> Cuando TipoFactura sea F2 y no este informado NumRegistroAcuerdoFacturacion o FacturaSinIdentifDestinatarioArt61d no sea S el sumatorio de BaseImponibleOimporteNoSujeto y CuotaRepercutida de todas las líneas de detalle no podrá ser superior a 3.000.

- Level: error
- Rule sets: VERI*FACTU checks of the AEAT Validaciones 1.2.2 (8 April 2026)
- Context: `/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta`
- Test: `not($type = 'F2') or normalize-space(*:NumRegistroAcuerdoFacturacion) != '' or normalize-space(*:FacturaSinIdentifDestinatarioArt61d) = 'S' or sum(for $l in $lines return es:dec($l/*:BaseImponibleOimporteNoSujeto) + es:dec($l/*:CuotaRepercutida)) le 3010`

In English: A simplified invoice (F2) may not exceed 3,000 euros of base plus tax (with 10 euros of margin), unless it has a billing agreement number or FacturaSinIdentifDestinatarioArt61d S.

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