# NFE-1077

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

> Rejeição: Total de Diferimento do IBS UF difere da soma dos itens (vDif …, 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: `not($ibs/nfe:gIBS) or br:dec($ibs/nfe:gIBS/nfe:gIBSUF/nfe:vDif) = br:sum($g/nfe:gIBSUF/nfe:gDif/nfe:vDif)`

In English: The deferred state IBS total is not the sum of the items'.

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