NFE-1279Rejeição 1279

Rejeição: Valor Líquido do Produto difere do calculado [nItem: …] (vProdLiq …, vUnComLiq × qCom = …).

In English An item's net value (vProdLiq) is not its net unit value (vUnComLiq) times the quantity, within R$ 0,01.

error: the document is invalid Rejeições da NF-e: códigos e como corrigir →

What the rule checks

As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element

Context
nfe:infNFe/nfe:det
Test
not($prod/nfe:vProdLiq and $fin = '1') or br:product($prod/nfe:vProdLiq, br:dec($prod/nfe:vUnComLiq) * br:dec($prod/nfe:qCom))

Checked with NF-e 4.00, NF-e 4.00 with authorisation protocol