GasperSoft.SUNAT.DTO
1.0.8
See the version list below for details.
dotnet add package GasperSoft.SUNAT.DTO --version 1.0.8
NuGet\Install-Package GasperSoft.SUNAT.DTO -Version 1.0.8
<PackageReference Include="GasperSoft.SUNAT.DTO" Version="1.0.8" />
paket add GasperSoft.SUNAT.DTO --version 1.0.8
#r "nuget: GasperSoft.SUNAT.DTO, 1.0.8"
// Install GasperSoft.SUNAT.DTO as a Cake Addin #addin nuget:?package=GasperSoft.SUNAT.DTO&version=1.0.8 // Install GasperSoft.SUNAT.DTO as a Cake Tool #tool nuget:?package=GasperSoft.SUNAT.DTO&version=1.0.8
GasperSoft.SUNAT.DTO
Objetos (DTOs), usados por las librerías GasperSoft.SUNAT.UBL.V1.dll y GasperSoft.SUNAT.UBL.V2.dll para la generación de los XML requeridos por SUNAT.
EmisorType
Se usa para el llenado de los datos de emisor
var _emisor = new EmisorType()
{
ruc = "20606433094",
razonSocial = "GASPERSOFT EIRL",
codigoUbigeo = "150125",
direccion = "CAL. LOS LIRIOS INT. 20 LT. 1 MZ. B URB. MONTEGRANDE",
departamento = "LIMA",
provincia = "LIMA",
distrito = "PUENTE PIEDRA"
};
InfoPersonaType
Se usa para el llenado de los datos de una persona que podría ser un cliente, proveedor, comprador, pagador del flete etc.
var _adquirente = new InfoPersonaType()
{
tipoDocumentoIdentificacion = "6",
numeroDocumentoIdentificacion = "20415932376",
nombre = "COCA-COLA SERVICIOS DE PERU S.A",
direccion = "AV. REPÚBLICA DE PANAMÁ NRO. 4050 URB. LIMATAMBO"
};
InformacionPagoType
Se usa para el llenado de información de la forma de pago
//Forma de pago al contado
var _informacionPago = new InformacionPagoType()
{
formaPago = FormaPagoType.Contado
};
//Forma de pago al credito en una cuota
var _informacionPago = new InformacionPagoType()
{
formaPago = FormaPagoType.Credito,
montoPendientePago = 118,
cuotas = new List<CuotaType>()
{
new CuotaType()
{
fechaPago = DateTime.Now.AddDays(30).Date,
monto = 118
}
}
};
ItemCPEType
Se usa para el llenado del detalle de un CPE
var _item = new ItemCPEType()
{
codigoProducto = "00001",
nombre = "PRODUCTO DE PRUEBA",
unidadMedida = "NIU",
cantidad = 1,
valorVentaUnitario=100,
precioVentaUnitario = 118,
valorVenta = 100,
montoBaseIGV = 100,
montoIGV = 18,
tasaIGV = 18,
codAfectacionIGV = "10",//Catalogo N° 7
sumatoriaImpuestos = 18
};
//Posteriormente se agrega el detalle a una lista de detalles
var _detalles = new List<ItemCPEType>();
_detalles.Add(_item);
ItemCPEType
Se usa para el llenado del detalle de un CPE
var _item = new ItemCPEType()
{
codigoProducto = "00001",
nombre = "PRODUCTO DE PRUEBA",
unidadMedida = "NIU",
cantidad = 1,
valorVentaUnitario=100,
precioVentaUnitario = 118,
valorVenta = 100,
montoBaseIGV = 100,
montoIGV = 18,
tasaIGV = 18,
codAfectacionIGV = "10",//Catalogo N° 7
sumatoriaImpuestos = 18
};
//Aqui podemos agregar el detalle a una lista de detalles
var _detalles = new List<ItemCPEType>();
_detalles.Add(_item);
CPEType
Se usa para el llenado de los datos de un CPE
var _cpe = new CPEType()
{
codigoTipoOperacion = "0101",
codigoEstablecimiento = "0000",
ordenCompra = "000055",
informacionPago = _informacionPago,
fechaEmision = DateTime.Now.Date,
horaEmision = DateTime.Now.ToString("HH:mm:ss"),
tipoDocumento = "01",
serie = "F001",
numero = 2,
adquirente = _adquirente,
detalles = _detalles,
codMoneda = "PEN",
totalOperacionesGravadas = 100,
sumatoriaIGV = 18,
tasaIGV = 18,
sumatoriaImpuestos = 18,
valorVenta = 100,
precioVenta = 118,
importeTotal = 118,
};
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. 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 is compatible. 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. |
.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 | net35 is compatible. net40 was computed. net403 was computed. net45 was computed. net451 was computed. net452 is compatible. net46 was computed. net461 was computed. net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 is compatible. |
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. |
-
.NETFramework 3.5
- No dependencies.
-
.NETFramework 4.5.2
- No dependencies.
-
.NETFramework 4.6.2
- No dependencies.
-
.NETFramework 4.7.2
- No dependencies.
-
.NETFramework 4.8.1
- No dependencies.
-
.NETStandard 2.0
- No dependencies.
-
net6.0
- No dependencies.
-
net7.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on GasperSoft.SUNAT.DTO:
Package | Downloads |
---|---|
GasperSoft.SUNAT
Métodos utilizados para convertir los Objetos (DTOs) de GasperSoft.SUNAT.DTO(CPETye, CREType, GREType) a XML |
|
GasperSoft.SUNAT.UBL
Librería para generar el XML de Factura, Boleta, Nota de crédito/débito, Guías Remitente/Transportista, Retencion, Resumen diario y Comunicaciones de baja con la estructura UBL requerida por SUNAT. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated | |
---|---|---|---|
1.0.9 | 65 | 11/26/2024 | |
1.0.8 | 138 | 11/23/2024 | |
1.0.7 | 132 | 11/17/2024 | |
1.0.6-alpha | 244 | 12/11/2023 | |
1.0.5-alpha | 251 | 7/1/2023 |