MiSAT 1.6.2

dotnet add package MiSAT --version 1.6.2
                    
NuGet\Install-Package MiSAT -Version 1.6.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="MiSAT" Version="1.6.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MiSAT" Version="1.6.2" />
                    
Directory.Packages.props
<PackageReference Include="MiSAT" />
                    
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 MiSAT --version 1.6.2
                    
#r "nuget: MiSAT, 1.6.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.
#:package MiSAT@1.6.2
                    
#: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=MiSAT&version=1.6.2
                    
Install as a Cake Addin
#tool nuget:?package=MiSAT&version=1.6.2
                    
Install as a Cake Tool

MISAT

Documentacion 📄 | Nuget 🧰

Librería para uso de los servicios del SAT

MISAT es una librería en C# diseñada para facilitar la interacción con los servicios del Servicio de Administración Tributaria (SAT) de México. Esta librería proporciona funciones y métodos para realizar diversas operaciones relacionadas con la gestión fiscal.

Instalación 📦

NuGet\Install-Package MiSAT
dotnet add package MiSAT

Ejemplo Básico 🔧

En este ejemplo, se creara una solicitud de autenticación proporcionando la fecha inicial y final para la validez del token, así como el certificado X509Certificate2 del contribuyente.

using MiSAT;
using MiSAT.Models;

class Program
{
    static void Main(string[] args)
    {
        DateTime fecha = DateTime.UtcNow;
        Autenticacion auth = new Autenticacion
        {
            Certificado = new X509Certificate2("C:\\archivo.pfx", "contraseña"),
            FechaInicial = fecha,
            FechaFinal = fecha.AddMinutes(5),
        };

        string xml = DescargaMasiva.GenerarSolicitudAutenticacion(auth);
        Console.WriteLine($"Solicitud de Autenticación XML:\n{xml}");
    }
}

Documentacion

Para más detalles sobre MiSAT, consulta la Documentación.

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.6.2 100 2/5/2026
1.6.1 94 2/4/2026
1.6.0 92 2/4/2026
1.5.0 101 1/17/2026
1.4.6 103 1/15/2026
1.3.0 102 1/13/2026
1.2.0 100 1/8/2026
1.1.1 106 1/5/2026
1.1.0 119 1/5/2026 1.1.0 is deprecated.
1.0.0 143 12/26/2025 1.0.0 is deprecated.