Logrand.CFDI.PDF.Service 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Logrand.CFDI.PDF.Service --version 1.0.2
NuGet\Install-Package Logrand.CFDI.PDF.Service -Version 1.0.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="Logrand.CFDI.PDF.Service" Version="1.0.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Logrand.CFDI.PDF.Service --version 1.0.2
#r "nuget: Logrand.CFDI.PDF.Service, 1.0.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.
// Install Logrand.CFDI.PDF.Service as a Cake Addin
#addin nuget:?package=Logrand.CFDI.PDF.Service&version=1.0.2

// Install Logrand.CFDI.PDF.Service as a Cake Tool
#tool nuget:?package=Logrand.CFDI.PDF.Service&version=1.0.2

Namespace

            using Logrand.CFDI.PDF;

Code

            Service.Factura factura = new Service.Factura();

            factura.FolioFiscal = "654a-65a4sd6-65a4sd56-6546";
            factura.CadenaOriginal = "lkashdlkadjl kashdñashdl aksdhalksjhd alkjsdhalksjdhalksjdhalksdhalksjd";
            factura.Total = "100";

            for (int i = 0; i < 10; i++)
            {
                var concepto = new Logrand.CFDI.PDF.Service.FacturaConcepto();

                concepto.Descripcion = "DEscripcion";
                concepto.CVE = "Hola";
                concepto.Cantidad = "1.00";
                concepto.Importe = "200";
                concepto.Descuento = "0";
                concepto.ValorUnitario = "300";

                factura.Conceptos.Add(concepto);
            }

            var pdf = Service.Factura.getPDF(factura);

            FileStream file = new FileStream(@"D:\nombre_pdf_tester.pdf", FileMode.Create);

            pdf.CopyTo(file);

            file.Flush();
            file.Close();

Propiedades Factura

        public string NombreEmisor { get; set; }
        public string RFCEmisor { get; set; }
        public string NombreReceptor { get; set; }
        public string RFCReceptor { get; set; }
        public string UsoCFDI { get; set; }
        public string FolioFiscal { get; set; }
        public string NoSerieCSD { get; set; }
        public string LugarFechaHora { get; set; }
        public string EfectoComprobante { get; set; }
        public string FolioSerie { get; set; }
        public string RegimenFiscal { get; set; }

        public List<FacturaConcepto> Conceptos { get; set; }

        public string Moneda { get; set; }
        public string FormaPago { get; set; }
        public string MetodoPago { get; set; }
        public string SubTotal { get; set; }
        public string Total { get; set; }
        public string TotalLetra { get; set; }
        public string SelloCFDI { get; set; }
        public string SelloSAT { get; set; }
        public string CadenaOriginal { get; set; }
        public string NoSerieCertificadoSAT { get; set; }
        public DateTime FechaCertificacion { get; set; }
        public string RFCProveedor { get; set; }

Metodos Factura

public static MemoryStream getPDF(Factura factura)

Propiedades FacturaConcepto

        public string CVE { get; set; }
        public string NoIdentificacion { get; set; }
        public string Cantidad { get; set; }
        public string ClaveUnidad { get; set; }
        public string Unidad { get; set; }
        public string Descripcion { get; set; }
        public string ValorUnitario { get; set; }
        public string Importe { get; set; }
        public string Descuento { get; set; }
Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  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. 
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.5.0 444 8/10/2022
1.4.0 431 6/21/2022
1.3.0 393 6/9/2022
1.2.0 382 6/9/2022
1.1.0 1,034 3/2/2018
1.0.10 973 1/12/2018
1.0.9 936 1/11/2018
1.0.8 986 1/9/2018
1.0.7 1,146 1/5/2018
1.0.6 932 12/20/2017
1.0.5 952 12/8/2017
1.0.4 1,084 12/6/2017
1.0.3 1,016 12/6/2017
1.0.2 1,096 12/6/2017
1.0.1 1,063 12/5/2017
1.0.0 999 12/4/2017

Summary of changes made in this release of the package.