NFE-725
Rejeição: NFC-e ou NF-e com DANFE Simplificado Tipo 2 com CFOP inválido [nItem: …] (CFOP …).
In English An NF-e with the DANFE Simplificado Tipo 2 uses a CFOP outside 5101, 5102, 5103, 5104, 5115, 5405, 5656, 5667, 5910 and 5933 (5949 allowed in RS and SP with the CSTs the rule names).
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($simple) or $cfop = ('5101', '5102', '5103', '5104', '5115', '5405', '5656', '5667', '5910', '5933') or ($cfop = '5949' and (($emitUF = 'RS' and ($csosn = '900' or $cst = '90')) or ($emitUF = 'SP' and ($csosn = '900' or $cst = '40'))))
Checked with NF-e 4.00, NF-e 4.00 with authorisation protocol