Check Empresas

Verificar um Selo Check Verificado

Recebeu o Dossiê de uma empresa à venda? Digite o código do Selo para confirmar que ele foi emitido pela ValoraCheck e está válido.

O Selo é um certificado de verificação das informações apresentadas pela empresa, válido por 12 meses. Ele não substitui auditoria contábil nem due diligence jurídica. Conheça o Check Empresas.

(function () { var f = document.getElementById("vfForm"), i = document.getElementById("vfCod"), m = document.getElementById("vfMsg"), r = document.getElementById("vfRes"); var esc = function (s) { return String(s == null ? "" : s).replace(/[&<>"]/g, function (c) { return { "&": "&", "<": "<", ">": ">", '"': """ }[c]; }); }; var data = function (d) { var p = String(d || "").split("-"); return p.length === 3 ? p[2] + "/" + p[1] + "/" + p[0] : d; }; var ICO = { ok: '', aviso: '', nao: '' }; i.addEventListener("input", function () { var v = i.value.toUpperCase().replace(/[^A-Z0-9]/g, "").replace(/^VC/, "").slice(0, 8); i.value = "VC-" + v.slice(0, 4) + (v.length > 4 ? "-" + v.slice(4) : ""); if (v.length === 0) i.value = ""; }); var q = new URLSearchParams(location.search).get("c"); if (q) { i.value = q.toUpperCase(); setTimeout(function () { f.requestSubmit(); }, 0); } f.addEventListener("submit", function (e) { e.preventDefault(); m.textContent = ""; r.hidden = true; var c = i.value.trim().toUpperCase(); if (!/^VC-[A-Z0-9]{4}-[A-Z0-9]{4}$/.test(c)) { m.textContent = "O código tem o formato VC-XXXX-XXXX."; return; } fetch("/api/empresas-selo?c=" + encodeURIComponent(c)).then(function (x) { return x.json(); }).then(function (d) { if (!d.ok) { m.textContent = d.error || "Não encontramos esse código."; return; } var tipo = d.status === "verificado" ? "ok" : d.status === "verificado_ressalvas" ? "aviso" : "nao"; r.className = "vf-res " + tipo; r.hidden = false; r.innerHTML = '

' + ICO[tipo] + esc(d.status_txt) + "

Empresa
" + esc(d.empresa || "—") + "
" + (d.cnpj ? "
CNPJ
" + esc(d.cnpj) + "
" : "") + "
Emitido em
" + data(d.emitido_em) + "
Válido até
" + data(d.valido_ate) + "
" + (d.n_ressalvas ? "
Ressalvas
" + d.n_ressalvas + " (detalhadas no Dossiê)
" : "") + "
"; try { fetch("/api/evento", { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify({ evento: "selo_verificado", propriedades: { status: d.status } }) }); } catch (e) {} }).catch(function () { m.textContent = "Sem conexão. Tente de novo."; }); }); })();