NFE-244

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

In English An NF-e issued by the taxpayer must use a series from 0 to 889 or 920 to 969.

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

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