Árvore de páginas

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.
Informações
iconfalse

O método RecupearNotaFiscalLC_Integração do Live Connector tem a função de disponibilizar informações do estoque das Notas Fiscais no Live para o sistema externo consumir.

Informações
iconfalse
titleExemplo de Utilização:

Exemplo de consumo Via SoapUI:

Image RemovedImage Added



Informações
titleCampos de retorno
Pivot Table
id1581521954499_556941873

Descrição

Tipo

NumeroSequenciaBoolean
ChaveNFe
CodigoLoja
CodigoPedidoExterno
DataEmissao
DataMovimento
Destinatario
Emitente
IDDoctoOrigem

Item

Tipo

CNPJLojaOrigem
ChaveAcessoOrigem
CodigoAlternativo
CodigoPrincipalPractico
CodigoProduto
DataEmissaoOrigem
IDDoctoOrigem
ItemDoctoDest
ItemDoctoOrigem
NumeroDoctoDest
NumeroDoctoOrigem
NumeroItem
NumeroPdvOrigem
OperacaoFiscal
PrecoUnitario
Quantidade
SeqItemOrigem
SerieDoctoOrigem
SerieEquipamentoOrigem

Tributos

Tipo

Aliquota
BaseCalculo
BaseFCP
DispositivoLegal
PercentualFCP
SiglaTributo
SituacaoTributaria
ValorDesoneracao
ValorFCP
ValorIsenta
ValorOutras
ValorTributo

Valor Item

Tipo

UnidadeMedida
ValorBrutoItem
ValorDescontoItem
ValorDescontoItem
ValorLiquidoItem
ValorTotalItem
ValorTotalTributos
VariacaoCFOP

NF Descrição

Tipo

Modelo
NumeroLogNFe
NumeroNotaFiscal
NumeroPdvOrigem
Observacao
Serie
SerieDoctoOrigem
SerieEquipamentoOrigem
Situacao

NF Modelo

Tipo

Categoria
Codigo
Descricao
Entidade

NF Valor

Tipo

TipoNota
ValorBruto
ValorDesconto
ValorDespesas
ValorLiquido
ValorTotalFinanceiro
ValorTotalGeral
ValorTributos
Informações
titleExemplo de Chamada do Método
Bloco de código
titleChamada:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:liv="http://LiveConnector/" xmlns:ren="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data" xmlns:ren1="http://schemas.datacontract.org/2004/07/Rentech.PracticoLive.Connector.Objects">
   <soapenv:Header/>
   <soapenv:Body>
      <liv:RecuperarNotaFiscalLC_Integracao>
         <liv:identificacao>
         
            <ren1:Chave>87d3234c-fc84-4d48-be77-f6ee10956641</ren1:Chave>
         
            <ren1:CodigoSistemaSatelite>XXXXXXXXX</ren1:CodigoSistemaSatelite>
         
         </liv:identificacao>
      </liv:RecuperarNotaFiscalLC_Integracao>
   </soapenv:Body>
</soapenv:Envelope>
Bloco de código
titleChamada XML:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:liv="http://LiveConnector/" xmlns:ren="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data" xmlns:ren1="http://schemas.datacontract.org/2004/07/Rentech.PracticoLive.Connector.Objects">
   <soapenv:Header/>
   <soapenv:Body>
      <liv:RecuperarNotaFiscalLC_Integracao>
         <liv:identificacao>
         
            <ren1:Chave>87d3234c-fc84-4d48-be77-f6ee10956641</ren1:Chave>
         
            <ren1:CodigoSistemaSatelite>XXXXXXXXX</ren1:CodigoSistemaSatelite>
         
         </liv:identificacao>
      </liv:RecuperarNotaFiscalLC_Integracao>
   </soapenv:Body>
