SDK-CloudDfe 1.0.0

dotnet add package SDK-CloudDfe --version 1.0.0                
NuGet\Install-Package SDK-CloudDfe -Version 1.0.0                
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.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SDK-CloudDfe --version 1.0.0                
#r "nuget: SDK-CloudDfe, 1.0.0"                
#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 SDK-CloudDfe as a Cake Addin
#addin nuget:?package=SDK-CloudDfe&version=1.0.0

// Install SDK-CloudDfe as a Cake Tool
#tool nuget:?package=SDK-CloudDfe&version=1.0.0                

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. 
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.0 51 7/17/2024

Setup