# NFE-731

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

> Rejeição: CFOP de operação com Exterior e idDest <> 3 [nItem: …] (CFOP …, idDest …).

- 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:det`
- Test: `not($c1 = ('3', '7')) or $idDest = '3' or ($c1 = '7' and $ufCons = 'EX')`

In English: A CFOP for operations abroad (starting with 3 or 7) needs idDest 3.

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