NFE-344
Rejeição: Duplicidade de NF-e informada na Exportação Indireta (Chave de Acesso informada mais de uma vez) [nItem: …] (a critério da UF).
In English The same access key is given twice in the item's indirect export (a check some states make).
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
count($indirect) = count(distinct-values($indirect))
Checked with NF-e 4.00, NF-e 4.00 with authorisation protocol