# NFE-1204

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

> Rejeição: DFe referenciado em operação com ente governamental com Dígito Verificador inválido [nOcor: …].

- 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:ide/nfe:gCompraGov/nfe:refDFeAnt`
- Test: `br:keydv($k)`

In English: A previous document of a government purchase (refDFeAnt) has a wrong check digit.

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