Skip to content

Class CrossIndustryInvoiceAttachment

The Cross-Industry Invoice attachment.

Assembly: FacturXDotNet.dll
csharp
public class CrossIndustryInvoiceAttachment : FacturXDocumentAttachment

Inheritance: System.Object -> FacturXDotNet.FacturXDocumentAttachment

Methods

GetCrossIndustryInvoiceAsync(string?, CrossIndustryInvoiceReaderOptions?, CancellationToken)

Get the parsed Cross-Industry Invoice.

csharp
public Task<CrossIndustryInvoice> GetCrossIndustryInvoiceAsync(string? password = null, CrossIndustryInvoiceReaderOptions? options = null, CancellationToken cancellationToken = default)
Returns

System.Threading.Tasks.Task<FacturXDotNet.Models.CII.CrossIndustryInvoice>: The parsed Cross-Industry Invoice.

Parameters
TypeNameDescription
System.StringpasswordThe password to open the PDF document.
FacturXDotNet.Parsing.CII.CrossIndustryInvoiceReaderOptionsoptionsThe options to parse the Cross-Industry Invoice.
System.Threading.CancellationTokencancellationTokenThe cancellation token.

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