# NFE-629

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

> Rejeição: Valor do Produto difere do produto Valor Unitário de Comercialização e Quantidade Comercial [nItem: …] (vProd …, qCom × vUnCom …).

- 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: `$fin != '1' or br:product($prod/nfe:vProd, br:dec($prod/nfe:qCom) * br:dec($prod/nfe:vUnCom))`

In English: In a normal NF-e the item's vProd is not qCom × vUnCom rounded to two decimals (R$ 0.01 tolerance).

## Why it fails

- vUnCom rounded to two decimals while the product was computed with more.
- A discount was taken off vProd; it belongs in vDesc.

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