</soapenv:Envelope>
Bloco de código
titleRetorno:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <RecuperarNotaFiscalLC_IntegracaoResponse xmlns="http://LiveConnector/">
         <RecuperarNotaFiscalLC_IntegracaoResult xmlns:a="http://schemas.datacontract.org/2004/07/Rentech.PracticoLive.Connector.Objects" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
            <ClassID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">LC_TicketNotaFiscal</ClassID>
            <Creation xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-03-18T15:38:25.6752986-03:00</Creation>
            <LastUpdate xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-03-18T15:38:25.6752986-03:00</LastUpdate>
            <ObjectID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</ObjectID>
            <OwnerID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</OwnerID>
            <UserID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</UserID>
            <a:Chave>00000000-0000-0000-0000-000000000000</a:Chave>
            <a:CodigoSistemaSatelite>220000297</a:CodigoSistemaSatelite>
            <a:Data>18/03/2020</a:Data>
            <a:Hora>15:38</a:Hora>
            <a:Numero>1190923103621767</a:Numero>
            <a:Documentos xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
               <b:anyType i:type="a:LC_NotaFiscal">
                  <ClassID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">LC_NotaFiscal</ClassID>
                  <Creation xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-03-18T15:38:34.7223812-03:00</Creation>
                  <LastUpdate xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-03-18T15:38:34.7223812-03:00</LastUpdate>
                  <ObjectID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</ObjectID>
                  <OwnerID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</OwnerID>
                  <UserID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</UserID>
                  <a:NumeroSequencia>000001</a:NumeroSequencia>
                  <a:ChaveNFe>35190932259175000104550010000000221699076258</a:ChaveNFe>
                  <a:CodigoLoja>011920139</a:CodigoLoja>
                  <a:CodigoPedidoExterno/>
                  <a:DataEmissao>2019-09-23T00:00:00</a:DataEmissao>
                  <a:DataMovimento>2019-09-23T10:28:59</a:DataMovimento>
                  <a:Destinatario>31261756860</a:Destinatario>
                  <a:Emitente>32259175000104</a:Emitente>
                  <a:IDDoctoOrigem>4b776e0b-3c70-4eea-8452-e9b6ae202a7b</a:IDDoctoOrigem>
                  <a:Itens>
                     <b:anyType i:type="a:LC_ItemNotaFiscal">
                        <ClassID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">LC_ItemNotaFiscal</ClassID>
                        <Creation xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-03-18T15:38:38.0192303-03:00</Creation>
                        <LastUpdate xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-03-18T15:38:38.0192303-03:00</LastUpdate>
                        <ObjectID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</ObjectID>
                        <OwnerID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</OwnerID>
                        <UserID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</UserID>
                        <a:CNPJLojaOrigem>32259175000104</a:CNPJLojaOrigem>
                        <a:ChaveAcessoOrigem>35190932259175000104590006589680010634391630</a:ChaveAcessoOrigem>
                        <a:CodigoAlternativo>80201900290</a:CodigoAlternativo>
                        <a:CodigoPrincipalPractico>9938057</a:CodigoPrincipalPractico>
                        <a:CodigoProduto>0110CLZ17600073</a:CodigoProduto>
                        <a:DataEmissaoOrigem>2019-09-23T00:00:00</a:DataEmissaoOrigem>
                        <a:IDDoctoOrigem>4b776e0b-3c70-4eea-8452-e9b6ae202a7b</a:IDDoctoOrigem>
                        <a:ItemDoctoDest>1</a:ItemDoctoDest>
                        <a:ItemDoctoOrigem>1</a:ItemDoctoOrigem>
                        <a:NumeroDoctoDest/>
                        <a:NumeroDoctoOrigem>1063</a:NumeroDoctoOrigem>
                        <a:NumeroItem>1</a:NumeroItem>
                        <a:NumeroPdvOrigem>1</a:NumeroPdvOrigem>
                        <a:OperacaoFiscal>5.929</a:OperacaoFiscal>
                        <a:PrecoUnitario>151</a:PrecoUnitario>
                        <a:Quantidade>1</a:Quantidade>
                        <a:SeqItemOrigem>1</a:SeqItemOrigem>
                        <a:SerieDoctoOrigem/>
                        <a:SerieEquipamentoOrigem>000658968</a:SerieEquipamentoOrigem>
                        <a:Tributos>
                           <b:anyType i:type="a:LC_TributoNotaFiscal">
                              <ClassID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">LC_TributoNotaFiscal</ClassID>
                              <Creation xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-03-18T15:38:40.9411815-03:00</Creation>
                              <LastUpdate xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-03-18T15:38:40.9411815-03:00</LastUpdate>
                              <ObjectID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</ObjectID>
                              <OwnerID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</OwnerID>
                              <UserID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</UserID>
                              <a:Aliquota>0</a:Aliquota>
                              <a:BaseCalculo>0</a:BaseCalculo>
                              <a:BaseFCP>0</a:BaseFCP>
                              <a:DispositivoLegal/>
                              <a:PercentualFCP>0</a:PercentualFCP>
                              <a:SiglaTributo>IPI</a:SiglaTributo>
                              <a:SituacaoTributaria>53</a:SituacaoTributaria>
                              <a:ValorDesoneracao>0</a:ValorDesoneracao>
                              <a:ValorFCP>0</a:ValorFCP>
                              <a:ValorIsenta>0</a:ValorIsenta>
                              <a:ValorOutras>0</a:ValorOutras>
                              <a:ValorTributo>0</a:ValorTributo>
                           </b:anyType>
                              <ClassID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">LC_TributoNotaFiscal</ClassID>
                              <Creation xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-03-18T15:38:40.9411815-03:00</Creation>
                              <LastUpdate xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-03-18T15:38:40.9411815-03:00</LastUpdate>
                              <ObjectID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</ObjectID>
                              <OwnerID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</OwnerID>
                              <UserID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</UserID>
                              <a:Aliquota>0</a:Aliquota>
                              <a:BaseCalculo>0</a:BaseCalculo>
                              <a:BaseFCP>0</a:BaseFCP>
                              <a:DispositivoLegal/>
                              <a:PercentualFCP>0</a:PercentualFCP>
                              <a:SiglaTributo>ICMSEfet</a:SiglaTributo>
                              <a:SituacaoTributaria>41</a:SituacaoTributaria>
                              <a:ValorDesoneracao>0</a:ValorDesoneracao>
                              <a:ValorFCP>0</a:ValorFCP>
                              <a:ValorIsenta>151</a:ValorIsenta>
                              <a:ValorOutras>0</a:ValorOutras>
                              <a:ValorTributo>0</a:ValorTributo>
                           </b:anyType>
                        </a:Tributos>
                        <a:UnidadeMedida>PC</a:UnidadeMedida>
                        <a:ValorBrutoItem>199.9</a:ValorBrutoItem>
                        <a:ValorDescontoItem>48.9</a:ValorDescontoItem>
                        <a:ValorDespesaItem>0</a:ValorDespesaItem>
                        <a:ValorLiquidoItem>151</a:ValorLiquidoItem>
                        <a:ValorTotalItem>151</a:ValorTotalItem>
                        <a:ValorTotalTributos>0</a:ValorTotalTributos>
                        <a:VariacaoCFOP>VendECF</a:VariacaoCFOP>
                     </b:anyType>
                        <ClassID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">LC_ItemNotaFiscal</ClassID>
                        <Creation xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-03-18T15:38:41.7498795-03:00</Creation>
                        <LastUpdate xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-03-18T15:38:41.7498795-03:00</LastUpdate>
                        <ObjectID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</ObjectID>
                        <OwnerID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</OwnerID>
                        <UserID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</UserID>
                        <a:CNPJLojaOrigem>32259175000104</a:CNPJLojaOrigem>
                        <a:ChaveAcessoOrigem>35190932259175000104590006589680010634391630</a:ChaveAcessoOrigem>
                        <a:CodigoAlternativo i:nil="true"/>
                        <a:CodigoPrincipalPractico>9903417</a:CodigoPrincipalPractico>
                        <a:CodigoProduto>040502B224260234</a:CodigoProduto>
                        <a:DataEmissaoOrigem>2019-09-23T00:00:00</a:DataEmissaoOrigem>
                        <a:IDDoctoOrigem>4b776e0b-3c70-4eea-8452-e9b6ae202a7b</a:IDDoctoOrigem>
                        <a:ItemDoctoDest>2</a:ItemDoctoDest>
                        <a:ItemDoctoOrigem>2</a:ItemDoctoOrigem>
                        <a:NumeroDoctoDest/>
                        <a:NumeroDoctoOrigem>1063</a:NumeroDoctoOrigem>
                        <a:NumeroItem>2</a:NumeroItem>
                        <a:NumeroPdvOrigem>1</a:NumeroPdvOrigem>
                        <a:OperacaoFiscal>5.929</a:OperacaoFiscal>
                        <a:PrecoUnitario>99.5</a:PrecoUnitario>
                        <a:Quantidade>2</a:Quantidade>
                        <a:SeqItemOrigem>2</a:SeqItemOrigem>
                        <a:SerieDoctoOrigem/>
                        <a:SerieEquipamentoOrigem>000658968</a:SerieEquipamentoOrigem>
                        <a:Tributos>
                           <b:anyType i:type="a:LC_TributoNotaFiscal">
                              <ClassID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">LC_TributoNotaFiscal</ClassID>
                              <Creation xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-03-18T15:38:43.4724288-03:00</Creation>
                              <LastUpdate xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-03-18T15:38:43.4724288-03:00</LastUpdate>
                              <ObjectID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</ObjectID>
                              <OwnerID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</OwnerID>
                              <UserID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</UserID>
                              <a:Aliquota>0</a:Aliquota>
                              <a:BaseCalculo>0</a:BaseCalculo>
                              <a:BaseFCP>0</a:BaseFCP>
                              <a:DispositivoLegal/>
                              <a:PercentualFCP>0</a:PercentualFCP>
                              <a:SiglaTributo>IPI</a:SiglaTributo>
                              <a:SituacaoTributaria>53</a:SituacaoTributaria>
                              <a:ValorDesoneracao>0</a:ValorDesoneracao>
                              <a:ValorFCP>0</a:ValorFCP>
                              <a:ValorIsenta>0</a:ValorIsenta>
                              <a:ValorOutras>0</a:ValorOutras>
                              <a:ValorTributo>0</a:ValorTributo>
                           </b:anyType>
                        </a:Tributos>
                        <a:UnidadeMedida>PC</a:UnidadeMedida>
                        <a:ValorBrutoItem>250</a:ValorBrutoItem>
                        <a:ValorDescontoItem>51</a:ValorDescontoItem>
                        <a:ValorDespesaItem>0</a:ValorDespesaItem>
                        <a:ValorLiquidoItem>199</a:ValorLiquidoItem>
                        <a:ValorTotalItem>199</a:ValorTotalItem>
                        <a:ValorTotalTributos>0</a:ValorTotalTributos>
                        <a:VariacaoCFOP>VendECF</a:VariacaoCFOP>
                     </b:anyType>
                  </a:Itens>
                  <a:Modelo>55</a:Modelo>
                  <a:NumeroLogNFe/>
                  <a:NumeroNotaFiscal>000000022</a:NumeroNotaFiscal>
                  <a:NumeroPdvOrigem i:nil="true"/>
                  <a:Observacao>REF CF 1063/ O.S.0625/ EMPRESA ME OU EPP OPTANTE PELO SIMPLES NACIONAL.</a:Observacao>
                  <a:Serie>1</a:Serie>
                  <a:SerieDoctoOrigem/>
                  <a:SerieEquipamentoOrigem i:nil="true"/>
                  <a:Situacao>Integrada</a:Situacao>
                  <a:TipoDocumento>
                     <b:anyType i:type="a:LC_TipoDocumentoNotaFiscal">
                        <ClassID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">LC_TipoDocumentoNotaFiscal</ClassID>
                        <Creation xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-03-18T15:38:37.9879759-03:00</Creation>
                        <LastUpdate xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">2020-03-18T15:38:37.9879759-03:00</LastUpdate>
                        <ObjectID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</ObjectID>
                        <OwnerID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</OwnerID>
                        <UserID xmlns="http://schemas.datacontract.org/2004/07/Rentech.Framework.Data">00000000-0000-0000-0000-000000000000</UserID>
                        <a:Categoria>NotaFiscalEntradaCompra</a:Categoria>
                        <a:Codigo>929</a:Codigo>
                        <a:Descricao>[S] Nota Fiscal Baseada em Cupom Fiscal</a:Descricao>
                        <a:Entidade>Cliente</a:Entidade>
                     </b:anyType>
                  </a:TipoDocumento>
                  <a:TipoNota>Saida</a:TipoNota>
                  <a:ValorBruto>449.9</a:ValorBruto>
                  <a:ValorDesconto>99.9</a:ValorDesconto>
                  <a:ValorDespesas>0</a:ValorDespesas>
                  <a:ValorLiquido>350</a:ValorLiquido>
                  <a:ValorTotalFinanceiro>350</a:ValorTotalFinanceiro>
                  <a:ValorTotalGeral>350</a:ValorTotalGeral>
                  <a:ValorTributos>0</a:ValorTributos>
               </b:anyType>
            </a:Documentos>
         </RecuperarNotaFiscalLC_IntegracaoResult>
      </RecuperarNotaFiscalLC_IntegracaoResponse>
   </s:Body>
</s:Envelope>