NFE-375
Rejeição: NF-e com lançamento relativo a Cupom Fiscal referencia uma NFC-e [nItem: …] (a partir de …).
In English From 14 December 2026 (1 September in homologação) an NF-e for fiscal coupon sales (CFOP 5929, 6929) cannot reference an NFC-e.
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($cfop = ('5929', '6929') and exists($emitted) and $emitted ge $modelFrom) or not($ide/nfe:NFref/nfe:refNFe[substring(normalize-space(.), 21, 2) = '65'])
Checked with NF-e 4.00, NF-e 4.00 with authorisation protocol