LogCTeIntegracao


Clique aqui para obter uma lista completa das operações.

ImportaNOTFIS

Importar NOTFIS

Testar

O formulário de teste está disponível somente para solicitações na máquina local.

SOAP 1.1

O exemplo a seguir mostra uma solicitação e uma resposta SOAP 1.1. Os espaços reservados mostrados devem ser substituídos por valores reais.

POST /LogCTeIntegracao.asmx HTTP/1.1
Host: ws.logcte.com.br
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://logcte.com.br/services/ImportaNOTFIS"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
    <TokenSecurity xmlns="http://logcte.com.br/services/">
      <UserAPIKEY>string</UserAPIKEY>
    </TokenSecurity>
  </soap:Header>
  <soap:Body>
    <ImportaNOTFIS xmlns="http://logcte.com.br/services/">
      <integracaoNOTFIS>
        <CNPJEmissor>string</CNPJEmissor>
        <NomeArquivoComExtensao>string</NomeArquivoComExtensao>
        <NOTFISBase64>string</NOTFISBase64>
        <NOTFIS>base64Binary</NOTFIS>
        <Versao>Nenhum or NOTFIS_v300_1999_2008 or NOTFIS_v100_2005 or NOTFIS_v301_2000_PHILIPS or NOTFIS_v500_2008 or NOTFIS_MANDAE_v110 or NOTFIS_MANDAE_v110_Minuta or NOTFIS_v300_2016 or NOTFIS_v100_2005_MR or NOTFIS_v310_2000 or NOTFIS_v310_2000_Reg399 or NOTFIS_v500_2013_ALIANCA or NOTFIS_v300_STACRUZ or PIFPAF or NOTFIS_v310_2000MDIAS or NOTFIS_v10_2015_LeroyMerlin or NOTFIS_v310a_2000 or NOTFIS_v310_2000_Loggi or NOTFIS_v100_2021 or NOTFIS_NATURA_DEVOLUCAO or NOTFIS_NATURA_RDPSECFS or NOTFIS_v320_CMPC or NOTFIS_v310_GKO313_2012 or NOTFIS_v500_NATURA or NOTFIS_v310_Loreal or NOTFIS_SAP_25_03_14_Tigre</Versao>
        <CodRegra>string</CodRegra>
      </integracaoNOTFIS>
    </ImportaNOTFIS>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <ImportaNOTFISResponse xmlns="http://logcte.com.br/services/">
      <ImportaNOTFISResult>
        <CodigoRetorno>int</CodigoRetorno>
        <MensagemRetorno>string</MensagemRetorno>
        <Sucesso>boolean</Sucesso>
        <ItensRetorno>
          <IntegracaoRetornoItem>
            <ChaveRegistro>string</ChaveRegistro>
            <ChavedeAcessoMDFe>string</ChavedeAcessoMDFe>
            <CodigoRetorno>int</CodigoRetorno>
            <MensagemRetorno>string</MensagemRetorno>
            <CodigoIntegracao>string</CodigoIntegracao>
          </IntegracaoRetornoItem>
          <IntegracaoRetornoItem>
            <ChaveRegistro>string</ChaveRegistro>
            <ChavedeAcessoMDFe>string</ChavedeAcessoMDFe>
            <CodigoRetorno>int</CodigoRetorno>
            <MensagemRetorno>string</MensagemRetorno>
            <CodigoIntegracao>string</CodigoIntegracao>
          </IntegracaoRetornoItem>
        </ItensRetorno>
      </ImportaNOTFISResult>
    </ImportaNOTFISResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

O exemplo a seguir mostra uma solicitação e uma resposta SOAP 1.2. Os espaços reservados mostrados devem ser substituídos por valores reais.

POST /LogCTeIntegracao.asmx HTTP/1.1
Host: ws.logcte.com.br
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Header>
    <TokenSecurity xmlns="http://logcte.com.br/services/">
      <UserAPIKEY>string</UserAPIKEY>
    </TokenSecurity>
  </soap12:Header>
  <soap12:Body>
    <ImportaNOTFIS xmlns="http://logcte.com.br/services/">
      <integracaoNOTFIS>
        <CNPJEmissor>string</CNPJEmissor>
        <NomeArquivoComExtensao>string</NomeArquivoComExtensao>
        <NOTFISBase64>string</NOTFISBase64>
        <NOTFIS>base64Binary</NOTFIS>
        <Versao>Nenhum or NOTFIS_v300_1999_2008 or NOTFIS_v100_2005 or NOTFIS_v301_2000_PHILIPS or NOTFIS_v500_2008 or NOTFIS_MANDAE_v110 or NOTFIS_MANDAE_v110_Minuta or NOTFIS_v300_2016 or NOTFIS_v100_2005_MR or NOTFIS_v310_2000 or NOTFIS_v310_2000_Reg399 or NOTFIS_v500_2013_ALIANCA or NOTFIS_v300_STACRUZ or PIFPAF or NOTFIS_v310_2000MDIAS or NOTFIS_v10_2015_LeroyMerlin or NOTFIS_v310a_2000 or NOTFIS_v310_2000_Loggi or NOTFIS_v100_2021 or NOTFIS_NATURA_DEVOLUCAO or NOTFIS_NATURA_RDPSECFS or NOTFIS_v320_CMPC or NOTFIS_v310_GKO313_2012 or NOTFIS_v500_NATURA or NOTFIS_v310_Loreal or NOTFIS_SAP_25_03_14_Tigre</Versao>
        <CodRegra>string</CodRegra>
      </integracaoNOTFIS>
    </ImportaNOTFIS>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <ImportaNOTFISResponse xmlns="http://logcte.com.br/services/">
      <ImportaNOTFISResult>
        <CodigoRetorno>int</CodigoRetorno>
        <MensagemRetorno>string</MensagemRetorno>
        <Sucesso>boolean</Sucesso>
        <ItensRetorno>
          <IntegracaoRetornoItem>
            <ChaveRegistro>string</ChaveRegistro>
            <ChavedeAcessoMDFe>string</ChavedeAcessoMDFe>
            <CodigoRetorno>int</CodigoRetorno>
            <MensagemRetorno>string</MensagemRetorno>
            <CodigoIntegracao>string</CodigoIntegracao>
          </IntegracaoRetornoItem>
          <IntegracaoRetornoItem>
            <ChaveRegistro>string</ChaveRegistro>
            <ChavedeAcessoMDFe>string</ChavedeAcessoMDFe>
            <CodigoRetorno>int</CodigoRetorno>
            <MensagemRetorno>string</MensagemRetorno>
            <CodigoIntegracao>string</CodigoIntegracao>
          </IntegracaoRetornoItem>
        </ItensRetorno>
      </ImportaNOTFISResult>
    </ImportaNOTFISResponse>
  </soap12:Body>
</soap12:Envelope>