# NFE-725

Source: https://xmlvalid.com/rules/NFE-725

> Rejeição: NFC-e ou NF-e com DANFE Simplificado Tipo 2 com CFOP inválido [nItem: …] (CFOP …).

- Level: error
- Rule sets: SEFAZ authorisation rules of NF-e 4.00 MOC 7.0 Anexo I, NTs up to 2026.010
- Context: `nfe:infNFe/nfe:det`
- Test: `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'))))`

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).

Validate a document against these rules: https://xmlvalid.com/validate
