CPSysFiscal 1.0.0.2

dotnet add package CPSysFiscal --version 1.0.0.2
NuGet\Install-Package CPSysFiscal -Version 1.0.0.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CPSysFiscal" Version="1.0.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CPSysFiscal --version 1.0.0.2
#r "nuget: CPSysFiscal, 1.0.0.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install CPSysFiscal as a Cake Addin
#addin nuget:?package=CPSysFiscal&version=1.0.0.2

// Install CPSysFiscal as a Cake Tool
#tool nuget:?package=CPSysFiscal&version=1.0.0.2

CPSysFiscal


NuGet Packages <br/> .NET Framework 4.7.2

A DLL


A biblioteca foi criada com a finalidade de faciliar a geração de xml das NFe, NFSe e SAT CFe seguindo a documentação.

USANDO


  1. Instale a biblioteca pelo pacote NuGet Packages;
  2. Todos os campos estão seguindo a respectiva documentação com informações obtidas nelas.
  3. Você irá encontrar informações do TAM ⇒ Tamanho e DEC ⇒ Decimais dos campos.
  4. Campos com 0-1 são campos opcionais e campos 1-500 são listas com no máximo 500 itens.
  5. Inicie as classes;
NFe nFe = new NFe();
CFe cFe = new CFe();
CFeCanc cFeCanc = new CFeCanc();
  1. Informe os campos que irá usar
CPSysFiscal.NFe.Campos.infNFe infNFe = new CPSysFiscal.NFe.Campos.infNFe();
            CPSysFiscal.NFe.Campos.emit emit = new CPSysFiscal.NFe.Campos.emit();
            CPSysFiscal.NFe.Campos.ide ide = new CPSysFiscal.NFe.Campos.ide();

            emit.CNPJ = "11111111111111";

            ide.cUF = "14";
            ide.nNF = "000000001";

            nFe.emit = emit;
            nFe.ide = ide;
            nFe.infNFe = infNFe;
  1. Para receber o xml no cádigo use:
string retorno = nFe.getXMLNFe();
  1. Para salvar o xml:
string retorno = nFe.SalvarXMLNFe("caminho", "nome sem ext");

SUPORTE


Siga-me para minhas próximas criações

Product Compatible and additional computed target framework versions.
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0.2 473 1/8/2021

.NET Framework 4.7.2
Biblioteca fácil uso para a geração dos xml da NFe, NFSe e SAT CFe.