# NFE-795

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

> Rejeição: Total do ICMS desonerado difere do somatório dos itens (vICMSDeson …, 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:vICMSDeson) = br:sum($icms/nfe:vICMSDeson)`

In English: The relieved ICMS total (vICMSDeson) is not the sum of the items'.

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