# NFE-380

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

> Rejeição: Valor do Encerrante final não é superior ao Encerrante inicial [nItem: …].

- 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:det`
- Test: `not($comb/nfe:encerrante) or br:dec($comb/nfe:encerrante/nfe:vEncFin) gt br:dec($comb/nfe:encerrante/nfe:vEncIni)`

In English: The final pump reading (vEncFin) is not above the initial one (vEncIni).

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