Class CiiInvoiceMapper

Namespace
EInvoice.Cii.Mapping
Assembly
EInvoice.Cii.dll

Bidirectional mapper between the domain Invoice model and generated CII CrossIndustryInvoiceType.

public static class CiiInvoiceMapper
Inheritance
CiiInvoiceMapper
Inherited Members

Methods

FromCii(CrossIndustryInvoiceType)

public static Invoice FromCii(CrossIndustryInvoiceType cii)

Parameters

cii CrossIndustryInvoiceType

Returns

Invoice

ToCii(Invoice, InvoiceProfile?)

public static CrossIndustryInvoiceType ToCii(Invoice invoice, InvoiceProfile? profile = null)

Parameters

invoice Invoice
profile InvoiceProfile

Returns

CrossIndustryInvoiceType