# InvoiceConverter

Native CII/UBL conversion over the same model used for authoring and presentation.

Class 

`OfficeIMO.Invoicing`

**Namespace**

`OfficeIMO.Invoicing`

**Assembly**

`OfficeIMO.Invoicing`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[InvoiceReadResult.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing/Xml/InvoiceReadResult.cs#L44)

**Modifiers**

static

Native CII/UBL conversion over the same model used for authoring and presentation.

## Inheritance

- object
- InvoiceConverter

Filter members 

Show inherited

## Methods

`public static InvoiceConversionResult Convert(byte[] xml, InvoiceXmlOptions target)` [#](#method-convert-byte-officeimo-invoicing-invoicexmloptions)

[InvoiceReadResult.cs:44](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing/Xml/InvoiceReadResult.cs#L44)

Converts only when the source mapping, model and target contract are complete; bounded diagnostics retain the highest omitted severity.

Parameters

**xml byte[] required**

**target OfficeIMO.Invoicing.InvoiceXmlOptions required**

Returns

`InvoiceConversionResult`

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

<!-- PowerForge markdown artifact sha256:C693B82B1E04FF272EB675099D6C3E58FE3AD99C059D8251018C216B26046039 -->
