# NFE-519

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

> Rejeição: CFOP de saída para NF-e de entrada [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: `$tpNF != '0' or not($c1 = ('5', '6', '7'))`

In English: An incoming NF-e has an outgoing CFOP (starting with 5, 6 or 7).

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