Skip to content

Interface IPdfGenerator

Represents a service responsible for generating PDF documents from provided invoice data.

Assembly: FacturXDotNet.dll
csharp
public interface IPdfGenerator

Methods

Build(CrossIndustryInvoice)

Generates a PDF stream based on the provided CrossIndustryInvoice object.

csharp
PdfDocument Build(CrossIndustryInvoice invoice)
Returns

PdfSharp.Pdf.PdfDocument: The stream representing the generated PDF document.

Parameters
TypeNameDescription
FacturXDotNet.Models.CII.CrossIndustryInvoiceinvoiceThe CrossIndustryInvoice object containing the invoice data to be used for generating the PDF.

The tools are open source and released under the MIT License, feel free to use, modify, and share.