NFE-478

Rejeição: Local da entrega não informado para faturamento direto de veículos novos.

In English Direct invoicing of new vehicles (tpOp 2) needs the state of the delivery place (entrega/UF).

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($det/nfe:prod/nfe:veicProd/nfe:tpOp = '2') or nfe:entrega/nfe:UF

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