NFE-1280Rejeição 1280
Rejeição: Grupo do ICMS Previsto no Pagamento Antecipado informado indevidamente [nItem: …].
In English The group of the ICMS expected on an advance payment (ICMSPrevistoPagtoAntecip) is only for a debit note of type 06 or a government purchase paid before supply (tpOperGov 4).
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(nfe:imposto/nfe:ICMS/nfe:ICMSPrevistoPagtoAntecip) or $ide/nfe:tpNFDebito = '06' or $ide/nfe:gCompraGov/nfe:tpOperGov = '4'
Checked with NF-e 4.00, NF-e 4.00 with authorisation protocol