# NFE-866

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

> Rejeição: Ausência de troco quando o valor dos pagamentos informados for maior que o total da nota (pagamentos …, vNF …).

- 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`
- Test: `br:sum($pays/nfe:vPag) le $vNF or nfe:pag/nfe:vTroco`

In English: The payments exceed vNF and no change (vTroco) is given.

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