www


SUBMITTED BY: lasthope

DATE: Feb. 12, 2024, 5:51 p.m.

FORMAT: Text only

SIZE: 52.5 kB

HITS: 499

  1. <!DOCTYPE html>
  2. <html lang="pt">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  5. <title>DANFEOnline-Reposit&oacute;rio de NF-e, validador de NF-e/CT-e, gerador de DANFE/DANFE simplificado/DACTE e visualizador de CC-E gratuito.</title>
  6. <meta name="description" content="Gerador de DANFE/DACTE/CC-e, validador e reposit&oacute;rio de Nota Fiscal Eletr&ocirc;nica(NF-e) gratuito. GERAR DANFE-GERAR DANFE Simplificado-GERAR DACTE-GERAR CC-e-VALIDAR NF-E"/>
  7. <meta name="keywords" content="danfe, gerar danfe online, danfe online, gerar nf-e, gerar Nota Fiscal Eletr&ocirc;nica, reposit&oacute;rio de notas fiscais eletr&ocirc;nicas, armazenamento de nota fiscal eletr&ocirc;nica, reposit&oacute;rio de xml, reposit&oacute;rio de Danfe, gerar danfe do xml, gerar nfe, gerar nfe em pdf, gerar nfe pelo xml, gerar danfe pela chave de acesso, gerar danfe pelo n&uacute;mero da chave de acesso, gerar dacte pelo arquivo XML, gerar DANFE simplificado,gerar dacte, gerar CT-e, gerar CC-e, visualizar CC-e, gerar CC-e pela chave de acesso, validador de nf-e, validar nf-e, validar arquixo .xml da nf-e" />
  8. <style>html{position: relative;min-height: 100%;background:#e6e6e6}body{margin:0;padding:0;margin-bottom:80px}.box_popup{display:none;position:absolute;top: 37%;left: 50%;transform: translate(-50%, -50%);border:1px solid #d0d0d0;background-color: #eee;margin:0;padding:0;box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26), 0 2px 10px 0 rgba(0, 0, 0, 0.157)}.box_mensagem{position: fixed;width: 100%;text-align:center;background: #f44336;color:#ffffff;font-family: sans-serif;font-size: .999rem;font-weight: 600;opacity: 0}.repositorio{width:auto;min-width:980px;text-align:right;padding-top:8px;padding-bottom:8px;background: #333}.repositorio span, .repositorio a{font-family: sans-serif;font-size: .88889rem;font-weight: 700;text-decoration:none;color: #ffffff;padding-top:10px;padding-left:15px;padding-bottom:10px;padding-right:10px}.menu_user{display:none;position:absolute;right:0px;width:150px;min-height:75px;max-height:100px;border:1px solid #d0d0d0;margin:0;margin-top:8px;padding:0;box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26), 0 2px 10px 0 rgba(0, 0, 0, 0.157)}.logo_site{text-align:center;margin-top:50px}.logo_site a{font-family:Arial;color:#000000;text-decoration:none;text-shadow:0px 0px 5px #eaeaea;font-size:50px}.logo_site span{font-weight:bold}h1{padding-bottom:15px;text-align:center;font-family: sans-serif;font-size: 14px;font-weight: 500}.mensagem_sistema{width: 728px;min-height:30px;max-height:90px;margin:0 auto}.box_download{width: 380px;height:70px;margin:0 auto}.box_download_simplificado{width: 620px;height:70px;margin:0 auto}.box_download_cce{width: 780px;height:70px;margin:0 auto}.dialog_download_danfe, .dialog_download_danfe_simplificado, .dialog_download_xml, .dialog_download_cce, .dialog_download_zip, .dialog_download_pdf{width: 180px;height:28px;padding-top:12px;padding-bottom:12px;text-align:center;color:#ffffff;background-color:#0299ff;font-family: sans-serif;font-size: .86889rem;font-weight: 600;box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26)}.dialog_download_danfe, .dialog_download_zip{padding-top:15px;height:25px;float:left}.dialog_download_danfe_simplificado{padding-top:15px;height:25px;float:right}.dialog_download_pdf{padding-top:15px;height:25px;float:right}.dialog_download_xml{float:left}.dialog_download_cce{padding-top:15px;height:25px;float:right}.dialog_download_danfe a, .dialog_download_danfe_simplificado a, .dialog_download_xml a, .dialog_download_cce a , .dialog_download_zip a, .dialog_download_pdf a{text-decoration:none;text-align:center;color:#ffffff;font-family: sans-serif;font-size: 20px;font-weight: 600;cursor:pointer}.dialog_download_danfe_simplificado a{font-size: 18px}.dialog_download_xml a{font-size: 14px}.tab_list{width: 728px;margin:0 auto;list-style:none;clear:both}.tab_list .tab{display: inline;line-height:28px;padding-top:5px;padding-left:10px;padding-right:10px;padding-bottom:2px;margin-left:3px;font-family: Arial;color: #333;font-size: .900em;font-weight: 300;cursor: pointer;text-align: center}.tab_list .tabAtiva{display: inline;line-height:28px;padding-top:5px;padding-left:10px;padding-right:10px;padding-bottom:2px;border-bottom: 4px solid #838383;border-left: 1px solid #838383;border-right: 1px solid #838383;border-top: 1px solid #838383;border-radius: 3px 3px 0px 0px;margin-left:3px;font-family: Arial;color: #333;font-size: .900em;font-weight: 300;cursor: pointer;text-align: center}.tab_servicos{width:900px;margin:0 auto;border: 1px solid #838383}.tab_servicos .tab_cont_0{width: 900px;display:block;background:#e2e2e2}.tab_servicos .tab_cont_1, .tab_servicos .tab_cont_2, .tab_servicos .tab_cont_3, .tab_servicos .tab_cont_4, .tab_servicos .tab_cont_5{width: 900px;display:none;background:#e2e2e2}.campos_xml, .campos_chave, .campos_xml_captcha, .campos_chave_captcha{font-family: Arial;color: #333;font-size: .850em;font-weight: 300;height:75px;width:850px;padding-top:30px;text-align:center;margin:0 auto}.campos_xml_msgm, .campos_chave_msgm{display:none;color: #858585;font-family: Arial,Helvetica,sans-serif;font-size: 11px;height: 60px;margin: 0 auto;padding-top: 30px;text-align: center;width: 680px}.campos_xml_msgm span, .campos_chave_msgm span{color: red;font-size: 24px}campos_xml_validador{margin-bottom: 50px;display:none}footer{position:absolute;bottom:0;width:100%;height:50px;margin-top:50px;/*margin-bottom:110px;*/padding-top:10px;font-family:Arial;font-size:12px;text-decoration:none;text-align:center}footer a{color: #005c9c;cursor: pointer;font-family: Arial;font-size: 12px;text-decoration: none}footer .no_script{clear:both;font-family:Arial;color:red;font-size:11px}.button_tipo1{margin-top: 10px;background:#838383;border:none;font-family: Arial;color: #333;font-size: .900em;font-weight: 800;color:#ffffff;padding: 5px;padding-top:8px;width:160px}.xml_validador_title_key{cursor:pointer;width: 63%;margin-top: 10px;margin-left: 12px;height: 30px;float: left;font-size: .850em;font-family: Arial;color: #333;font-weight: 300;letter-spacing:1.5px}.xml_validador_title_key span{margin-right: 10px}.xml_validador_title_schema{cursor:pointer;width: 34%;float: right;margin-top: 10px;height: 30px}.xml_validador_title_schema div{width: 50%;float: left;text-align: center;color: #72c868}.xml_validador_title_schema div div{width: 50%;float: right;text-align: center;color: #72c868}.xml_schema_validada{display: none;clear: both;width: 95%;float: left;margin-left: 30px;background: #e7e7e7;border:1px solid #cccccc}.xml_schema_validada div{clear: both;font-size: .850em;color: #333;font-weight: 600;font-family: Arial;background: #cccccc;padding-left: 10px}.xml_schema_validada div span{color: #72c868;padding-right: 5px}.xml_schema_validada p{padding-left: 20px;font-size: .850em;color: #333;font-weight: 300;font-family: Arial}.xml_schema_validada p span{font-weight: bold}.xml_cert_validada{display: none;clear: both;width: 95%;float: left;margin-left: 30px;background: #e7e7e7;border:1px solid #cccccc}.xml_cert_validada div{clear: both;font-size: .850em;color: #333;font-weight: 600;font-family: Arial;background: #cccccc;padding-left: 10px}.xml_cert_validada div span{color: #72c868;padding-right: 5px}.xml_cert_validada p{padding-left: 20px;font-size: .850em;color: #333;font-weight: 300;font-family: Arial}.xml_cert_validada p span{font-weight: bold}.list_action_emitidas_nfe, .list_action_recebidas_nfe, .list_action_transportadoras_nfe, .list_action_relacionados_nfe{position:initial;background:#e6e6e6;border:1px solid #d0d0d0;margin:0;padding:0;margin-top:-2px;box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26), 0 2px 10px 0 rgba(0, 0, 0, 0.157);display:none;line-height: 30px;list-style: none;width:865px}.list_action_emitidas_nfe li, .list_action_recebidas_nfe li, .list_action_transportadoras_nfe li, .list_action_relacionados_nfe li{padding-left:5px;width:135px;display: inline-block}.list_action_emitidas_nfe li a, .list_action_recebidas_nfe li a, .list_action_transportadoras_nfe li a, .list_action_relacionados_nfe li a{font-family: Arial,Helvetica,sans-serif;font-size: 12px;text-decoration: none;color:#000000}.list_action_emitidas_nfe li:hover, .list_action_recebidas_nfe li:hover, .list_action_transportadoras_nfe li:hover, .list_action_relacionados_nfe li:hover{background:#dadce0}</style>
  9. <script async src="https://www.googletagmanager.com/gtag/js?id=G-LK33XQ5G6H"></script><script>window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag('js', new Date());gtag('config', 'G-LK33XQ5G6H');</script>
  10. <script>
  11. var browserSuportExt=!0;function storeCheckBox(b){var a=document.getElementById("chkbxrecaptchasolve");"undefined"!=typeof a&&null!=a&&(localStorage.getItem("chkbxrecaptchasolve")?b?"true"==localStorage.getItem("chkbxrecaptchasolve")?document.getElementsByClassName("chkbxrecaptchasolve")[0].checked=!0:document.getElementsByClassName("chkbxrecaptchasolve")[0].checked=!1:document.getElementsByClassName("chkbxrecaptchasolve")[0].checked?localStorage.setItem("chkbxrecaptchasolve",!0):localStorage.setItem("chkbxrecaptchasolve",!1):document.getElementsByClassName("chkbxrecaptchasolve")[0].checked?localStorage.setItem("chkbxrecaptchasolve",!0):localStorage.setItem("chkbxrecaptchasolve",!1))}function checkExtensionMens(){document.getElementsByClassName("checkExtensionAux")[0].innerHTML='<div class="checkextension" id="checkextension" style="width:800px; height:20px; margin: 0 auto; margin-top:5px; padding-top:5px;"><a style="text-decoration:none; font-size:13px; color: red; font-weight:bold;" target="_blank" rel="noopener" href="https://addons.mozilla.org/addon/danfeonline/">Instale ou ative a extens\u00e3o no seu navegador. Somente ap\u00f3s a instala\u00e7\u00e3o ser\u00e1 poss\u00edvel realizar a consulta gratuitamente.</a></div><div class="recaptchasolve" id="recaptchasolve" style="display:none; width:700px; height:20px; margin: 0 auto; margin-top:5px; padding-top:5px;"></div>'; };function browserDownloadExtensao(){document.getElementsByClassName("box_popup")[0].style.top="18%";document.getElementsByClassName("box_popup")[0].style.width="450px";document.getElementsByClassName("box_popup")[0].style.height="250px";document.getElementsByClassName("box_popup")[0].innerHTML='<div style="float:right; padding-right:5px; color: black; font-family: Arial; font-size: 12px; padding-top:10px; padding-left:10px; font-weight:bold; cursor:pointer;" onclick="document.getElementById(\'box_popup\').style.display=\'none\'; document.getElementsByClassName(\'box_popup\')[0].style.top=\'37%\';">[Fechar]</div><div style="font-family: Metropolis,Inter,X-LocaleSpecific,sans-serif; font-size: 20px; padding-top:50px; padding-bottom:50px; text-align:center;">Download da extens\u00e3o DanfeOnline</div><div style="width:200px; height:50px; border-color: transparent; border-radius: 4px; margin: 0 auto; margin-bottom:30px; background-color: #0060df; text-align:center;"><div style="padding-top:15px;"><a href="https://addons.mozilla.org/pt-BR/firefox/addon/danfeonline/" target="_blank" rel="noopener" style="color:#ffffff; font-family: Metropolis,Inter,X-LocaleSpecific,sans-serif; font-weight:bold; font-size: 16px; text-decoration:none;">Mozilla Firefox</a></div></div>'; document.getElementsByClassName("box_popup")[0].style.display="block"};
  12. var aba_select=0;function aba_danfe_index_select(a,c){if(aba_select!=a){aba_select=a;2<=c&&(2==a?updategrid_emitidas():3==a?updategrid_recebidas():4==a?updategrid_transportadoras():5==a&&updategrid_relacionados());for(var b=0;b<=c;b++)b==a?(document.getElementsByClassName("tab_cont_"+b)[0].style.display="block",document.getElementById("tab_"+b).classList.remove("tab"),document.getElementById("tab_"+b).classList.add("tabAtiva")):(document.getElementsByClassName("tab_cont_"+b)[0].style.display="none",document.getElementById("tab_"+b).classList.remove("tabAtiva"),document.getElementById("tab_"+b).classList.add("tab"))}}function alertafade(a,c,b){c?document.getElementsByClassName("box_mensagem")[0].style.background=c:document.getElementsByClassName("box_mensagem")[0].style.background="#f44336";b||(b=5E3);document.getElementsByClassName("box_mensagem")[0].style.paddingTop="15px";document.getElementsByClassName("box_mensagem")[0].style.paddingBottom="15px";document.getElementsByClassName("box_mensagem")[0].innerHTML=a;document.getElementsByClassName("box_mensagem")[0].style.visibility="visible";document.getElementsByClassName("box_mensagem")[0].style.opacity="1";document.getElementsByClassName("box_mensagem")[0].style.transition="opacity 2s linear";setTimeout(function(){document.getElementsByClassName("box_mensagem")[0].style.visibility="hidden";document.getElementsByClassName("box_mensagem")[0].style.opacity="0";document.getElementsByClassName("box_mensagem")[0].style.transition="visibility 0s 2s, opacity 2s linear"},b)}var loadHcaptcha=!1,HcaptchaResponse=!1,onSubmitHcaptcha=function(a){HcaptchaResponse=a;check_chave()},onloadCallbackHcaptcha=function(){hcaptcha.render("HcaptchaSubmit",{sitekey:"d149ac41-0e75-4868-84ae-7582fe0c2813",callback:onSubmitHcaptcha})};function loadjsHcaptcha(a){var c=document.createElement("script");c.type="text/javascript";c.src=a;c.onload=function(){setTimeout(function(){clickHcaptcha()},2E3);loadHcaptcha=!0};document.body.appendChild(c)}function clickHcaptcha(){setTimeout(function(){document.getElementById("HcaptchaSubmit").click()},2E3)}function loadcaptcha(a){document.getElementsByClassName("campos_chave")[0].style.height="108px";document.getElementsByClassName("campos_chave")[0].innerHTML='<div id="HcaptchaSubmit"></div><input type="hidden" id="chave" name="chave" value="'+a+'"><div style="display:none;" class="checkExtensionAux"></div>';loadHcaptcha?window.open("https://www.danfeonline.com.br/?chavecaptcha="+a,"_self"):loadjsHcaptcha("https://hcaptcha.com/1/api.js?onload=onloadCallbackHcaptcha&render=explicit");browserSuportExt&&(checkExtensionMens(),sendMessage(1,!1,!1),storeCheckBox(!0))}var urlchave=new URL(window.location.href),chavecaptcha=urlchave.searchParams.get("chavecaptcha");chavecaptcha&&window.addEventListener("load",function(){aba_danfe_index_select(1,1);loadcaptcha(chavecaptcha)});var infoExternal=null;function xml_certificate(a){"none"==document.getElementById("xml_schema_validada_"+a).style.display?(document.getElementById("xml_schema_validada_"+a).style.display="block",document.getElementById("xml_cert_validada_"+a).style.display="block",document.getElementById("xml_schema_validada_ico_"+a).src="https://www.danfeonline.com.br/Styles/imagens/ico_menos.gif?ico"+Math.random(0)):(document.getElementById("xml_schema_validada_"+a).style.display="none",document.getElementById("xml_cert_validada_"+a).style.display="none",document.getElementById("xml_schema_validada_ico_"+a).src="https://www.danfeonline.com.br/Styles/imagens/ico_mais.gif?ico"+Math.random(0))}function novo_xml_validar(){document.getElementsByClassName("campos_xml")[0].style.display="block";document.getElementsByClassName("campos_xml_validador")[0].style.display="none";document.getElementsByClassName("campos_xml_validador")[0].innerHTML=""};
  13. function check_ext(){document.getElementsByClassName("mensagem_sistema")[0].innerHTML="";var a=0,b=document.getElementById("xml");if(document.all&&!window.atob)if(a=document.getElementById("xml").value){if(tipo=a.substring(a.length-4,a.length),tipo=tipo.toLowerCase(),".xml"!=tipo)return alertafade("Foi selecionado arquivo inv\u00e1lido"),!1}else return alertafade("Selecione um arquivo xml da NF-e ou CT-e"),!1;else{for(var c=0;c<b.files.length;c++){tipo=b.files[c].name.substring(b.files[c].name.length-4,b.files[c].name.length);tipo=tipo.toLowerCase();if(".xml"!=tipo)return alertafade("Foi selecionado arquivo inv\u00e1lido"),!1;".xml"==tipo&&a++}if(!a)return alertafade("Selecione um arquivo xml da NF-e ou CT-e"),!1;if(30<a)return alertafade("Limite de 30 NF-e's por vez."),!1;1<b.files.length&&(document.getElementsByClassName("campos_xml_msgm")[0].style.display="block",document.getElementsByClassName("campos_xml")[0].style.display="none")}return!0};var resultjson="";var queryModeChave=false;function formatChave(){var a=document.getElementById("chave").value.replace(/[^0-9]/g,"");a=a.replace(/\s/g,"");44<a.length&&(a=a.substring(0,44));document.getElementById("chave").value=a};
  14. var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.createTemplateTagFirstArg=function(b){return b.raw=b};$jscomp.createTemplateTagFirstArgWithRaw=function(b,c){b.raw=c;return b};function PdfBase64(b,c){var d='<html><body><object data="data:application/pdf;base64,'+c+'" type="application/pdf" width="100%" height="100%"><a style="font-size:30px; text-decoration:none; font-family:arial; font-weight:bold;" href="data:application/pdf;base64,'+c+'" download="'+b+'" target="_blank">Parece que voc\u00ea n\u00e3o possui leitor de PDF neste navegador. Clique aqui para baixar o arquivo .pdf.</a> </object></body></html>';a=window.open("about:blank");a.document.write(d);a.document.close()}function XmlBase64(b,c){var d="data:application/xml;base64,"+c,e=document.createElement("a");e.href=d;e.download=b;e.click()};
  15. function submitChaveXml(a,c,b,d){if(!d)sendMessage(12,c,"aHR0cHM6Ly93d3cubmZlLmZhemVuZGEuZ292LmJyL3BvcnRhbC9kb3dubG9hZE5GZS5hc3B4"),submitChaveXml(a,c,b,100);else if(100==d)setTimeout(function(){responseMessageCheck();document.getElementsByClassName("resultExternalJason")[0].value?submitChaveXml(a,c,b,200):submitChaveXml(a,c,b,100)},2E3);else if(200==d){if(document.getElementsByClassName("resultExternalJason")[0].value)var e=document.getElementsByClassName("resultExternalJason")[0].value;document.getElementsByClassName("resultExternalJason")[0].value= "";d="chave="+a+"&url="+c+"&chavetoken="+b+"&chaveResultXml="+btoa(e);var f=new XMLHttpRequest;f.open("POST","https://www.danfeonline.com.br/key",!0);f.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8");f.onload=function(){200<=f.status&&400>f.status?resultjson=JSON.parse(f.responseText):(document.getElementsByClassName("campos_chave")[0].style.height="75px",document.getElementsByClassName("campos_chave")[0].innerHTML='<label>Chave de acesso: </label><input type="text" maxlength="60" id="chave" name="chave" style="width:460px; border: 1px solid #838383; font-family: Arial; color: #333; font-size: 1.380em; font-weight: 300;" onkeypress="javascript:return formatChave()" onfocus="javascript:return formatChave()" onblur="javascript:return formatChave()" onchange="javascript:return formatChave()">&nbsp;&nbsp;<input type="button" value="DANFE/DACTE/CC-E" title="Gerar DANFE, DACTE ou CC-E pelo n&uacute;mero da chave de acesso" id="enviar_chave" name="enviar_chave" class="button_tipo1" onclick="javascript:return check_chave()"><div class="checkExtensionAux"></div>', browserSuportExt&&(checkExtensionMens(),sendMessage(1,!1,!1),storeCheckBox(!0)),alertafade("N&atilde;o foi poss&iacute;vel obter informa&ccedil;&otilde;es suficientes para gerar o DANFE. Tente novamente mais tarde."))};f.send(d);setTimeout(function(){submitChaveCheck(a)},3E3)}} function submitChave(b,d){if(100==d){if("0.18"==document.getElementsByClassName("infoExternal")[0].value || "0.19"==document.getElementsByClassName("infoExternal")[0].value || "0.20"==document.getElementsByClassName("infoExternal")[0].value || "0.21"==document.getElementsByClassName("infoExternal")[0].value || "0.22"==document.getElementsByClassName("infoExternal")[0].value || "0.23"==document.getElementsByClassName("infoExternal")[0].value)if("5"==b[20]&&"7"==b[21]){var a="I2N0bDAwX0NvbnRlbnRQbGFjZUhvbGRlcjFfYnRuQ29uc3VsdGFySENhcHRjaGE I2N0bDAwX0NvbnRlbnRQbGFjZUhvbGRlcjFfYnRuRG93bmxvYWQ= I2N0bDAwX0NvbnRlbnRQbGFjZUhvbGRlcjFfYnRuQ29uc3VsdGFDb21wbGV0YQ== LnR4dENoYXZlQWNlc3Nv I2JhcnJhLWJyYXNpbA== I2NhYmVjYWxobw== I2JhcnJhRGlyZWl0YQ== I2xvY2FsaXphY2Fv I3pvb21BY2Vzc2liaWxpZGFkZQ== LmRpdlRpdHVsb1ByaW5jaXBhbA== I2N0bDAwX0NvbnRlbnRQbGFjZUhvbGRlcjFfcG5sQ29uc3VsdGFz I2N0bDAwX0NvbnRlbnRQbGFjZUhvbGRlcjFfYnRuQ29uc3VsdGFySENhcHRjaGE I2N0bDAwX0NvbnRlbnRQbGFjZUhvbGRlcjFfYnRuTGltcGFySENhcHRjaGE LmluZGVudGFjYW9Db250ZXVkbw== LmVuYWJsZWQ= I3JvZGFwZQ==".split(" "); a.unshift(b);var e="aHR0cHM6Ly93d3cuY3RlLmZhemVuZGEuZ292LmJyL3BvcnRhbC9jb25zdWx0YVJlY2FwdGNoYS5hc3B4P3RpcG9Db25zdWx0YT1yZXN1bW8mdGlwb0NvbnRldWRvPWNrdEx2VVVLcWgwPQ== Oi8vd3d3LmN0ZS5mYXplbmRhLmdvdi5ici9wb3J0YWwvZG93bmxvYWRDVGU= Oi8vd3d3LmN0ZS5mYXplbmRhLmdvdi5ici9wb3J0YWwvY29uc3VsdGFSZWNhcHRjaGE= Oi8vd3d3LmN0ZS5mYXplbmRhLmdvdi5ici9wb3J0YWwvY29uc3VsdGFSZXN1bW8= Oi8vd3d3LmN0ZS5mYXplbmRhLmdvdi5ici9wb3J0YWwvY29uc3VsdGFDb21wbGV0YQ== aHR0cHM6Ly93d3cuY3RlLmZhemVuZGEuZ292LmJyL3BvcnRhbC9kb3dubG9hZENUZS5hc3B4".split(" "); sendMessage(22,e,a)}else queryModeChave?(queryModeChave=!1,a="I2JhcnJhLWJyYXNpbA== I2NhYmVjYWxobw== I2JhcnJhRGlyZWl0YQ== I2xvY2FsaXphY2Fv I3pvb21BY2Vzc2liaWxpZGFkZQ== LmRpdlRpdHVsb1ByaW5jaXBhbA== I2N0bDAwX0NvbnRlbnRQbGFjZUhvbGRlcjFfcG5sQ29uc3VsdGFz I2N0bDAwX0NvbnRlbnRQbGFjZUhvbGRlcjFfYnRuQ29uc3VsdGFySENhcHRjaGE I2N0bDAwX0NvbnRlbnRQbGFjZUhvbGRlcjFfYnRuTGltcGFySENhcHRjaGE LmluZGVudGFjYW9Db250ZXVkbw== LmVuYWJsZWQ= I3JvZGFwZQ==".split(" "),sendMessage(11,"aHR0cHM6Ly93d3cubmZlLmZhemVuZGEuZ292LmJyL3BvcnRhbC9jb25zdWx0YVJlY2FwdGNoYS5hc3B4P3RpcG9Db25zdWx0YT1yZXN1bW8mdGlwb0NvbnRldWRvPTdQaEorZ0FWdzJnPQ==", a)):(a="I2N0bDAwX0NvbnRlbnRQbGFjZUhvbGRlcjFfYnRuQ29uc3VsdGFySENhcHRjaGE I2N0bDAwX0NvbnRlbnRQbGFjZUhvbGRlcjFfYnRuRG93bmxvYWQ= I2N0bDAwX0NvbnRlbnRQbGFjZUhvbGRlcjFfYnRuQ29uc3VsdGFDb21wbGV0YQ== LnR4dENoYXZlQWNlc3Nv I2JhcnJhLWJyYXNpbA== I2NhYmVjYWxobw== I2JhcnJhRGlyZWl0YQ== I2xvY2FsaXphY2Fv I3pvb21BY2Vzc2liaWxpZGFkZQ== LmRpdlRpdHVsb1ByaW5jaXBhbA== I2N0bDAwX0NvbnRlbnRQbGFjZUhvbGRlcjFfcG5sQ29uc3VsdGFz I2N0bDAwX0NvbnRlbnRQbGFjZUhvbGRlcjFfYnRuQ29uc3VsdGFySENhcHRjaGE I2N0bDAwX0NvbnRlbnRQbGFjZUhvbGRlcjFfYnRuTGltcGFySENhcHRjaGE LmluZGVudGFjYW9Db250ZXVkbw== LmVuYWJsZWQ= I3JvZGFwZQ==".split(" "), a.unshift(b),e="aHR0cHM6Ly93d3cubmZlLmZhemVuZGEuZ292LmJyL3BvcnRhbC9jb25zdWx0YVJlY2FwdGNoYS5hc3B4P3RpcG9Db25zdWx0YT1yZXN1bW8mdGlwb0NvbnRldWRvPTdQaEorZ0FWdzJnPQ== Oi8vd3d3Lm5mZS5mYXplbmRhLmdvdi5ici9wb3J0YWwvZG93bmxvYWRORmU= Oi8vd3d3Lm5mZS5mYXplbmRhLmdvdi5ici9wb3J0YWwvY29uc3VsdGFSZWNhcHRjaGE= Oi8vd3d3Lm5mZS5mYXplbmRhLmdvdi5ici9wb3J0YWwvY29uc3VsdGFSZXN1bW8= Oi8vd3d3Lm5mZS5mYXplbmRhLmdvdi5ici9wb3J0YWwvY29uc3VsdGFDb21wbGV0YQ== aHR0cHM6Ly93d3cubmZlLmZhemVuZGEuZ292LmJyL3BvcnRhbC9kb3dubG9hZE5GZS5hc3B4".split(" "), sendMessage(21,e,a));else a="I2JhcnJhLWJyYXNpbA== I2NhYmVjYWxobw== I2JhcnJhRGlyZWl0YQ== I2xvY2FsaXphY2Fv I3pvb21BY2Vzc2liaWxpZGFkZQ== LmRpdlRpdHVsb1ByaW5jaXBhbA== I2N0bDAwX0NvbnRlbnRQbGFjZUhvbGRlcjFfcG5sQ29uc3VsdGFz I2N0bDAwX0NvbnRlbnRQbGFjZUhvbGRlcjFfYnRuQ29uc3VsdGFySENhcHRjaGE I2N0bDAwX0NvbnRlbnRQbGFjZUhvbGRlcjFfYnRuTGltcGFySENhcHRjaGE LmluZGVudGFjYW9Db250ZXVkbw== LmVuYWJsZWQ= I3JvZGFwZQ==".split(" "),sendMessage(11,"aHR0cHM6Ly93d3cubmZlLmZhemVuZGEuZ292LmJyL3BvcnRhbC9jb25zdWx0YVJlY2FwdGNoYS5hc3B4P3RpcG9Db25zdWx0YT1yZXN1bW8mdGlwb0NvbnRldWRvPTdQaEorZ0FWdzJnPQ==", a);submitChave(b,200)}else if(200==d)setTimeout(function(){responseMessageCheck();document.getElementsByClassName("resultExternalJason")[0].value?submitChave(b,1E3):submitChave(b,200)},2E3);else if(0==d||1E3<=d){if(document.getElementsByClassName("resultExternalJason")[0].value&&(a=JSON.parse(document.getElementsByClassName("resultExternalJason")[0].value),200!=a.result[0].a))return document.getElementsByClassName("campos_chave")[0].style.height="75px",document.getElementsByClassName("campos_chave")[0].innerHTML= '<label>Chave de acesso: </label><input type="text" maxlength="60" id="chave" name="chave" style="width:460px; border: 1px solid #838383; font-family: Arial; color: #333; font-size: 1.380em; font-weight: 300;" onkeypress="javascript:return formatChave()" onfocus="javascript:return formatChave()" onblur="javascript:return formatChave()" onchange="javascript:return formatChave()">&nbsp;&nbsp;<input type="button" value="DANFE/DACTE/CC-E" title="Gerar DANFE, DACTE ou CC-E pelo n&uacute;mero da chave de acesso" id="enviar_chave" name="enviar_chave" class="button_tipo1" onclick="javascript:return check_chave()"><div class="checkExtensionAux"></div>', browserSuportExt&&(checkExtensionMens(),sendMessage(1,!1,!1),storeCheckBox(!0)),alertafade(a.result[0].b),!1;resultjson?(resultjson="",a="chavetoken="+b+"&infoExternal="+infoExternal):HcaptchaResponse?(a=d?"chave="+b+"&chavetokencaptcha="+a.result[0].b+"&h-captcha-response="+HcaptchaResponse+"&infoExternal="+infoExternal:"chave="+b+"&h-captcha-response="+HcaptchaResponse+"&infoExternal="+infoExternal,HcaptchaResponse=!1):a=d?"chave="+b+"&chavetokencaptcha="+a.result[0].b+"&infoExternal="+infoExternal: "chave="+b+"&infoExternal="+infoExternal;document.getElementsByClassName("resultExternalJason")[0].value="";var c=new XMLHttpRequest;c.open("POST","https://www.danfeonline.com.br/key",!0);c.setRequestHeader("Content-Type","application/x-www-form-urlencoded; charset=UTF-8");c.onload=function(){200<=c.status&&400>c.status?resultjson=JSON.parse(c.responseText):(document.getElementsByClassName("campos_chave")[0].style.height="75px",document.getElementsByClassName("campos_chave")[0].innerHTML='<label>Chave de acesso: </label><input type="text" maxlength="60" id="chave" name="chave" style="width:460px; border: 1px solid #838383; font-family: Arial; color: #333; font-size: 1.380em; font-weight: 300;" onkeypress="javascript:return formatChave()" onfocus="javascript:return formatChave()" onblur="javascript:return formatChave()" onchange="javascript:return formatChave()">&nbsp;&nbsp;<input type="button" value="DANFE/DACTE/CC-E" title="Gerar DANFE, DACTE ou CC-E pelo n&uacute;mero da chave de acesso" id="enviar_chave" name="enviar_chave" class="button_tipo1" onclick="javascript:return check_chave()"><div class="checkExtensionAux"></div>', browserSuportExt&&(checkExtensionMens(),sendMessage(1,!1,!1),storeCheckBox(!0)),alertafade("N&atilde;o foi poss&iacute;vel obter informa&ccedil;&otilde;es suficientes para gerar o DANFE. Tente novamente mais tarde."))};c.send(a);setTimeout(function(){submitChaveCheck(b)},3E3)}}; function submitChaveCheck(a){if(resultjson)if(0!=resultjson.errorId)200==resultjson.errorId?("5"==a[20]&&"7"==a[21]?document.getElementsByClassName("mensagem_sistema")[0].innerHTML='<div class="box_download"><div class="dialog_download_danfe" style="height:28px; padding-top:12px;"><a style="font-size:22px;" title="Download do DACTE" onclick="PdfBase64(\''+resultjson.chave+".pdf','"+resultjson.danfe+'\')">DACTE</a></div><div class="dialog_download_xml" style="float:right;"><a style="font-size:22px;" title="Download do arquivo XML v\u00e1lido." onclick="XmlBase64(\''+ resultjson.chave+".xml','"+resultjson.xml+"')\">XML</a></div></div>":resultjson.xml?resultjson.cce?resultjson.danfesimplificado?document.getElementsByClassName("mensagem_sistema")[0].innerHTML='<div class="box_download_cce"><div style="float:left; width:380px;"><div class="dialog_download_danfe"><a title="Download do DANFE" onclick="PdfBase64(\''+resultjson.chave+".pdf','"+resultjson.danfe+'\')">DANFE</a></div><div class="dialog_download_danfe_simplificado"><div style="margin-top:3px;"><a title="Download do DANFE simplificado" onclick="PdfBase64(\''+ resultjson.chave+".pdf','"+resultjson.danfesimplificado+'\')">DANFE simplificado</a></div></div></div><div style="float:right; width:380px;"><div class="dialog_download_xml"><div style="margin-top:3px;"><a style="font-size: 20px;" title="Download do arquivo XML v\u00e1lido." onclick="XmlBase64(\''+resultjson.chave+".xml','"+resultjson.xml+'\')">XML</a></div></div><div class="dialog_download_cce"><a title="Download do CC-e em PDF" onclick="PdfBase64(\''+resultjson.chave+"_cce.pdf','"+resultjson.cce+ "')\">CC-e .pdf</a></div></div></div>":document.getElementsByClassName("mensagem_sistema")[0].innerHTML='<div class="box_download_cce"><div style="float:left; width:380px;"><div class="dialog_download_danfe"><a title="Download do DANFE" onclick="PdfBase64(\''+resultjson.chave+".pdf','"+resultjson.danfe+'\')">DANFE</a></div><div class="dialog_download_danfe_simplificado"><div style="margin-top:3px;"><a title="Download do DANFE simplificado" onclick="alert(\'NF-e n\u00e3o autorizada!\')">DANFE simplificado</a></div></div></div><div style="float:right; width:380px;"><div class="dialog_download_xml"><div style="margin-top:3px;"><a style="font-size: 20px;" title="Download do arquivo XML v\u00e1lido." onclick="XmlBase64(\''+ resultjson.chave+".xml','"+resultjson.xml+'\')">XML</a></div></div><div class="dialog_download_cce"><a title="Download do CC-e em PDF" onclick="PdfBase64(\''+resultjson.chave+"_cce.pdf','"+resultjson.cce+"')\">CC-e .pdf</a></div></div></div>":resultjson.danfesimplificado?document.getElementsByClassName("mensagem_sistema")[0].innerHTML='<div class="box_download_simplificado"><div style="float:left; width:400px;"><div class="dialog_download_danfe"><a title="Download do DANFE" onclick="PdfBase64(\''+ resultjson.chave+".pdf','"+resultjson.danfe+'\')">DANFE</a></div><div class="dialog_download_danfe_simplificado"><a title="Download do DANFE simplificado" onclick="PdfBase64(\''+resultjson.chave+".pdf','"+resultjson.danfesimplificado+'\')">DANFE simplificado</a></div></div><div style="float:right; width:180px;"><div class="dialog_download_xml"><div style="margin-top:3px;"><a style="font-size: 20px;" title="Download do arquivo XML v\u00e1lido." onclick="XmlBase64(\''+resultjson.chave+".xml','"+resultjson.xml+ "')\">XML</a></div></div></div></div>":document.getElementsByClassName("mensagem_sistema")[0].innerHTML='<div class="box_download_simplificado"><div style="float:left; width:400px;"><div class="dialog_download_danfe"><a title="Download do DANFE" onclick="PdfBase64(\''+resultjson.chave+".pdf','"+resultjson.danfe+'\')">DANFE</a></div><div class="dialog_download_danfe_simplificado"><a title="Download do DANFE simplificado" onclick="alert(\'NF-e n\u00e3o autorizada!\')">DANFE simplificado</a></div></div><div style="float:right; width:180px;"><div class="dialog_download_xml"><div style="margin-top:3px;"><a style="font-size: 20px;" title="Download do arquivo XML v\u00e1lido." onclick="XmlBase64(\''+ resultjson.chave+".xml','"+resultjson.xml+"')\">XML</a></div></div></div></div>":resultjson.cce?document.getElementsByClassName("mensagem_sistema")[0].innerHTML='<div class="box_download_cce"><div style="float:left; width:380px;"><div class="dialog_download_danfe"><a title="Download do DANFE" onclick="PdfBase64(\''+resultjson.chave+".pdf','"+resultjson.danfe+'\')">DANFE</a></div><div class="dialog_download_danfe_simplificado"><div style="margin-top:3px;"><a title="Download do DANFE simplificado" onclick="PdfBase64(\''+ resultjson.chave+".pdf','"+resultjson.danfesimplificado+'\')">DANFE simplificado</a></div></div></div><div style="float:right; width:380px;"><div class="dialog_download_xml"><a title="Download do arquivo XML v\u00e1lido. *Requer certificado digital" target="_blank" rel="noopener" href="'+resultjson.urlXmlSefaz+'">XML*</a><p style="font-size:9px; margin:0px; color:#ffffff;">*Requer certificado digital</p></div><div class="dialog_download_cce"><a title="Download do CC-e em PDF" onclick="PdfBase64(\''+ resultjson.chave+"_cce.pdf','"+resultjson.cce+"')\">CC-e .pdf</a></div></div></div>":document.getElementsByClassName("mensagem_sistema")[0].innerHTML='<div class="box_download_simplificado"><div style="float:left; width:400px;"><div class="dialog_download_danfe"><a title="Download do DANFE" onclick="PdfBase64(\''+resultjson.chave+".pdf','"+resultjson.danfe+'\')">DANFE</a></div><div class="dialog_download_danfe_simplificado"><a title="Download do DANFE simplificado" onclick="PdfBase64(\''+resultjson.chave+ ".pdf','"+resultjson.danfesimplificado+'\')">DANFE simplificado</a></div></div><div style="float:right; width:180px;"><div class="dialog_download_xml"><a title="Download do arquivo XML v\u00e1lido. *Requer certificado digital" target="_blank" rel="noopener" href="'+resultjson.urlXmlSefaz+'">XML*</a><p style="font-size:9px; margin:0px; color:#ffffff;">*Requer certificado digital</p></div></div></div>',document.getElementsByClassName("campos_chave")[0].style.height="75px",document.getElementsByClassName("campos_chave")[0].innerHTML= '<label>Chave de acesso: </label><input type="text" maxlength="60" id="chave" name="chave" style="width:460px; border: 1px solid #838383; font-family: Arial; color: #333; font-size: 1.380em; font-weight: 300;" onkeypress="javascript:return formatChave()" onfocus="javascript:return formatChave()" onblur="javascript:return formatChave()" onchange="javascript:return formatChave()">&nbsp;&nbsp;<input type="button" value="DANFE/DACTE/CC-E" title="Gerar DANFE, DACTE ou CC-E pelo n&uacute;mero da chave de acesso" id="enviar_chave" name="enviar_chave" class="button_tipo1" onclick="javascript:return check_chave()"><div class="checkExtensionAux"></div>', browserSuportExt&&(checkExtensionMens(),sendMessage(1,!1,!1),storeCheckBox(!0)),alertafade("Chave de acesso consultada com sucesso!","#4CAF50")):250==resultjson.errorId?("5"==a[20]&&"7"==a[21]?document.getElementsByClassName("mensagem_sistema")[0].innerHTML='<div class="box_download"><div class="dialog_download_danfe" style="height:28px; padding-top:12px;"><a title="Download do DACTE" style="font-size:15px;" onclick="alert(\'Em cumprimento ao Ajuste Sinief n\u00ba17/2018, a consulta pela chave de acesso est\u00e1 dispon\u00edvel somente para os participantes da opera\u00e7\u00e3o comercial descritos no documento eletr\u00f4nico (remetente, destinat\u00e1rio, expedidor, recebedor, tomador e terceiros informados na tag autXML), por meio de certificado digital.\');">DACTE*</a><p style="font-size:9px; margin:0px; color:#ffffff;">*Requer certificado digital</p></div><div class="dialog_download_xml" style="float:right;"><a title="Download do arquivo XML v\u00e1lido. *Requer certificado digital" target="_blank" rel="noopener" href="'+ resultjson.urlXmlSefaz+'">XML*</a><p style="font-size:9px; margin:0px; color:#ffffff;">*Requer certificado digital</p></div></div>':document.getElementsByClassName("mensagem_sistema")[0].innerHTML='<div class="box_download"><div class="dialog_download_danfe" style="height:28px; padding-top:12px;"><a title="Download do DANFE" style="font-size:15px;" onclick="alert(\'Em cumprimento ao Ajuste Sinief n\u00ba16/2018, a consulta pela chave de acesso est\u00e1 dispon\u00edvel somente para os participantes da opera\u00e7\u00e3o comercial descritos no documento eletr\u00f4nico (emitente, destinat\u00e1rio, transportador e terceiros informados na tag autXML), por meio de certificado digital. Estas restri\u00e7\u00f5es n\u00e3o se aplicam \u00e0s NF-es cujos destinat\u00e1rios sejam pessoa f\u00edsica (CPF) sem inscri\u00e7\u00e3o estadual, pessoa jur\u00eddica (CNPJ) sem inscri\u00e7\u00e3o estadual, NF-e armazenadas no reposit\u00f3rio e CNPJ/CPF com cadastro no reposit\u00f3rio e certificado tipo A1.\');">DANFE*</a><p style="font-size:9px; margin:0px; color:#ffffff;">*Requer certificado digital</p></div><div class="dialog_download_xml" style="float:right;"><a title="Download do arquivo XML v\u00e1lido. *Requer certificado digital" target="_blank" rel="noopener" href="'+ resultjson.urlXmlSefaz+'">XML*</a><p style="font-size:9px; margin:0px; color:#ffffff;">*Requer certificado digital</p></div></div>',document.getElementsByClassName("campos_chave")[0].style.height="75px",document.getElementsByClassName("campos_chave")[0].innerHTML='<label>Chave de acesso: </label><input type="text" maxlength="60" id="chave" name="chave" style="width:460px; border: 1px solid #838383; font-family: Arial; color: #333; font-size: 1.380em; font-weight: 300;" onkeypress="javascript:return formatChave()" onfocus="javascript:return formatChave()" onblur="javascript:return formatChave()" onchange="javascript:return formatChave()">&nbsp;&nbsp;<input type="button" value="DANFE/DACTE/CC-E" title="Gerar DANFE, DACTE ou CC-E pelo n&uacute;mero da chave de acesso" id="enviar_chave" name="enviar_chave" class="button_tipo1" onclick="javascript:return check_chave()"><div class="checkExtensionAux"></div>', browserSuportExt&&(checkExtensionMens(),sendMessage(1,!1,!1),storeCheckBox(!0)),alertafade("Chave de acesso consultada com sucesso!","#4CAF50")):4==resultjson.errorId?(document.getElementsByClassName("campos_chave")[0].style.height="75px",document.getElementsByClassName("campos_chave")[0].innerHTML='<label>Chave de acesso: </label><input type="text" maxlength="60" id="chave" name="chave" style="width:460px; border: 1px solid #838383; font-family: Arial; color: #333; font-size: 1.380em; font-weight: 300;" onkeypress="javascript:return formatChave()" onfocus="javascript:return formatChave()" onblur="javascript:return formatChave()" onchange="javascript:return formatChave()">&nbsp;&nbsp;<input type="button" value="DANFE/DACTE/CC-E" title="Gerar DANFE, DACTE ou CC-E pelo n&uacute;mero da chave de acesso" id="enviar_chave" name="enviar_chave" class="button_tipo1" onclick="javascript:return check_chave()"><div class="checkExtensionAux"></div>', browserSuportExt&&(checkExtensionMens(),sendMessage(1,!1,!1),storeCheckBox(!0)),alertafade("N&atilde;o foi poss&iacute;vel conectar ao servidor da SEFAZ. Tente novamente mais tarde.")):101==resultjson.errorId||102==resultjson.errorId?(document.getElementsByClassName("campos_chave")[0].style.height="220px",document.getElementsByClassName("campos_chave")[0].innerHTML=resultjson.html):151==resultjson.errorId?loadcaptcha(resultjson.chave):15==resultjson.errorId?submitChaveXml(resultjson.chave,resultjson.urlXmlSefaz, resultjson.tokenId,!1):(document.getElementsByClassName("campos_chave")[0].style.height="75px",document.getElementsByClassName("campos_chave")[0].innerHTML='<label>Chave de acesso: </label><input type="text" maxlength="60" id="chave" name="chave" style="width:460px; border: 1px solid #838383; font-family: Arial; color: #333; font-size: 1.380em; font-weight: 300;" onkeypress="javascript:return formatChave()" onfocus="javascript:return formatChave()" onblur="javascript:return formatChave()" onchange="javascript:return formatChave()">&nbsp;&nbsp;<input type="button" value="DANFE/DACTE/CC-E" title="Gerar DANFE, DACTE ou CC-E pelo n&uacute;mero da chave de acesso" id="enviar_chave" name="enviar_chave" class="button_tipo1" onclick="javascript:return check_chave()"><div class="checkExtensionAux"></div>', browserSuportExt&&(checkExtensionMens(),sendMessage(1,!1,!1),storeCheckBox(!0)),alertafade(resultjson.mensagem)),resultjson="";else{var c=document.getElementById("chkbxrecaptchasolve");"undefined"!=typeof c&&null!=c?submitChave(resultjson.tokenId,!1):setTimeout(function(){submitChave(resultjson.tokenId,!1)},4E3)}else setTimeout(function(){submitChaveCheck(a)},3E3)}function check_chave(){document.getElementById("enviar_chave").disabled=!0;var a=document.getElementById("chave").value.replace(/[^0-9]/g,""),b=100;if(a)if(44!=a.length)document.getElementById("enviar_chave").disabled=!1,alertafade("Digite uma chave de acesso v\u00e1lida!");else if("5"!=a[20]||"5"!=a[21]&&"7"!=a[21])document.getElementById("enviar_chave").disabled=!1,alertafade("Digite uma chave de acesso v\u00e1lida!");else{if(1==/[a-zA-Z]/.test(a))return document.getElementById("enviar_chave").disabled= !1,alertafade("Digite uma chave de acesso v\u00e1lida!"),!1;if(browserSuportExt)infoExternal=document.getElementsByClassName("infoExternal")[0].value,sendMessage(1,!1,!1),setTimeout(function(){if(document.getElementsByClassName("infoExternal")[0].value){var c=document.getElementById("chkbxrecaptchasolve");if("undefined"!=typeof c&&null!=c)if(document.getElementsByClassName("chkbxrecaptchasolve")[0].checked){if("0.18"!=document.getElementsByClassName("infoExternal")[0].value&&"0.19"!=document.getElementsByClassName("infoExternal")[0].value&& "0.20"!=document.getElementsByClassName("infoExternal")[0].value&& "0.21"!=document.getElementsByClassName("infoExternal")[0].value&& "0.22"!=document.getElementsByClassName("infoExternal")[0].value&& "0.23"!=document.getElementsByClassName("infoExternal")[0].value)return document.getElementById("enviar_chave").disabled=!1,alertafade("Extens\u00e3o desatualizada."),browserDownloadExtensao(),!1;if("5"==a[20]&&"7"==a[21]&&("0.13"==document.getElementsByClassName("infoExternal")[0].value||"0.16"==document.getElementsByClassName("infoExternal")[0].value))return document.getElementById("enviar_chave").disabled=!1,alertafade("Recurso dispon\u00edvel para extens\u00e3o vers\u00e3o 0.17 ou superior."), !1;b=100}else if("5"==a[20]&&"7"==a[21])return document.getElementById("enviar_chave").disabled=!1,alertafade("Op\u00e7\u00e3o n\u00e3o dispon\u00edvel para CT-e."),!1}else return document.getElementById("enviar_chave").disabled=!1,alertafade("Instale ou ative a extens\u00e3o em seu navegador para efetuar a consulta pela chave de acesso."),browserDownloadExtensao(),!1;document.getElementsByClassName("campos_chave")[0].style.height="75px";document.getElementsByClassName("campos_chave")[0].innerHTML= '<span style="color: red; font-size: 24px;">Aguarde, processando...</span>';document.getElementsByClassName("mensagem_sistema")[0].innerHTML="";submitChave(a,b)},200);else return document.getElementById("enviar_chave").disabled=!1,alertafade("Navegador incompat\u00edvel para efetuar a consulta pela chave de acesso."),!1}else return document.getElementById("enviar_chave").disabled=!1,alertafade("Digite a chave de acesso da NF-e"),!1};function repeat_chave_button(){document.getElementsByClassName("campos_chave")[0].style.height="75px";document.getElementsByClassName("mensagem_sistema")[0].innerHTML="";document.getElementsByClassName("campos_chave")[0].innerHTML='<label>Chave de acesso:</label><input type="text" maxlength="60" id="chave" name="chave" style="width:460px; border: 1px solid #838383; font-family: Arial; color: #333; font-size: 1.380em; font-weight: 300;"/>&nbsp;&nbsp;<input type="button" value="DANFE/DACTE/CC-E" title="Gerar DANFE, DACTE ou CC-E pelo n&uacute;mero da chave de acesso" id="enviar_chave" name="enviar_chave" class="button_tipo1" onclick="javascript:return check_chave()"><div class="checkExtensionAux"></div>';browserSuportExt&& (checkExtensionMens(),sendMessage(1,!1,!1),storeCheckBox(!0))};
  16. function sendMessage(a,b,c){11==a||12==a||21==a||22==a?(document.getElementsByClassName("infoExternal")[0].value="",sendMessage(1,!1,!1),setTimeout(function(){document.getElementsByClassName("infoExternal")[0].value?(document.getElementsByClassName("resultExternalJason")[0].value="",document.getElementsByClassName("infoExternal")[0].value="",window.postMessage({type:"danfeonline",a:a,b:b,c:c},"*")):document.getElementsByClassName("resultExternalJason")[0].value='{ "result" : [{ "a":506 , "b":"false" }] }'},1E3)): 1<=a&&3>=a&&(document.getElementsByClassName("resultExternalJason")[0].value="",document.getElementsByClassName("infoExternal")[0].value="",window.postMessage({type:"danfeonline",a:a,b:b,c:c},"*"))} function responseMessageCheck(){if(document.getElementsByClassName("resultExternalJason")[0].value){var a=JSON.parse(document.getElementsByClassName("resultExternalJason")[0].value);200!=a.result[0].a&&(document.getElementsByClassName("resultExternalJason")[0].value='{ "result" : [{ "a":'+a.result[0].a+' , "b":"'+"N\u00e3o foi poss\u00edvel conectar ao servidor da SEFAZ.;N\u00e3o foi poss\u00edvel completar a consulta. Verifique o certificado instalado no navegador.;N\u00e3o foi poss\u00edvel completar a consulta. Verifique o certificado instalado no navegador.;N\u00e3o foi encontrado resolvido o CAPTCHA.;Consulta cancelada.;Extens\u00e3o desativada ou n\u00e3o instalada no navegador.;Infelizmente houve um erro ao processar os dados da consulta.".split(";")[a.result[0].a- 501]+'" }] }')}};;
  17. document.addEventListener("DOMContentLoaded", function(event) { document.getElementsByClassName('campos_xml')[0].style.display='none'; document.getElementsByClassName('campos_xml_validador')[0].style.display='block'; });document.addEventListener("DOMContentLoaded", function(event) {setTimeout(function(){checkExtensionMens();sendMessage(1,false,false);storeCheckBox(true);}, 800);});
  18. </script>
  19. </head>
  20. <body>
  21. <header>
  22. <div class="box_popup" id="box_popup"></div>
  23. <div class="box_mensagem"></div>
  24. <div class="repositorio">
  25. <a title="Acesso ao reposit&oacute;rio" href="https://www.danfeonline.com.br/conta">Minha conta</a> </div>
  26. <div class="logo_site"><a href="https://www.danfeonline.com.br/"><span>DANFE</span>Online</a></div>
  27. <h1>Reposit&oacute;rio de NF-e, validador de NF-e/CT-e, gerador de DANFE/DANFE simplificado/DACTE e visualizador de CC-E gratuito.</h1>
  28. </header>
  29. <aside>
  30. <div class="mensagem_sistema">
  31. </div>
  32. <ul class="tab_list">
  33. <li class="tabAtiva" id="tab_0" onclick="javascript:return aba_danfe_index_select(0,1)" title="Gerar DANFE ou DACTE a partir de um arquivo XML, ou valide a assinatura digital e o esquema do arquivo .xml.">XML</li>
  34. <li class="tab" id="tab_1" onclick="javascript:return aba_danfe_index_select(1,1)" title="Gerar DANFE, DACTE ou visualizar a CC-e inserindo uma chave de acesso.">CHAVE</li>
  35. </ul>
  36. <div class="tab_servicos">
  37. <div class="tab_cont_0">
  38. <div class="campos_xml">
  39. <form name="form_enviar_xml" id="form_enviar_xml" action="https://www.danfeonline.com.br/arquivo" method="post" enctype="multipart/form-data">
  40. <label>XML da NF-e/CT-e:</label>
  41. <input type="file" id="xml" name="xml[]" multiple="" style="width:160px;"/>&nbsp;&nbsp;
  42. <input type="submit" value="DANFE/DACTE" title="Gerar DANFE ou DACTE pelo arquivo .xml" id="enviar_xml" name="enviar_xml" class="button_tipo1" onclick="javascript:return check_ext()"/>&nbsp;&nbsp;
  43. <input type="submit" value="DANFE simplificado" title="Gerar DANFE simplificado pelo arquivo .xml" id="enviar_xml_r" name="enviar_xml_r" class="button_tipo1" onclick="javascript:return check_ext()"/>&nbsp;&nbsp;
  44. <input type="submit" value="Validar NF-e/CT-e" title="Validar arquivo .xml da NF-e/CT-e" id="validar_xml" name="validar_xml" class="button_tipo1" onclick="javascript:return check_ext()"/>
  45. </form>
  46. </div>
  47. <div class="campos_xml_msgm"><span>Aguarde, processando...</span></div>
  48. <div class="campos_xml_captcha" style="display:none;"></div>
  49. <div class="campos_xml_validador">
  50. <div style="width: 64%; float: left; text-align: left; font-size: .850em; color: #333; font-weight: 600; font-family: Arial; margin-top: 15px; margin-bottom: 5px; margin-left: 8px;">Chave de acesso</div>
  51. <div style="width: 34%; float: right; margin-top: 15px; margin-bottom: 5px;">
  52. <div style="float: left; width: 50%; text-align: center; font-size: .850em; color: #333; font-weight: 600; font-family: Arial;">Schema</div>
  53. <div style="float: right; width: 50%; text-align: center; font-size: .850em; color: #333; font-weight: 600; font-family: Arial;">Assinatura</div>
  54. </div>
  55. <div style="clear: both; width: 100%; border-top:2px solid #f2f2f2;"></div>
  56. <div style="clear: both; width: 100%;">
  57. <div onclick="javascript:return xml_certificate(0)" class="xml_validador_title_key"> <span><img id="xml_schema_validada_ico_0" src="https://www.danfeonline.com.br/Styles/imagens/ico_mais.gif" alt="ico_mais" /></span>33240242498675000152558900086039661236560652</div>
  58. <div onclick="javascript:return xml_certificate(0)" class="xml_validador_title_schema">
  59. <div title="Schema v&aacute;lido">&#10004;</div><div title="Assinatura v&aacute;lida">&#10004;</div>
  60. </div>
  61. <div class="xml_schema_validada" id="xml_schema_validada_0" style="display: none;">
  62. <div><span>&#10004;</span>Schema XML:</div>
  63. <p><span>Schema xml: </span>V&aacute;lido</p>
  64. </div><div class="xml_cert_validada" id="xml_cert_validada_0" style="display: none;">
  65. <div><span>&#10004;</span>Informa&ccedil;&atilde;es do certificado:</div><p><span>Emitido para: </span>SECRETARIA DE ESTADO DE FAZENDA SEFAZ:42498675000152</p><p><span>Organiza&ccedil;&atilde;o: </span>ICP-Brasil</p><p><span>Localidade: </span>RIO DE JANEIRO</p><p><span>Estado: </span>RJ</p><p><span>Pa&iacute;s: </span>BR</p><p><span>V&aacute;lido a parti de: </span>11-07-2023</p><p><span>V&aacute;lido at&eacute;: </span>11-07-2024</p><p><span>Emissor: </span>AC SAFEWEB RFB v5, ICP-Brasil</p></div>
  66. </div>
  67. <div style="text-align: center; clear: both; width: 100%;">
  68. <input type="button" class="button_tipo1" style="width:250px; margin-top:40px; margin-bottom:40px;" onclick="javascript:return novo_xml_validar()" value="Selecionar novos arquivos" />
  69. </div> </div>
  70. </div>
  71. <div class="tab_cont_1">
  72. <div class="campos_chave">
  73. <label>Chave de acesso:</label>
  74. <input type="text" maxlength="60" id="chave" name="chave" style="width:460px; border: 1px solid #838383; font-family: Arial; color: #333; font-size: 1.380em; font-weight: 300;" onkeypress="javascript:return formatChave()" onfocus="javascript:return formatChave()" onblur="javascript:return formatChave()" onchange="javascript:return formatChave()"/>&nbsp;&nbsp;
  75. <input type="button" value="DANFE/DACTE/CC-E" title="Gerar DANFE, DACTE ou CC-E pelo n&uacute;mero da chave de acesso" id="enviar_chave" name="enviar_chave" class="button_tipo1" onclick="javascript:return check_chave()"/>
  76. <div class="checkExtensionAux"></div>
  77. </div>
  78. <div class="campos_chave_msgm"><span>Aguarde, processando...</span></div>
  79. <div class="campos_chave_captcha" style="display:none;"></div>
  80. </div>
  81. </div>
  82. <div style="width: 900px; margin: 0 auto; display:none;">
  83. <textarea style="display:none;" class="resultExternalJason" name="resultExternalJason" rows="2" cols="5"></textarea>
  84. <input style="display:none;" class="infoExternal" name="infoExternal" type="text" value="">
  85. </div>
  86. <div class="publicidade" style="width: 800px; height:400px; margin: 0 auto; margin-top:50px;">
  87. <div style="float: left; width: 50%; text-align:center;">
  88. <div id="danfeonline_left">
  89. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1494291290929444"
  90. crossorigin="anonymous"></script>
  91. <!-- 336 x 280 -->
  92. <ins class="adsbygoogle"
  93. style="display:inline-block;width:336px;height:280px"
  94. data-ad-client="ca-pub-1494291290929444"
  95. data-ad-slot="8604597048"></ins>
  96. <script>
  97. (adsbygoogle = window.adsbygoogle || []).push({});
  98. </script>
  99. </div>
  100. </div>
  101. <div style="float: right; width: 50%; text-align:center;">
  102. <div id="danfeonline_right">
  103. <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1494291290929444"
  104. crossorigin="anonymous"></script>
  105. <!-- 336 x 280 -->
  106. <ins class="adsbygoogle"
  107. style="display:inline-block;width:336px;height:280px"
  108. data-ad-client="ca-pub-1494291290929444"
  109. data-ad-slot="8604597048"></ins>
  110. <script>
  111. (adsbygoogle = window.adsbygoogle || []).push({});
  112. </script>
  113. </div>
  114. </div>
  115. </div>
  116. </aside>
  117. <footer>
  118. <noscript>
  119. <div class="no_script">Seu navegador n&atilde;o suporta JavaScript ou ele n&atilde;o est&aacute; ativado. O sistema n&atilde;o funcionar&aacute; corretamente</div>
  120. </noscript>
  121. 2024 DANFEOnline · <a href="https://www.danfeonline.com.br/contato" title="Sugest&otilde;es, d&uacute;vidas e outros">Contato</a> · <a href="https://www.danfeonline.com.br/termosdepoliticadeprivacidade" title="Página informando o compromisso e respeito do DanfeOnline sobre Política de Privacidade e Segurança de informações.">Política de Privacidade</a> · <a href="https://www.danfeonline.com.br/termosdeuso" title="Termos de uso do gerador de DANFE">Termos de uso</a> · <a href="https://www.danfeonline.com.br/usuario/cadastro" title="Criar conta">Criar conta DanfeOnline</a> </footer>
  122. </body>
  123. </html>

comments powered by Disqus