|
|
| (26 revisões intermediárias pelo mesmo usuário não estão sendo mostradas) |
| Linha 1: |
Linha 1: |
| ===[[IN_CancelamentoNotaFiscal.integrador|CancelamentoNotaFiscal.integrador]]===
| |
| ===[[IN_CadastroCondicaoPagamento.integrador|CadastroCondicaoPagamento.integrador]]===
| |
| ===[[IN_CadastroControlePedido.integrador|CadastroControlePedido.integrador]]===
| |
| ===[[IN_CadastroGradePedido.integrador|CadastroGradePedido.integrador]]===
| |
| ===[[IN_CadastroItensPedido.integrador|CadastroItensPedido.integrador]]===
| |
| ===[[IN_CadastroMapaResumo.integrador|CadastroMapaResumo.integrador]]===
| |
| ===[[IN_CadastroNotaFiscal.integrador|CadastroNotaFiscal.integrador]]===
| |
| ==== Cadastrar====
| |
| ==== ListarId ====
| |
| ==== ListarPendentes ====
| |
| ==== LiberarPendentes ====
| |
| ==== ListarNotasFiscais ====
| |
| ==== ListarNotasFiscaisInutilizadas ====
| |
|
| |
|
| Método que tem por finalidade filtrar as numerações de NFe inutilizadas no ERP CIGAM.</br>
| |
|
| |
| <b>Parâmetros:</b></br>
| |
| <div style="background-color: #f2f2f2">
| |
| <b>• pin:</b> Obrigatório, Tipo: String
| |
| <b>• nf:</b> Tipo: numerico
| |
| <b>• serie:</b> Tipo: String
| |
| <b>• codigoUnidadeNegocio:</b> Tipo: String
| |
| </div>
| |
| </br>
| |
|
| |
| <b>Exemplo de Retorno XML:</b></br>
| |
| <Retorno></br>
| |
| <fagernfe></br>
| |
| <reg></br>
| |
| <nf>0000687623</nf></br>
| |
| <serie>NFE</serie></br>
| |
| <codigoUnidadeNegocio>2</codigoUnidadeNegocio></br>
| |
| <codigoRetornoInutilizacao>102</codigoRetornoInutilizacao></br>
| |
| <descricaoRetornoInutilizacao>Inutilizacao de numero Nfe</descricaoRetornoInutilizacao></br>
| |
| <dataNota>DD/MM/AAAA</dataNota></br>
| |
| <dataEnvio>DD/MM/AAAA</dataEnvio></br>
| |
| <dataRetorno>DD/MM/AAAA</dataRetorno></br>
| |
| <horaRetorno>HHMMSS</horaRetorno></br>
| |
| <status>6</status></br>
| |
| <numeroProtocolo>143170000292574</numeroProtocolo></br>
| |
| <tipoAmbiente>2</tipoAmbiente></br>
| |
| <especieNota>S</especieNota></br>
| |
| <xmlEnvio>..........</xmlEnvio></br>
| |
| <xmlRetorno>........</xmlRetorno></br>
| |
| </reg></br>
| |
| </fagernfe></br>
| |
| </Retorno>
| |
| </br>
| |
|
| |
| <b>Exemplo de Retorno JSON:</b></br>
| |
| [</br>
| |
| {</br>
| |
| "nf": "0000687623",</br>
| |
| "serie": "NFE",</br>
| |
| "codigoUnidadeNegocio": "2",</br>
| |
| "codigoRetornoInutilizacao": "102",</br>
| |
| "descricaoRetornoInutilizacao": "Inutilizacao de numero de Nfe",</br>
| |
| "dataNota": "DD/MM/AAAA",</br>
| |
| "dataEnvio": "DD/MM/AAAA",</br>
| |
| "dataRetorno": "DD/MM/AAAA",</br>
| |
| "horaRetorno": "HHMMSS",</br>
| |
| "status": "6",</br>
| |
| "numeroProtocolo": "143170000292574",</br>
| |
| "tipoAmbiente": "2",</br>
| |
| "especieNota": "S",</br>
| |
| "xmlEnvio": "............",</br>
| |
| "xmlRetorno": "..........."</br>
| |
| }</br>
| |
| ]</br>
| |
|
| |
| ==== ListarNotasFiscaisPaf ====
| |
| ==== ListasNFsMultiplasFormasPagamento ====
| |
| ==== ListarComissoesPorRepresentante ====
| |
| ==== CadastrarNotasFiscais ====
| |
| <p align="justify">
| |
| Cadastra notas fiscais, itens, grades, comissões e parcelas em uma única requisição. Os
| |
| dados da Nota Fiscal deverão estar em formato XML para requisições SOAP e JSON para
| |
| requisições REST. Ambos com estrutura específica conforme descrito a seguir.
| |
| </p>
| |
|
| |
| *<b>Requisição</b>
| |
| **<b>Soap:</b> http://servidor/CadastroNotaFiscal.integrador.asmx
| |
| **<b>Rest/JSon:</b> http://servidor/CadastroNotaFiscal.integrador.ashx/metodo
| |
| **<b>Tipo de registro:</b> CADNF1
| |
|
| |
|
| |
| *<b>Parâmetros:</b></br>
| |
| <div style="background-color: #f2f2f2">
| |
| **<b>pin:</b>
| |
| ***Obrigatório, Tipo: String 20
| |
|
| |
| **<b>statusRegistro</b>
| |
| ***Obrigatório, Tipo: String 1
| |
| ****L=Liberado, P=Pendente
| |
| ****Se for informado algo diferente de P ou L não será aplicado nenhum filtro.
| |
|
| |
| **<b>notaFiscalXml</b>
| |
| ***Obrigatório apenas para requisições SOAP. Tipo: String
| |
| ****Conteúdo de um arquivo XML com as notas fiscais, itens, grades, comissões e parcelas.
| |
|
| |
| **<b>notaFiscalJson:</b>
| |
| ***Obrigatório apenas para requisições REST/JSON. Tipo: String
| |
| ****Conteúdo de um arquivo JSON com as notas fiscais, itens, grades, comissões e parcelas.
| |
| </div>
| |
| </br>
| |
|
| |
| *Exemplo:
| |
| **<categorytree mode="categories">CadastroNotaFiscal.XML</categorytree>
| |
|
| |
| ==== RegistrarNotaFiscalInutilizada ====
| |
| <p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;">
| |
| Método que tem por finalidade registrar as numerações de NFe inutilizadas no ERP CIGAM.</p>
| |
|
| |
| <center><table width="650" border="1" cellspacing="0" cellpadding="7" style="font-size:10.0pt">
| |
| <tr>
| |
| <td width="35%" style="background:#d9d9d9;text-align:center"><strong>Parâmetro</strong></td>
| |
| <td width="15%" style="background:#d9d9d9;text-align:center"><strong>Tipo</strong></td>
| |
| <td width="15%" style="background:#d9d9d9;text-align:center"><strong>Máscara</strong></td>
| |
| <td width="35%" style="background:#d9d9d9;text-align:center"><strong>Observação</strong></td>
| |
| </tr>
| |
| <tr>
| |
| <td> *pin:</td>
| |
| <td>String</td>
| |
| <td>20A</td>
| |
| <td> </td>
| |
| </tr>
| |
| <tr>
| |
| <td> *statusRegistro:</td>
| |
| <td>String</td>
| |
| <td>1A</td>
| |
| <td>L=Liberado, P=Pendente</td>
| |
| </tr>
| |
| <tr>
| |
| <td> *codigoUnidadeNegocio:</td>
| |
| <td>String</td>
| |
| <td>3A</td>
| |
| <td> </td>
| |
| </tr>
| |
| <tr>
| |
| <td> *nf:</td>
| |
| <td>numérico</td>
| |
| <td>10</td>
| |
| <td> </td>
| |
| </tr>
| |
| <tr>
| |
| <td> *serie</td>
| |
| <td>String</td>
| |
| <td>5A</td>
| |
| <td> </td>
| |
| </tr>
| |
| <tr>
| |
| <td> *codigoRetorno:</td>
| |
| <td>String</td>
| |
| <td>3A</td>
| |
| <td>Retorno informado em cStat</td>
| |
| </tr>
| |
| <tr>
| |
| <td> *descricaoRetorno:</td>
| |
| <td>String</td>
| |
| <td>255A</td>
| |
| <td>Retorno informado em xMotivo</td>
| |
| </tr>
| |
| <tr>
| |
| <td> *dataRecibo:</td>
| |
| <td>Date</td>
| |
| <td>##/##/##A</td>
| |
| <td> </td>
| |
| </tr>
| |
| <tr>
| |
| <td> *horaRecibo:</td>
| |
| <td>Time</td>
| |
| <td>HH:MM:SS</td>
| |
| <td> </td>
| |
| </tr>
| |
| <tr>
| |
| <td> *numeroProtocolo:</td>
| |
| <td>String</td>
| |
| <td>15A</td>
| |
| <td>Retorno informado em nProt</td>
| |
| </tr>
| |
| <tr>
| |
| <td> *xmlEnvio:</td>
| |
| <td>Blob</td>
| |
| <td> </td>
| |
| <td>Xml de Envio</td>
| |
| </tr>
| |
| <tr>
| |
| <td> *xmlRetorno:</td>
| |
| <td>Blob</td>
| |
| <td> </td>
| |
| <td>XML de Retorno</td>
| |
| </tr>
| |
| <tr>
| |
| <td> *chaveAcesso:</td>
| |
| <td>String</td>
| |
| <td>41A</td>
| |
| <td> </td>
| |
| </tr>
| |
| </table></center>
| |
|
| |
| <center><table width="650" border="0" cellspacing="0" cellpadding="7" style="font-size:8.5pt">
| |
| <tr>
| |
| <td colspan=4 valign=top'> <b>(*)</b> Campo obrigatório</td>
| |
| </tr>
| |
| </table></center>
| |
| <p align="justify" style="margin-left: 0.32in; text-indent: 0.45in; margin-bottom: 0.08in; font-weight: normal; line-height: 150%;"><br/>
| |
| <b>Retornos:</b><br/>
| |
| Se pin inválido:<br/>
| |
| O usuário não possui direitos suficientes para executar esta rotina.<br/>
| |
| <br/>
| |
| Se nenhum registro encontrado:<br/>
| |
| A consulta não retornou nenhum registro.<br/></p>
| |
|
| |
| ===[[IN_CadastroPedidos.integrador|CadastroPedidos.integrador]]===
| |
| ===[[IN_CadastroPrazoPagamento.integrador|CadastroPrazoPagamento.integrador]]===
| |