NFE-379
Rejeição: Grupo de Encerrante na NF-e (modelo 55) para CFOP diferente de venda de combustível para consumidor final [nItem: …] (CFOP …).
In English The pump meter group (encerrante) is only for fuel sales to final consumers (CFOP 5656, 5667).
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.
nfe:infNFe/nfe:det
not($comb/nfe:encerrante) or $cfop = ('5656', '5667')
Checked with NF-e 4.00, NF-e 4.00 with authorisation protocol