# NFE-518

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

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

In English: An outgoing NF-e has an incoming CFOP (starting with 1, 2 or 3).

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