NFE-597
Rejeição: CFOP de Importação e não informado dados de IPI [nItem: …] (CFOP …).
In English An import CFOP needs the IPI group, except 3201, 3202, 3211, 3503 and 3553.
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
$c1 != '3' or $cfop = ('3201', '3202', '3211', '3503', '3553') or nfe:imposto/nfe:IPI
Checked with NF-e 4.00, NF-e 4.00 with authorisation protocol