SDK-CloudDfe 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package SDK-CloudDfe --version 1.0.1
                    
NuGet\Install-Package SDK-CloudDfe -Version 1.0.1
                    
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="SDK-CloudDfe" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SDK-CloudDfe" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="SDK-CloudDfe" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add SDK-CloudDfe --version 1.0.1
                    
#r "nuget: SDK-CloudDfe, 1.0.1"
                    
#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.
#:package SDK-CloudDfe@1.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=SDK-CloudDfe&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=SDK-CloudDfe&version=1.0.1
                    
Install as a Cake Tool

SDK em C# para API Integra Notas

Este SDK visa simplificar a integração do seu sistema com a nossa API, oferecendo classes com funções pré-definidas para acessar as rotas da API. Isso elimina a necessidade de desenvolver uma aplicação para se comunicar diretamente com a nossa API, tornando o processo mais eficiente e direto.

Forma de instalação de nosso SDK:

dotnet add package SDK-CloudDfe

Forma de uso:

using Newtonsoft.Json;
using Sdk.CloudDfe;

var config = new Dictionary<string, object>
{
    { "token", "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJlbXAiOjQ2MSwidXNyIjoxNzAsInRwIjoyLCJpYXQiOjE2NTE1MDYzMjR9.a0cOwP6BUDZAboYwMzoMjutCtFM8Ph-X4pLahZIB_V4" },
    { "ambiente", Consts.AMBIENTE_HOMOLOGACAO },
    { "timeout", 60 },
    { "debug", true }
};

var nfe = new Nfe(config);

try
{
    var resp = Task.Run(async () => await nfe.Status()).GetAwaiter().GetResult();

    string jsonOutput = JsonConvert.SerializeObject(resp, Formatting.Indented);
    Console.WriteLine(jsonOutput);

}
catch (ArgumentException ex)
{
    Console.WriteLine($"Erro ao obter o status: {ex.Message}");
}

Sobre dados de envio e retornos

Para saber os detalhes referente ao dados de envio e os retornos consulte nossa documentação IntegraNotas Documentação.

Pasta de Exemplos

Utilitários

Averbação

Certificado Digital

CT-e

CT-e OS

DF-e

Emitente

GNR-e

MDF-e

NFC-e

NFCom

NF-e

NFS-e

Softhouse

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.7 247 4/17/2025
1.0.6 85 1/14/2025
1.0.5 120 11/5/2024
1.0.4 122 11/1/2024
1.0.3 112 10/31/2024
1.0.2 114 10/30/2024
1.0.1 154 8/23/2024
1.0.0 122 7/17/2024

Setup