MJF.ARCA.SDK
0.1.5-alpha
.NET 8.0
This package targets .NET 8.0. The package is compatible with this framework or higher.
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
.NET Framework 4.8
This package targets .NET Framework 4.8. The package is compatible with this framework or higher.
This is a prerelease version of MJF.ARCA.SDK.
dotnet add package MJF.ARCA.SDK --version 0.1.5-alpha
NuGet\Install-Package MJF.ARCA.SDK -Version 0.1.5-alpha
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="MJF.ARCA.SDK" Version="0.1.5-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MJF.ARCA.SDK" Version="0.1.5-alpha" />
<PackageReference Include="MJF.ARCA.SDK" />
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 MJF.ARCA.SDK --version 0.1.5-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MJF.ARCA.SDK, 0.1.5-alpha"
#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 MJF.ARCA.SDK@0.1.5-alpha
#: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=MJF.ARCA.SDK&version=0.1.5-alpha&prerelease
#tool nuget:?package=MJF.ARCA.SDK&version=0.1.5-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MJF.ARCA.SDK
SDK .NET para integración con ARCA (ex AFIP) - Facturación electrónica para Argentina
Características
✅ Autenticación WSAA con caché automático de tokens
✅ Facturación electrónica WSFE (Facturas A, B, C)
✅ Multi-targeting: .NET Framework 4.8, .NET Standard 2.0, .NET 8
✅ Soporte para certificados .pfx y .pem
✅ Manejo robusto de errores
Instalación
dotnet add package MJF.ARCA.SDK --prerelease
Inicio rápido
1. Configurar el cliente
using ARCA.SDK;
using ARCA.SDK.Configuration;
var config = new ArcaConfig
{
Cuit = 20123456789,
CertificatePath = "certificado.pfx",
CertificatePassword = "tu_password",
Environment = ArcaEnvironment.Homologacion // o Produccion
};
var client = new ArcaClient(config);
2. Consultar último comprobante
var ultimoNumero = await client.ObtenerUltimoComprobanteAsync(
puntoVenta: 1,
tipoComprobante: 11 // Factura C
);
Console.WriteLine($"Último número: {ultimoNumero}");
Console.WriteLine($"Próximo a usar: {ultimoNumero + 1}");
3. Autorizar un comprobante
using ARCA.SDK.Models;
var comprobante = new Comprobante
{
PuntoVenta = 1,
TipoComprobante = 11, // Factura C
Numero = ultimoNumero + 1,
Concepto = 1, // Productos
TipoDocumento = 99, // Consumidor Final
NumeroDocumento = 0,
FechaEmision = DateTime.Now,
ImporteTotal = 1000m,
ImporteNeto = 1000m,
ImporteNoGravado = 0,
ImporteExento = 0,
ImporteIVA = 0,
ImporteTributos = 0,
MonedaId = "PES",
MonedaCotizacion = 1,
CondicionIVAReceptor = 5 // Consumidor Final
};
var resultado = await client.AutorizarComprobanteAsync(comprobante);
if (resultado.Exitoso)
{
Console.WriteLine($"✓ CAE: {resultado.CAE}");
Console.WriteLine($"✓ Vencimiento: {resultado.FechaVencimientoCAE:dd/MM/yyyy}");
}
else
{
Console.WriteLine($"✗ Error: {resultado.MensajeError}");
}
Características
- ✅ Autenticación WSAA con caché automático de tokens
- ✅ WSFE - Facturación electrónica (Facturas A, B, C)
- ✅ Multi-targeting: .NET Framework 4.8, .NET Standard 2.0, .NET 8
- ✅ Certificados: Soporte para .pfx y .pem
- ✅ Manejo robusto de errores con excepciones específicas
- ✅ Async/await en todos los métodos
Requisitos
- Certificado digital emitido por ARCA (ex AFIP)
- CUIT habilitado para facturación electrónica
- .NET Framework 4.8 o superior / .NET Core 2.0+ / .NET 5+
Documentación
📖 Documentación completa en GitHub
Licencia
MIT License - Ver LICENSE para más detalles
Soporte
- 🐛 Reportar un bug
- 💡 Solicitar feature
- 📧 Contacto: [mjfernandez.dev@gmail.com]
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
| .NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 is compatible. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.8
- System.Net.Http (>= 4.3.4)
- System.Security.Cryptography.Xml (>= 10.0.2)
- System.ServiceModel.Http (>= 10.0.652802)
- System.ServiceModel.Primitives (>= 10.0.652802)
- System.Text.Json (>= 10.0.2)
- System.Xml.XDocument (>= 4.3.0)
-
.NETStandard 2.0
- System.Net.Http (>= 4.3.4)
- System.Security.Cryptography.Xml (>= 10.0.2)
- System.ServiceModel.Http (>= 10.0.652802)
- System.ServiceModel.Primitives (>= 10.0.652802)
- System.Text.Json (>= 10.0.2)
- System.Xml.XDocument (>= 4.3.0)
-
net8.0
- System.Net.Http (>= 4.3.4)
- System.Security.Cryptography.Xml (>= 10.0.2)
- System.ServiceModel.Http (>= 10.0.652802)
- System.ServiceModel.Primitives (>= 10.0.652802)
- System.Text.Json (>= 10.0.2)
- System.Xml.XDocument (>= 4.3.0)
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 |
|---|---|---|
| 0.1.5-alpha | 97 | 3/3/2026 |
| 0.1.2-alpha | 88 | 1/26/2026 |
| 0.1.1-alpha | 82 | 1/26/2026 |
| 0.1.0-alpha | 76 | 1/26/2026 |