scarlos.giap.com.br Open in urlscan Pro
187.103.144.24  Public Scan

URL: https://scarlos.giap.com.br/apex/scarlos/f?p=1602:116::EMITENOTA:NO:116:P116_CODE
Submission: On August 01 via api from DE — Scanned from DE

Form analysis 1 forms found in the DOM

Name: wwv_flowPOST wwv_flow.accept

<form action="wwv_flow.accept" method="post" name="wwv_flow" id="wwvFlowForm" novalidate="">
  <input type="hidden" name="p_flow_id" value="1602" id="pFlowId"><input type="hidden" name="p_flow_step_id" value="116" id="pFlowStepId"><input type="hidden" name="p_instance" value="4800810424129" id="pInstance"><input type="hidden"
    name="p_page_submission_id" value="319600971031838211904048457642411507758" id="pPageSubmissionId"><input type="hidden" name="p_request" value="" id="pRequest"><input type="hidden" name="p_reload_on_submit" value="A" id="pReloadOnSubmit"><input
    type="hidden" value="319600971031838211904048457642411507758" id="pSalt">
  <!--script src="/i/javascript/apexGiap.js" type="text/javascript"></script-->
  <script>
    function CentralizaPopup(width, height) {
      var left = (screen.width - width) / 2;
      var top = (screen.height - height) / 2;
      return 'width=' + width + ',height=' + height + ',left=' + left + ',top=' + top;
    }

    function abreJanela(pUrl, pNomeJanela, pH, pW) {
      if (window.showModalDialog) {
        window.showModalDialog(pUrl, pNomeJanela, "dialogWidth:" + pW + "px;dialogHeight:" + pH + "px");
      } else {
        window.open(pUrl, pNomeJanela, CentralizaPopup(pW, pH) + ',toolbar=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,fullscreen=1');
      }
    }

    function funFechar() {
      this.close();
    }

    function mascaras(src, mask) {
      var i = src.value.length;
      var saida = mask.substring(0, 1);
      var texto = mask.substring(i)
      if (texto.substring(0, 1) != saida) {
        src.value += texto.substring(0, 1);
      }
    }

    function valida_cnpj(campo) {
      //Declaração as variáveis
      var numeros, digitos, soma, i, resultado, pos, tamanho, digitos_iguais, cnpj;
      cnpj = campo.value;
      //Verificando se o campo é nulo
      if (cnpj.length == 0) {
        return false;
      }
      /*
      //Filtrar o campo para verificar se está com máscara
      var filtro = /\d{2,3}.\d{3}.\d{3}\/\d{4}-\d{2}/;
      if(!filtro.test(cnpj)){
      window.alert("CNPJ inválido. Tente novamente.");
      campo.focus();
      return false;
      }
      */
      //Ultilização expressão regular para retirar o que não for número
      cnpj = cnpj.replace(/\D+/g, '');
      digitos_iguais = 1;
      for (i = 0; i < cnpj.length - 1; i++)
        if (cnpj.charAt(i) != cnpj.charAt(i + 1)) {
          digitos_iguais = 0;
          break;
        }
      if (!digitos_iguais) {
        tamanho = cnpj.length - 2
        numeros = cnpj.substring(0, tamanho);
        digitos = cnpj.substring(tamanho);
        soma = 0;
        pos = tamanho - 7;
        for (i = tamanho; i >= 1; i--) {
          soma += numeros.charAt(tamanho - i) * pos--;
          if (pos < 2) pos = 9;
        }
        resultado = soma % 11 < 2 ? 0 : 11 - soma % 11;
        if (resultado != digitos.charAt(0)) {
          alert('CNPJ inválido');
          campo.focus();
          return false;
        }
        tamanho = tamanho + 1;
        numeros = cnpj.substring(0, tamanho);
        soma = 0;
        pos = tamanho - 7;
        for (i = tamanho; i >= 1; i--) {
          soma += numeros.charAt(tamanho - i) * pos--;
          if (pos < 2) pos = 9;
        }
        resultado = soma % 11 < 2 ? 0 : 11 - soma % 11;
        if (resultado != digitos.charAt(1)) {
          alert('CNPJ inválido');
          campo.focus();
          return false;
        }
        return true;
      } else alert('CNPJ inválido');
      campo.focus();
      return false;
    }

    function ValidarCPF(Objcpf) {
      var cpf = Objcpf.value;
      exp = /\.|\-/g
      cpf = cpf.toString().replace(exp, "");
      var digitoDigitado = eval(cpf.charAt(9) + cpf.charAt(10));
      var soma1 = 0,
        soma2 = 0;
      var vlr = 11;
      for (i = 0; i < 9; i++) {
        soma1 += eval(cpf.charAt(i) * (vlr - 1));
        soma2 += eval(cpf.charAt(i) * vlr);
        vlr--;
      }
      soma1 = (((soma1 * 10) % 11) == 10 ? 0 : ((soma1 * 10) % 11));
      soma2 = (((soma2 + (2 * soma1)) * 10) % 11);
      var digitoGerado = (soma1 * 10) + soma2;
      if (digitoGerado != digitoDigitado)
        if (cpf != '') {
          alert("CPF Invalido!");
        }
    }

    function abreManual() {
      window.open('f?p=1602:94', 'JACESSO', CentralizaPopup(800, 590) + ',resizable=no,menubar=no,toolbar=no,location=no,directories=no,scrollbars=yes');
    }

    function queryCep(pCep, functionCallback) {
      var url = '//webservice.giap.com.br/Cep';
      $.ajax({
        dataType: 'jsonp',
        data: {
          'cep': pCep
        },
        success: functionCallback,
        url: url + '/cepServlet'
      });
    }
  </script>
  <table id="apex_layout_3499829188913662977" border="0" class="formlayout" role="presentation">
    <tbody>
      <tr>
        <td nowrap="nowrap" align="right"><label for="P0_COTR_NUM_INSC_MUNIC" id="P0_COTR_NUM_INSC_MUNIC_LABEL"
            tabindex="999"><a class="optional-w-help" href="javascript:popupFieldHelp('3674554402915335757','4800810424129')" tabindex="999">Inscrição Municipal:</a></label></td>
        <td align="left"><b><span id="P0_COTR_NUM_INSC_MUNIC" class="display_only apex-item-display-only"></span></b></td>
      </tr>
      <tr>
        <td nowrap="nowrap" align="right"><label for="P0_COTR_DES_RAZAO_SOCIAL" id="P0_COTR_DES_RAZAO_SOCIAL_LABEL"
            tabindex="999"><a class="optional-w-help" href="javascript:popupFieldHelp('3507480013107036186','4800810424129')" tabindex="999">Contribuinte: </a></label></td>
        <td align="left"><b><span id="P0_COTR_DES_RAZAO_SOCIAL" class="display_only apex-item-display-only"></span></b></td>
      </tr>
    </tbody>
  </table>
  <script>
    function soNumeros(event) {
      Tecla = event.keyCode;
      if (48 > Tecla || Tecla > 59) {
        event.returnValue = false;
        return false;
      }
    }

    function LPad(ContentToSize, PadLength, PadChar) {
      var PaddedString = ContentToSize.toString();
      for (i = PaddedString.length + 1; I <= PadLength; i++) {
        PaddedString = PadChar + PaddedString;
      }
      return PaddedString;
    }

    function check_date(field) {
      var checkstr = "0123456789";
      var DateField = field;
      var Datevalue = "";
      var DateTemp = "";
      var seperator = "/";
      var day;
      var month;
      var year;
      var leap = 0;
      var err = 0;
      var i;
      err = 0;
      DateValue = DateField.value;
      arrayDate = DateValue.split('/');
      if (arrayDate[0].length = 1) {
        arrayDate[0] = arrayDate[0];
      }
      if (arrayDate[1].length = 1) {
        arrayDate[1] = arrayDate[1];
      }
      DateValue = arrayDate[0].toString() + arrayDate[1].toString() + arrayDate[2].toString();
      /* Always change date to 8 digits - string*/
      /* if year is entered as 2-digit / always assume 20xx */
      if (DateValue.length == 6) {
        DateValue = DateValue.substr(0, 4) + '20' + DateValue.substr(4, 2);
      }
      if (DateValue.length != 8) {
        err = 19;
      }
      /* year is wrong if year = 0000 */
      year = DateValue.substr(4, 4);
      if (year == 0) {
        err = 20;
      }
      /* Validation of month*/
      month = DateValue.substr(2, 2);
      if ((month < 1) || (month > 12)) {
        err = 21;
      }
      /* Validation of day*/
      day = DateValue.substr(0, 2);
      if (day < 1) {
        err = 22;
      }
      /* Validation leap-year / february / day */
      if ((year % 4 == 0) || (year % 100 == 0) || (year % 400 == 0)) {
        leap = 1;
      }
      if ((month == 2) && (leap == 1) && (day > 29)) {
        err = 23;
      }
      if ((month == 2) && (leap != 1) && (day > 28)) {
        err = 24;
      }
      /* Validation of other months */
      if ((day > 31) && ((month == "01") || (month == "03") || (month == "05") || (month == "07") || (month == "08") || (month == "10") || (month == "12"))) {
        err = 25;
      }
      if ((day > 30) && ((month == "04") || (month == "06") || (month == "09") || (month == "11"))) {
        err = 26;
      }
      /* if 00 ist entered, no error, deleting the entry */
      if ((day == 0) && (month == 0) && (year == 00)) {
        err = 0;
        day = "";
        month = "";
        year = "";
        seperator = "";
      }
      /* if no error, write the completed date to Input-Field (e.g. 13.12.2001) */
      if (err == 0) {
        DateField.value = day + seperator + month + seperator + year;
      }
      /* Error-message if err != 0 */
      else {
        alert("Data Incorreta!");
        DateField.select();
        DateField.focus();
      }
    }

    function mascaras(src, mask) {
      var i = src.value.length;
      var saida = mask.substring(0, 1);
      var texto = mask.substring(i)
      if (texto.substring(0, 1) != saida) {
        src.value += texto.substring(0, 1);
      }
    }

    function formataMoeda(objTextBox, SeparadorMilesimo, SeparadorDecimal, e) {
      if (objTextBox.readOnly == true) {
        return false;
      }
      var sep = 0;
      var key = '';
      var i = j = 0;
      var len = len2 = 0;
      var strCheck = '0123456789';
      var aux = aux2 = '';
      var whichCode = (window.Event) ? e.which : e.keyCode;
      // 13=enter, 8=backspace as demais retornam 0(zero)
      // whichCode==0 faz com que seja possivel usar todas as teclas como delete, setas, etc    
      if ((whichCode == 13) || (whichCode == 0) || (whichCode == 8)) return true;
      key = String.fromCharCode(whichCode); // Valor para o código da Chave
      if (strCheck.indexOf(key) == -1) return false; // Chave inválida
      len = objTextBox.value.length;
      for (i = 0; i < len; i++)
        if ((objTextBox.value.charAt(i) != '0') && (objTextBox.value.charAt(i) != SeparadorDecimal)) break;
      aux = '';
      for (; i < len; i++)
        if (strCheck.indexOf(objTextBox.value.charAt(i)) != -1) aux += objTextBox.value.charAt(i);
      aux += key;
      len = aux.length;
      if (len == 0) objTextBox.value = '';
      if (len == 1) objTextBox.value = '0' + SeparadorDecimal + '0' + aux;
      if (len == 2) objTextBox.value = '0' + SeparadorDecimal + aux;
      if (len > 2) {
        aux2 = '';
        for (j = 0, i = len - 3; i >= 0; i--) {
          if (j == 3) {
            aux2 += SeparadorMilesimo;
            j = 0;
          }
          aux2 += aux.charAt(i);
          j++;
        }
        objTextBox.value = '';
        len2 = aux2.length;
        for (i = len2 - 1; i >= 0; i--) objTextBox.value += aux2.charAt(i);
        objTextBox.value += SeparadorDecimal + aux.substr(len - 2, len);
      }
      return false;
    }

    function float2moeda(num) {
      x = 0;
      if (num < 0) {
        num = Math.abs(num);
        x = 1;
      }
      if (isNaN(num)) num = "0";
      cents = Math.floor((num * 100 + 0.5) % 100);
      num = Math.floor((num * 100 + 0.5) / 100).toString();
      if (cents < 10) cents = "0" + cents;
      for (var i = 0; i < Math.floor((num.length - (1 + i)) / 3); i++) num = num.substring(0, num.length - (4 * i + 3)) + '.' + num.substring(num.length - (4 * i + 3));
      ret = num + ',' + cents;
      if (x == 1) ret = ' - ' + ret;
      return ret;
    }
  </script>
  <div id="header">
    <div id="logo"><a href="f?p=1602:1:4800810424129:::::"><img src="/pkgnfse/images/esquerda.png"></a></div>
    <div id="navbar">
      <div class="app-user"></div>
      <div class="navbar-entry"><a href="apex_authentication.logout?p_app_id=1602&amp;p_session_id=4800810424129" class="t1NavigationBar">Sair</a></div>
    </div>
  </div>
  <!--ul id="tabs">
