NFE-373

Rejeição: Descrição do primeiro item diferente de NOTA FISCAL EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL [nItem: …].

In English In homologação the first item of an NF-e with the DANFE Simplificado Tipo 2 must be described as "NOTA FISCAL EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL".

error: the document is invalid

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
Test
not($simple and $ide/nfe:tpAmb = '2') or $det[1]/nfe:prod/nfe:xProd = 'NOTA FISCAL EMITIDA EM AMBIENTE DE HOMOLOGACAO - SEM VALOR FISCAL'

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