Consulta CNPJ NuGet Package

A DLL consulta o site http://www.receita.fazenda.gov.br/pessoajuridica/cnpj/cnpjreva/cnpjreva_solicitacao2.asp

Já está disponivel para ser utilizado no Delphi.



Exemplo de como utilizar
Primeiro temos que instanciar a DLL
DLL_CLASS_CNPJ.CNPJ cnpj = new DLL_CLASS_CNPJ.CNPJ();

Executar a consulta no passando o CNPJ como parametro. O segundo parametro no momento não é utilizado.


cnpj.mForm("99999999999999", "");

Após efetuado a consulta pode utilizar os metodos abaixo para retornar os valores.
DLL_CLASS_CNPJ.InfoCNPJ.AtividadeEconomicaPrimaria
DLL_CLASS_CNPJ.InfoCNPJ.AtividadeEconomicaSecundaria
DLL_CLASS_CNPJ.InfoCNPJ.DataSituacaoCadastral
DLL_CLASS_CNPJ.InfoCNPJ.EnderecoBairro
DLL_CLASS_CNPJ.InfoCNPJ.EnderecoCEP
DLL_CLASS_CNPJ.InfoCNPJ.EnderecoCidade
DLL_CLASS_CNPJ.InfoCNPJ.EnderecoComplemento
DLL_CLASS_CNPJ.InfoCNPJ.EnderecoEstado
DLL_CLASS_CNPJ.InfoCNPJ.EnderecoLogradouro
DLL_CLASS_CNPJ.InfoCNPJ.EnderecoNumero
DLL_CLASS_CNPJ.InfoCNPJ.MatrizFilial
DLL_CLASS_CNPJ.InfoCNPJ.MotivoSituacaoCadastral
DLL_CLASS_CNPJ.InfoCNPJ.NaturezaJuridica
DLL_CLASS_CNPJ.InfoCNPJ.NomeFantasia
DLL_CLASS_CNPJ.InfoCNPJ.NumeroDaInscricao
DLL_CLASS_CNPJ.InfoCNPJ.RazaoSocial
DLL_CLASS_CNPJ.InfoCNPJ.SituacaoCadastral
DLL_CLASS_CNPJ.InfoCNPJ.Email.




Got any Consulta CNPJ Question?





Info

Version: 1.0.1
Author(s): Alisson Santos
Last Update: Friday, December 8, 2017
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/Consulta_CNPJ


Install
Install-Package Consulta_CNPJ
dotnet add package Consulta_CNPJ
paket add Consulta_CNPJ
Consulta_CNPJ Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

0

days-since-last-release

2344