# NFE-1152

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

> Rejeição: Tipo de Operação incompatível com NF-e de Crédito do tipo Retorno (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: `not($credit = '03') or $tpNF = '0'`

In English: A credit note for a return (type 03) must be an incoming document (tpNF 0).

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