# NFE-510

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

> Rejeição: Operação com Exterior e Código País destinatário é 1058 (Brasil) ou não informado.

- 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($dest) or $idDest != '3' or ($cPais and br:dec($cPais) != 1058) or $exportFuel or $cfops = ('7552', '7501')`

In English: An operation abroad (idDest 3) has no receiver country (cPais) or Brazil (1058).

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