NFE-1281Rejeição 1281

Rejeição: Grupo do ICMS Previsto no Pagamento Antecipado não informado [nItem: …].

In English From 1 March 2027 (1 February in homologação) every item of a debit note of type 06 or a government purchase paid before supply (tpOperGov 4) needs the group of the ICMS expected on the advance payment.

error: the document is invalid Rejeições da NF-e: códigos e como corrigir →

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

Context
nfe:infNFe/nfe:det
Test
not($ide/nfe:tpNFDebito = '06' or $ide/nfe:gCompraGov/nfe:tpOperGov = '4') or not(exists($emitted) and $emitted ge (if ($ide/nfe:tpAmb = '2') then xs:date('2027-02-01') else xs:date('2027-03-01'))) or nfe:imposto/nfe:ICMS/nfe:ICMSPrevistoPagtoAntecip

Checked with NF-e 4.00, NF-e 4.00 with authorisation protocol