# InvoiceConversionResult

Bounded syntax conversion result. Failure returns diagnostics and no output bytes.

Class 

`OfficeIMO.Invoicing`

**Namespace**

`OfficeIMO.Invoicing`

**Assembly**

`OfficeIMO.Invoicing`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

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

**Modifiers**

sealed

Bounded syntax conversion result. Failure returns diagnostics and no output bytes.

## Inheritance

- object
- InvoiceConversionResult

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Method [InvoiceConverter.Convert](/api/invoicing/officeimo-invoicing-invoiceconverter/#method-convert-byte-officeimo-invoicing-invoicexmloptions)

Filter members 

Show inherited

## 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?`

## Properties

`public bool Succeeded { get; }` [#](#property-succeeded)

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

True when conversion produced XML without discarding observed business data.

`public byte[]? Xml { get; }` [#](#property-xml)

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

Converted XML as a defensive copy, or null when conversion is blocked.

`public IReadOnlyList<InvoiceDiagnostic> Diagnostics { get; }` [#](#property-diagnostics)

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

Unmapped fields, unsupported target fields, model errors and profile changes.

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