<>
<li class="last"><span></span></li>
</ul-->
  <div id="topbar"></div>
  <div id="messages"><span id="APEX_SUCCESS_MESSAGE" data-template-id="276992533983310743_S" class="apex-page-success u-hidden"></span><span id="APEX_ERROR_MESSAGE" data-template-id="276992533983310743_E" class="apex-page-error u-hidden"></span>
  </div>
  <div id="body">
    <div id="two-col-sb-left">
      <div id="left-sidebar">
        <ul id="tabs">
          <!--li class="last"><span></span></li-->
        </ul><br><br>
      </div>
      <div id="main-sb-left">
        <div class="rounded-corner-region" id="R258498407805679403">
          <div class="rc-gray-top">
            <div class="rc-gray-top-r">
              <div class="rc-title">NFSE - EMISSÃO</div>
            </div>
          </div>
          <div class="rc-body">
            <div class="rc-body-r">
              <div class="rc-content-buttons"></div>
              <div class="rc-content-main"><input type="hidden" id="P116_CODE" name="P116_CODE" value=""><input type="hidden" id="P116_CODET" name="P116_CODET" value=""><input type="hidden" id="P116_KEY" name="P116_KEY" value=""><input type="hidden"
                  id="P116_KEYT" name="P116_KEYT" value="">
                <div class="clear"></div>
              </div>
            </div>
          </div>
          <div class="rc-bottom">
            <div class="rc-bottom-r"></div>
          </div>
        </div>
      </div>
    </div>
  </div><input type="hidden" id="P0_TIPO_CONTRIBUINTE" name="P0_TIPO_CONTRIBUINTE" value=""><input type="hidden" id="P0_COTR_ID" name="P0_COTR_ID" value=""><input type="hidden" data-for="P0_COTR_ID"
    value="7LXQT939TeLA1SkmtUTGrSgkVCdu3oiscaMmewWXy1nIG1siBZHRjLbrGa4jeLZCDzqwGvRQoSk2BH3d4032_g"><input type="hidden" id="P0_IP_CONEXAO" name="P0_IP_CONEXAO" value="10.34.128.33"><input type="hidden" data-for="P0_IP_CONEXAO"
    value="bVx3hVIpMBxz3TNj7QOyEdJXjnwOWaTiuIZP0RdCZeq0PeWHT9ZYh5rsj1yxqsEB1hdlhQ06lRYowMwjTZAaAg"><input type="hidden" id="P0_ADMINISTRADOR" name="P0_ADMINISTRADOR" value=""><input type="hidden" data-for="P0_ADMINISTRADOR"
    value="b68ySKvMjSRARN2yA7HqCTQR7ookn6_cxpG3RHJxMIbV2RjWGSjaOmTvxt8nrCY5CO_caDc53hgnvSdo5SiRIg"><input type="hidden" id="P0_CONT_ID" name="P0_CONT_ID" value=""><input type="hidden" data-for="P0_CONT_ID"
    value="lSTb_Ebi5Qq7fd1MaoOYVrYt8lEL-KjJO9Veu3YkTB_aiRtwLtxAvYOP1ygj9Sk0q0R613BZRiH9Z2LZApv-fg"><input type="hidden" id="P0_COTR_STA_SIMPLES" name="P0_COTR_STA_SIMPLES" value=""><input type="hidden" data-for="P0_COTR_STA_SIMPLES"
    value="Zz750cL9TuAcl4YeNk72NYFIh2v1E7i3XUw5XDHVxeQdZnGD_vThM4rHd0NtBoK-yXBoLSfdvMiWJ2RkPxkZQA"><input type="hidden" id="P0_COD_ACESSO" name="P0_COD_ACESSO" value=""><input type="hidden" data-for="P0_COD_ACESSO"
    value="snGgWh8SDVljj63yx35f63gsTAOk55qskN7LAoYW4zQQvjVqo6htn_ZuRv6bVUL99OUHqfbxtUZR2CiHmP0oJQ"><input type="hidden" id="P0_COTR_STA_SIMEI" name="P0_COTR_STA_SIMEI" value=""><input type="hidden" data-for="P0_COTR_STA_SIMEI"
    value="ELXjy0TzC9WMCOfjmH-LmEfu31QCC0OsSs8sfEupE3b-TpsGeH1KtxXNrnZw20Rha3WqbpeQ-rpWcf0LsH9uzA"><input type="hidden" id="P0_COTR_STA_AUTONOMO" name="P0_COTR_STA_AUTONOMO" value=""><input type="hidden" data-for="P0_COTR_STA_AUTONOMO"
    value="ItqYU0lFeIu3E9VPtElDqzQXw5d6MmGkR5zAXMF9vhVAJ-WnnpuhLDuysAVY_3NyC2uOELzVK7ZwaJk-8N0MMg"><input type="hidden" id="P0_NOM_CLIENTE" name="P0_NOM_CLIENTE" value=""><input type="hidden" data-for="P0_NOM_CLIENTE"
    value="pp_FQ2Q5GZlOou4ReomMeV044VJIm0JuHXCdxGcUXSj-PtlQHzc6AgjsRGkvQpNBQk5rwDxHDCRnzvudtoJUUg"><input type="hidden" id="P0_COTR_REG_TRIBUTARIO" name="P0_COTR_REG_TRIBUTARIO" value=""><input type="hidden" data-for="P0_COTR_REG_TRIBUTARIO"
    value="I8Pp1Wgs7A0UZNDbeBWS59kerGONiFEzPPfbDM1tiBjpVI9X41ogvZGW2RX6ax-5azYE9DxU6qtH_8cix09EKQ"><input type="hidden" id="P0_TIPO_GUIA" name="P0_TIPO_GUIA" value=""><input type="hidden" id="P0_NOM_MENU" name="P0_NOM_MENU" value=""><input
    type="hidden" id="P0_COTR_DOCUMENTO" name="P0_COTR_DOCUMENTO" value=""><input type="hidden" id="P0_CIDADE" name="P0_CIDADE" value=""><input type="hidden" id="P0_LIMITE_PROJETO" name="P0_LIMITE_PROJETO" value=""><input type="hidden"
    id="P0_COTR_DESCONTO" name="P0_COTR_DESCONTO" value=""><input type="hidden" id="P0_TOT_MSG_NLIDAS" name="P0_TOT_MSG_NLIDAS" value="0"><input type="hidden" id="P0_STA_ACESSO_ADM" name="P0_STA_ACESSO_ADM" value=""><input type="hidden"
    id="P0_COTR_STATUS" name="P0_COTR_STATUS" value=""><input type="hidden" id="P0_GIAP" name="P0_GIAP" value="">
  <div id="footer">
    <div class="content">
      <div id="customize"></div>
      <div class="app-version">release 1.0</div>
      <div class="clear"></div>
    </div>
  </div>
  <input type="hidden" id="pPageFormRegionChecksums" value="[]">
  <input type="hidden" id="pPageItemsRowVersion" value=""><input type="hidden" id="pPageItemsProtected"
    value="PeuBAAf_9BLDT7rXkOI9kCh8WeFjEP6Jh7LmZCvFUXSeFqBIIKPv2tCl0p_1XodZDr5r8mMVMLJhZLjPO0CP9KAlZAKV8zUAizSt0NPuZSAUkczfSvKlXut7-C83IZFM8qG0kEqRy9iTNU5Sl0l1owbBx30w_HP9ZCrAUZaccIiSUy9vVZicRSElhomqWrwC7Kakyr7XlR0xSRweHOKXsZMTXqgNbEuYLlD9wBjP8F4">
</form>

Text Content

Inscrição Municipal:Contribuinte:

Sair





NFSE - EMISSÃO


release 1.0