# NFE-1122

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

> Rejeição: Total do IBS monofásico retido anteriormente difere da soma dos 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:gMono) or br:dec($ibs/nfe:gMono/nfe:vIBSMonoRet) = br:sum($mono//nfe:vIBSMonoRet)`

In English: The total of monophasic IBS retained before is not the sum of the items'.

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