NFE-434

Rejeição: NF-e sem indicativo do intermediador (indPres …).

In English An outgoing normal NF-e sold online, by phone, by delivery or otherwise not in person (indPres 2, 3, 4 or 9) has no indIntermed.

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($indPres = ('2', '3', '4', '9') and $tpNF = '1' and $fin = '1' and exists($emitted) and $emitted ge (if ($ide/nfe:tpAmb = '2') then xs:date('2021-08-23') else xs:date('2022-04-04'))) or $ide/nfe:indIntermed or $cfops = ('5205', '5206', '5207', '5251', '5252', '5253', '5254', '5255', '5256', '5257', '5258', '5301', '5302', '5303', '5304', '5305', '5306', '5307')

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