Class UblInvoiceMapper

Namespace
EInvoice.Ubl.Mapping
Assembly
EInvoice.Ubl.dll

Bidirectional mapper between the domain Invoice model and generated UBL InvoiceType.

public static class UblInvoiceMapper
Inheritance
UblInvoiceMapper
Inherited Members

Methods

FromUbl(InvoiceType)

public static Invoice FromUbl(InvoiceType ubl)

Parameters

ubl InvoiceType

Returns

Invoice

ToUbl(Invoice, InvoiceProfile?)

public static InvoiceType ToUbl(Invoice invoice, InvoiceProfile? profile = null)

Parameters

invoice Invoice
profile InvoiceProfile

Returns

InvoiceType