# NFE-537

Source: https://xmlvalid.com/rules/NFE-537

> Rejeição: Total do Desconto difere do somatório dos itens (vDesc …, itens …).

- Level: error
- Rule sets: SEFAZ authorisation rules of NF-e 4.00 MOC 7.0 Anexo I, NTs up to 2026.010
- Context: `nfe:infNFe/nfe:total`
- Test: `br:dec($t/nfe:vDesc) = br:sum($det/nfe:prod/nfe:vDesc)`

In English: The discount total (vDesc) is not the sum of the items'.

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