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
Type | Name | Description |
---|---|---|
FacturXDotNet.Models.CII.CrossIndustryInvoice | invoice | The CrossIndustryInvoice object containing the invoice data to be used for generating the PDF. |