NFE-1136
Rejeição: Não é possível repetir o Tipo de Classificação para o cálculo do crédito presumido na ZFM neste DFe.
In English Two items have the same classification for the presumed IBS credit in the Manaus Free Trade Zone (tpCredPresIBSZFM).
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
count($det/nfe:imposto/nfe:IBSCBS/nfe:gCredPresIBSZFM/nfe:tpCredPresIBSZFM) = count(distinct-values($det/nfe:imposto/nfe:IBSCBS/nfe:gCredPresIBSZFM/nfe:tpCredPresIBSZFM))
Checked with NF-e 4.00, NF-e 4.00 with authorisation protocol