# SDI-00474

Source: https://xmlvalid.com/rules/SDI-00474

> Per il valore indicato nell'elemento 2.1.1.1 <TipoDocumento> non sono ammesse linee di dettaglio con l'elemento 2.2.1.12 <AliquotaIVA> contenente valore zero

- Level: error
- Rule sets: SdI checks (FatturaPA ordinary invoice) Specifiche tecniche 1.9.1
- Context: `/p:FatturaElettronica/FatturaElettronicaBody`
- Test: `$type != 'TD21' or not($lines[it:dec(AliquotaIVA) = 0])`

In English: In a TD21 document (self-invoice for exceeding the plafond) no line may have a zero VAT rate.

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