# NFE-1039

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

> Rejeição: nItem informado indevidamente (DFeReferenciado/nItem, tpNFDebito 03).

- 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($debit = '03' and $itemRefs/nfe:nItem)`

In English: A debit note of type 03 cannot give nItem in DFeReferenciado.

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