NFE-625

Rejeição: Inscrição SUFRAMA deve ser informada na venda com isenção para ZFM [nItem: …].

In English An ICMS exemption for the Manaus Free Trade Zone (motDesICMS 7) needs the receiver's SUFRAMA registration.

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/nfe:det
Test
not($icms/nfe:motDesICMS = '7') or ../nfe:dest/nfe:ISUF or $c1 = ('1', '2')

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