# NFE-902

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

> Rejeição: Valor Liquido da Fatura difere do Valor Original menos o Valor do Desconto (vLiq …, vOrig …, vDesc …).

- 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: `not($fat/nfe:vLiq and $fat/nfe:vOrig) or br:dec($fat/nfe:vLiq) = br:dec($fat/nfe:vOrig) - br:dec($fat/nfe:vDesc)`

In English: The invoice's net value (vLiq) is not vOrig minus vDesc.

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