IsaRoGaMX.Cfdi.Nomina
1.0.0
.NET 5.0
This package targets .NET 5.0. The package is compatible with this framework or higher.
.NET Core 2.1
This package targets .NET Core 2.1. 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 3.5
This package targets .NET Framework 3.5. The package is compatible with this framework or higher.
dotnet add package IsaRoGaMX.Cfdi.Nomina --version 1.0.0
NuGet\Install-Package IsaRoGaMX.Cfdi.Nomina -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="IsaRoGaMX.Cfdi.Nomina" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IsaRoGaMX.Cfdi.Nomina --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: IsaRoGaMX.Cfdi.Nomina, 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 IsaRoGaMX.Cfdi.Nomina as a Cake Addin #addin nuget:?package=IsaRoGaMX.Cfdi.Nomina&version=1.0.0 // Install IsaRoGaMX.Cfdi.Nomina as a Cake Tool #tool nuget:?package=IsaRoGaMX.Cfdi.Nomina&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
IsaRoGaMX.Cfdi.Nomina
Librería para generar el Complemento de Nómina
Versiones soportadas
- 1.2
Ejemplo (https://developers.sw.com.mx/article-categories/ejemplos-4-0/)
// Se crea el comprobante
IsaRoGaMX.Cfdi.v40.Comprobante cfdi = new IsaRoGaMX.Cfdi.v40.Comprobante();
// Datos del Comprobante
cfdi["Serie"] = "Serie";
cfdi["Folio"] = "Folio";
cfdi["Fecha"] = DateTime.Now.ToString("s");
cfdi["CondicionesDePago"] = "CondicionesDePago";
cfdi["SubTotal"] = "5000.00";
cfdi["Descuento"] = "200";
cfdi["Moneda"] = "MXN";
cfdi["TipoCambio"] = "1";
cfdi["Total"] = "4800";
cfdi["TipoDeComprobante"] = "N";
cfdi["Exportacion"] = "01";
cfdi["MetodoPago"] = "PPD";
cfdi["LugarExpedicion"] = "20000";
cfdi["Certificado"] = cerInfo.Certificado;
cfdi["NoCertificado"] = cerInfo.NoCertificado;
// Emisor
cfdi.Emisor["Rfc"] = "URE180429TM6";
cfdi.Emisor["Nombre"] = "UNIVERSIDAD ROBOTICA ESPAÑOLA";
cfdi.Emisor["RegimenFiscal"] = "601";
// Receptor
cfdi.Receptor["Rfc"] = "XOJI740919U48";
cfdi.Receptor["Nombre"] = "INGRID XODAR JIMENEZ";
cfdi.Receptor["DomicilioFiscalReceptor"] = "88965";
cfdi.Receptor["RegimenFiscalReceptor"] = "605";
cfdi.Receptor["UsoCFDI"] = "CN01";
// Conceptos
cfdi.Conceptos[0]["ClaveProdServ"] = "84111505";
cfdi.Conceptos[0]["Cantidad"] = "1";
cfdi.Conceptos[0]["ClaveUnidad"] = "ACT";
cfdi.Conceptos[0]["Descripcion"] = "Pago de nómina";
cfdi.Conceptos[0]["ValorUnitario"] = "5000.00";
cfdi.Conceptos[0]["Descuento"] = "200";
cfdi.Conceptos[0]["Importe"] = "5000.00";
cfdi.Conceptos[0]["ObjetoImp"] = "01";
// Complemento Nomina
var nomina = new IsaRoGaMX.Cfdi.Nomina.v12.Nomina();
nomina["TipoNomina"] = "O";
nomina["FechaPago"] = "2021-12-24";
nomina["FechaInicialPago"] = "2021-12-09";
nomina["FechaFinalPago"] = "2021-12-24";
nomina["NumDiasPagados"] = "15";
nomina["TotalPercepciones"] = "5000.0";
nomina["TotalDeducciones"] = "200";
// Emisor
nomina.Emisor["RegistroPatronal"] = "B5510768108";
nomina.Emisor["RfcPatronOrigen"] = "URE180429TM6";
// Receptor
nomina.Receptor["Curp"] = "XEXX010101HNEXXXA4";
nomina.Receptor["NumSeguridadSocial"] = "000000";
nomina.Receptor["FechaInicioRelLaboral"] = "2015-01-01";
nomina.Receptor["Antigüedad"] = "P364W";
nomina.Receptor["TipoContrato"] = "01";
nomina.Receptor["TipoJornada"] = "01";
nomina.Receptor["TipoRegimen"] = "03";
nomina.Receptor["NumEmpleado"] = "120";
nomina.Receptor["Departamento"] = "Desarrollo";
nomina.Receptor["Puesto"] = "Ingeniero de Software";
nomina.Receptor["RiesgoPuesto"] = "1";
nomina.Receptor["PeriodicidadPago"] = "04";
nomina.Receptor["CuentaBancaria"] = "1111111111";
nomina.Receptor["Banco"] = "002";
nomina.Receptor["SalarioBaseCotApor"] = "490.22";
nomina.Receptor["SalarioDiarioIntegrado"] = "146.47";
nomina.Receptor["ClaveEntFed"] = "JAL";
// Percepciones
nomina.Percepciones["TotalSueldos"] = "5000.0";
nomina.Percepciones["TotalGravado"] = "2808.8";
nomina.Percepciones["TotalExento"] = "2191.2";
nomina.Percepciones[0]["TipoPercepcion"] = "001";
nomina.Percepciones[0]["Clave"] = "00500";
nomina.Percepciones[0]["Concepto"] = "Sueldos; Salarios Rayas y Jornales";
nomina.Percepciones[0]["ImporteGravado"] = "2808.8";
nomina.Percepciones[0]["ImporteExento"] = "2191.2";
// Deducciones
nomina.Deducciones["TotalOtrasDeducciones"] = "200";
nomina.Deducciones[0]["TipoDeduccion"] = "001";
nomina.Deducciones[0]["Clave"] = "00301";
nomina.Deducciones[0]["Concepto"] = "Seguridad Social";
nomina.Deducciones[0]["Importe"] = "200";
// Se agrega el complemento
cfdi.AgregaComplemento(nomina);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. 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 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net35 is compatible. net40 was computed. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. 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.
-
.NETCoreApp 2.1
- IsaRoGaMX.Cfdi (>= 1.1.1)
-
.NETCoreApp 3.1
- IsaRoGaMX.Cfdi (>= 1.1.1)
-
.NETFramework 3.5
- IsaRoGaMX.Cfdi (>= 1.1.1)
-
.NETStandard 2.0
- IsaRoGaMX.Cfdi (>= 1.1.1)
-
net5.0
- IsaRoGaMX.Cfdi (>= 1.1.1)
-
net6.0
- IsaRoGaMX.Cfdi (>= 1.1.1)
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 | 98 | 8/2/2024 |
1.0.0-beta1 | 166 | 6/11/2022 |