NFE-435

Rejeição: NF-e não pode ter o indicativo do intermediador (indIntermed 1 com indPres …).

In English indIntermed 1 (sale through a marketplace) is given with indPres 0 or 5.

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
$indPres = ('1', '2', '3', '4', '9') or string($ide/nfe:indIntermed) != '1'

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