# VF-1139

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

> Si el campo ImporteTotal está informado y es igual o superior a +-100.000.000 el campo Macrodato debe estar informado con valor S.

- Level: error
- Rule sets: VERI*FACTU checks of the AEAT Validaciones 1.2.2 (8 April 2026)
- Context: `/*:RegFactuSistemaFacturacion/*:RegistroFactura/*:RegistroAlta`
- Test: `abs($total) lt 100000000 or normalize-space(*:Macrodato) = 'S'`

In English: An invoice whose ImporteTotal is 100,000,000 euros or more (in absolute value) needs Macrodato S.

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