# OfficeInvoiceWorkflowResult

Operation evidence kept separate from standards compliance, bound to captured input and exact returned artifacts.

Class 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeInvoiceWorkflowResult.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Invoicing/OfficeInvoiceWorkflowResult.cs#L52)

**Modifiers**

sealed

Operation evidence kept separate from standards compliance, bound to captured input and exact returned artifacts.

## Inheritance

- object
- OfficeInvoiceWorkflowResult

## Usage

Explore 6 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 4

- Method [OfficeInvoiceBufferWorkflow.RunAsync](/api/workflows/officeimo-workflows-officeinvoicebufferworkflow/#method-runasync-officeimo-workflows-officeinvoiceworkflowrequest-threading-cancellationtoken)
- Method [OfficeInvoiceBufferWorkflow.RunBatchAsync](/api/workflows/officeimo-workflows-officeinvoicebufferworkflow/#method-runbatchasync-collections-generic-ienumerable-officeimo-workflows-officeinvoiceworkflowrequest-officeimo-workflows-officeinvoiceworkflowbatchoptions-threading-cancellationtoken)
- Property [OfficeInvoiceFileWorkflowResult.Workflow](/api/workflows/officeimo-workflows-officeinvoicefileworkflowresult/#property-workflow)
- Property [OfficeInvoiceStorageWorkflowResult.Workflow](/api/workflows/officeimo-workflows-officeinvoicestorageworkflowresult/#property-workflow)

### Accepted by parameters 2

- Constructor [OfficeInvoiceFileWorkflowResult.OfficeInvoiceFileWorkflowResult](/api/workflows/officeimo-workflows-officeinvoicefileworkflowresult/#constructor-ctor-string-string-officeimo-workflows-officeinvoiceworkflowresult-boolean-string) parameter `Workflow`
- Method [OfficeInvoiceFileWorkflowResult.Deconstruct](/api/workflows/officeimo-workflows-officeinvoicefileworkflowresult/#method-deconstruct-string-string-officeinvoiceworkflowresult-boolean-string) parameter `Workflow`

Filter members 

Show inherited

## Methods

`public byte[]? ToOutputBytes()` [#](#method-tooutputbytes)

[OfficeInvoiceWorkflowResult.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Invoicing/OfficeInvoiceWorkflowResult.cs#L52)

Returns a defensive copy of converted XML or rendered PDF. Failure has no output bytes.

Returns

`byte[]?`

`public byte[]? ToOutputXmlBytes()` [#](#method-tooutputxmlbytes)

[OfficeInvoiceWorkflowResult.cs:54](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Invoicing/OfficeInvoiceWorkflowResult.cs#L54)

Returns the XML used for conversion or PDF capture. These exact bytes are validated when standards validation is requested.

Returns

`byte[]?`

## 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 OfficeInvoiceWorkflowOperation Operation { get; }` [#](#property-operation)

[OfficeInvoiceWorkflowResult.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Invoicing/OfficeInvoiceWorkflowResult.cs#L26)

Operation performed.

`public string? InputName { get; }` [#](#property-inputname)

[OfficeInvoiceWorkflowResult.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Invoicing/OfficeInvoiceWorkflowResult.cs#L28)

Caller-supplied input identifier.

`public string InputSha256 { get; }` [#](#property-inputsha256)

[OfficeInvoiceWorkflowResult.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Invoicing/OfficeInvoiceWorkflowResult.cs#L30)

SHA-256 of the exact captured input.

`public int InputByteLength { get; }` [#](#property-inputbytelength)

[OfficeInvoiceWorkflowResult.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Invoicing/OfficeInvoiceWorkflowResult.cs#L32)

Length of captured input bytes.

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

[OfficeInvoiceWorkflowResult.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Invoicing/OfficeInvoiceWorkflowResult.cs#L34)

True when the selected operation completed. Inspection and source-edit completion do not mean model validity. Requested output standards checks must pass.

`public InvoiceReadResult? Source { get; }` [#](#property-source)

[OfficeInvoiceWorkflowResult.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Invoicing/OfficeInvoiceWorkflowResult.cs#L36)

Parsed input, or edited XML for EditSource, and its mapping findings. Null when a preservation edit retains XML that the semantic parser cannot read. Its editable model belongs to this result.

`public InvoiceModelValidationResult? ModelValidation { get; }` [#](#property-modelvalidation)

[OfficeInvoiceWorkflowResult.cs:38](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Invoicing/OfficeInvoiceWorkflowResult.cs#L38)

Semantic validation of the processed source, including recognized aggregate-only profiles. Null when its semantic model is unavailable.

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

[OfficeInvoiceWorkflowResult.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Invoicing/OfficeInvoiceWorkflowResult.cs#L40)

Bounded model, mapping, target and execution findings.

`public InvoiceValidationReport? StandardsValidation { get; }` [#](#property-standardsvalidation)

[OfficeInvoiceWorkflowResult.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Invoicing/OfficeInvoiceWorkflowResult.cs#L43)

Exact-byte standards report, or null when not requested/configured. For writing operations it validates output XML before output is returned.

`public InvoiceValidationStatus SchemaStatus { get; }` [#](#property-schemastatus)

[OfficeInvoiceWorkflowResult.cs:45](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Invoicing/OfficeInvoiceWorkflowResult.cs#L45)

Explicit standards schema status; NotRun when no standards report exists.

`public InvoiceValidationStatus BusinessRulesStatus { get; }` [#](#property-businessrulesstatus)

[OfficeInvoiceWorkflowResult.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Invoicing/OfficeInvoiceWorkflowResult.cs#L47)

Explicit business-rule status; NotRun when no standards report exists.

`public int OutputByteLength { get; }` [#](#property-outputbytelength)

[OfficeInvoiceWorkflowResult.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Invoicing/OfficeInvoiceWorkflowResult.cs#L50)

Length of the generated primary artifact, or zero.

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