28.09.2016 Views

Manual_de_Orientacao_Contribuinte_v_6.00

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Nota Fiscal Eletrônica<br />

<strong>Manual</strong><br />

<strong>de</strong> Orientação do <strong>Contribuinte</strong><br />

4.7 Web Service – NfeConsultaCadastro<br />

Consulta Cadastro<br />

<strong>Contribuinte</strong><br />

Secretaria <strong>de</strong> Fazenda Estadual<br />

Cliente NFe<br />

Consulta Cadastro<br />

Retorno<br />

Web Service :<br />

NfeConsultaCadastro<br />

consultaCadastro<br />

Proc .<br />

Re<br />

t<br />

Consulta<br />

Cadastro <strong>de</strong><br />

<strong>Contribuinte</strong>s<br />

Função: Serviço para consultar o cadastro <strong>de</strong> contribuintes do ICMS da unida<strong>de</strong> fe<strong>de</strong>rada.<br />

Processo: síncrono.<br />

Método: consultaCadastro<br />

4.7.1 Leiaute da Mensagem <strong>de</strong> Entrada<br />

Entrada: Estrutura XML para consulta ao cadastro <strong>de</strong> contribuintes ICMS.<br />

Schema XML: consCad_v2.00.xsd<br />

# Campo Ele Pai Tipo Ocor. Tam. Descrição/Observações<br />

GP01 ConsCad Raiz - - - - TAG raiz da solicitação<br />

GP02 versao A GP01 N 1-1 1-2v2 Versão do leiaute<br />

GP03 infCons G GP01 - 1-1 - Dados da consulta<br />

GP04 xServ E GP03 C 1-1 8 Serviço solicitado<br />

‘CONS-CAD’<br />

GP05 UF E GP03 C 1-1 2 Sigla da UF consultada,<br />

informar 'SU' para SUFRAMA.<br />

GP06 IE CE GP03 C 1-1 2-14 Inscrição estadual do<br />

contribuinte<br />

GP07 CNPJ CE GP03 N 1-1 3-14 CNPJ do contribuinte<br />

GP08 CPF CE GP03 N 1-1 3-11 CPF do contribuinte<br />

4.7.2 Leiaute da Mensagem <strong>de</strong> Retorno<br />

Retorno: Estrutura XML com o retorno da consulta ao cadastro <strong>de</strong> contribuintes do ICMS.<br />

Schema XML: retConsCad_v2.00.xsd<br />

# Campo Ele Pai Tipo Ocor. Tam. Descrição/Observações<br />

GR01 retConsCad Raiz - - - - TAG raiz da solicitação<br />

GR02 versao A GR01 N 1-1 1-2v2 Versão do leiaute<br />

GR03 infCons G GR01 - 1-1 - Dados da consulta<br />

GR04 verAplic E GR03 C 1-1 1-20 Versão do Aplicativo que<br />

processou a consulta.<br />

A versão <strong>de</strong>ve ser iniciada<br />

com a sigla da UF nos casos<br />

<strong>de</strong> WS próprio ou a sigla<br />

SVAN ou SVRS nos <strong>de</strong>mais<br />

casos.<br />

Pág. 64 / 299

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!