NFE-451

Rejeição: Processo de Emissão pelo Fisco incompatível com a Série da NF (série …).

In English An NF-e issued by the tax authority (procEmi 1 or 2, NF-e avulsa) must use a series from 890 to 919.

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($procEmi = ('1', '2')) or ($serie ge 890 and $serie le 919)

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