Skip to content

Class CrossIndustryInvoiceMinimumProfileExtensions

Extension methods for FacturXDotNet.Models.CII.CrossIndustryInvoice.

Assembly: FacturXDotNet.dll
csharp
public static class CrossIndustryInvoiceMinimumProfileExtensions

Methods

AsMinimumInvoice(CrossIndustryInvoice)

Get a view of the FacturXDotNet.Models.CII.CrossIndustryInvoice as a FacturXDotNet.Models.CII.Minimum.MinimumCrossIndustryInvoice. The difference between the two is that the FacturXDotNet.Models.CII.Minimum.MinimumCrossIndustryInvoice has the correct nullability annotations according to the MINIMUM profile.

csharp
public static MinimumCrossIndustryInvoice AsMinimumInvoice(this CrossIndustryInvoice cii)
Returns

FacturXDotNet.Models.CII.Minimum.MinimumCrossIndustryInvoice: A view of the FacturXDotNet.Models.CII.CrossIndustryInvoice as a FacturXDotNet.Models.CII.Minimum.MinimumCrossIndustryInvoice.

Parameters
TypeNameDescription
FacturXDotNet.Models.CII.CrossIndustryInvoiceciiThe FacturXDotNet.Models.CII.CrossIndustryInvoice to convert.

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