# NFE-710

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

> Rejeição: NF-e com formato de DANFE inválido (tpImp …, só para NFC-e).

- 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($ide/nfe:tpImp = ('4', '5'))`

In English: DANFE formats 4 and 5 (tpImp) belong to the NFC-e.

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