# NFE-1161

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

> Rejeição: Tipo de Operação incompatível com NF-e de Crédito (tpNF …).

- 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`
- Test: `$fin != '5' or $tpNF = '0'`

In English: A credit note (finNFe 5) must be an incoming document (tpNF 0).

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