NFE-701
Rejeição: Não informado Nota Fiscal referenciada (CFOP de Exportação Indireta) [nItem: …].
In English An indirect export (CFOP 3503, 7501) must reference the NF-e (NFref).
What the rule checks
As the rule set's publisher wrote it. The rule runs on every element the context matches, and fails where the test is false; the validator reports the line of that element.
nfe:infNFe/nfe:det
not($cfop = ('3503', '7501')) or $ide/nfe:NFref
Checked with NF-e 4.00, NF-e 4.00 with authorisation protocol