Bom dia pessoal.
Estou tentando emitir uma Nota Fiscal de Devolução - CFOP 1915 (Devolução para Reparo)e no Estado do Rio de Janeiro existe a rejeição ao referenciar a Nota Fiscal / Cupom Fiscal.
Ao suprimir a informação não preenchendo as informações aparece a mensagem de erro abaixo:
PROBLEMA(S) PARA VALIDAR A NFe 8108 'Falha na validação dos dados da nota: 8108
Element ''{http://www.portalfiscal.inf.br/nfe}NFref'' cannot be empty according to the DTD/Schema.'
Parte do XML gerado em as informações da tag <NFref/>
<?xml version="1.0" encoding="UTF-8"?>
-<NFe xmlns="http://www.portalfiscal.inf.br/nfe">
-<infNFe Id="NFe33191008733713000257550010000081081000090607" versao="4.00">
-<ide>
<cUF>33</cUF>
<cNF>00009060</cNF>
<natOp>ENTRADA PARA REPARO</natOp>
<mod>55</mod>
<serie>1</serie>
<nNF>8108</nNF>
<dhEmi>2019-10-18T00:00:00-03:00</dhEmi>
<dhSaiEnt>2019-10-18T00:00:00-03:00</dhSaiEnt>
<tpNF>0</tpNF>
<idDest>1</idDest>
<cMunFG>3304557</cMunFG>
<tpImp>1</tpImp>
<tpEmis>1</tpEmis>
<cDV>7</cDV>
<tpAmb>1</tpAmb>
<finNFe>4</finNFe>
<indFinal>1</indFinal>
<indPres>1</indPres>
<procEmi>0</procEmi>
<verProc>4.00
</verProc>
<NFref/>
</ide>
-<emit>