NFE-495

Rejeição: CPF do Emitente com Série incompatível (série …).

In English An issuer with a CPF must use a series from 890 to 899 or 910 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
not($emit/nfe:CPF) or $tpEmis = '3' or ($serie ge 890 and $serie le 899) or ($serie ge 910 and $serie le 969)

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