# NFE-1206

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

> Rejeição: DFe referenciado em operação com ente governamental com Ano 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:keyyear($k)`

In English: A previous document of a government purchase (refDFeAnt) has a year before 2006.

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