# NFE-1211

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

> Rejeição: DFe referenciado em operação com ente governamental em duplicidade [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: `not(preceding-sibling::nfe:refDFeAnt = .)`

In English: The same previous document of a government purchase is referenced twice.

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