NFE-332
Rejeição: CNPJ/CPF do adquirente ou do encomendante da importação inválido [nItem: …] (…).
In English The acquirer's CNPJ or CPF in the import declaration is invalid.
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
(every $c in $prod/nfe:DI/nfe:CNPJ satisfies br:cnpj($c)) and (every $c in $prod/nfe:DI/nfe:CPF satisfies br:cpf($c))
Checked with NF-e 4.00, NF-e 4.00 with authorisation protocol