# OfficeInvoiceFileWorkflow

Thin local-file adapter over the memory workflow and shared atomic file commit owner.

Class 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeInvoiceFileWorkflow.cs:69](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Invoicing/OfficeInvoiceFileWorkflow.cs#L69)

**Modifiers**

static

Thin local-file adapter over the memory workflow and shared atomic file commit owner.

## Inheritance

- object
- OfficeInvoiceFileWorkflow

Filter members 

Show inherited

## Methods

RunAsync 2 overloads

`public static Task<OfficeInvoiceFileWorkflowResult> RunAsync(OfficeInvoiceFileWorkflowRequest request, CancellationToken cancellationToken = default)` [#](#method-runasync-officeimo-workflows-officeinvoicefileworkflowrequest-threading-cancellationtoken)

[OfficeInvoiceFileWorkflow.cs:69](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Invoicing/OfficeInvoiceFileWorkflow.cs#L69)

Reads and executes one bounded invoice without a standards provider.

Parameters

**request OfficeIMO.Workflows.OfficeInvoiceFileWorkflowRequest required**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`Task<OfficeInvoiceFileWorkflowResult>`

`public static Task<OfficeInvoiceFileWorkflowResult> RunAsync(OfficeInvoiceFileWorkflowRequest request, InvoiceValidator? validator, CancellationToken cancellationToken = default)` [#](#method-runasync-officeimo-workflows-officeinvoicefileworkflowrequest-officeimo-invoicing-validation-invoicevalidator-threading-cancellationtoken)

[OfficeInvoiceFileWorkflow.cs:79](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Invoicing/OfficeInvoiceFileWorkflow.cs#L79)

Reads and executes one bounded invoice with an explicit standards provider.

Parameters

**request OfficeIMO.Workflows.OfficeInvoiceFileWorkflowRequest required**

**validator OfficeIMO.Invoicing.Validation.InvoiceValidator? required**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`Task<OfficeInvoiceFileWorkflowResult>`

RunBatchAsync 2 overloads

`public static Task<IReadOnlyList<OfficeInvoiceFileWorkflowResult>> RunBatchAsync(IEnumerable<OfficeInvoiceFileWorkflowRequest> requests, OfficeInvoiceWorkflowBatchOptions? options = null, CancellationToken cancellationToken = default)` [#](#method-runbatchasync-collections-generic-ienumerable-officeimo-workflows-officeinvoicefileworkflowrequest-officeimo-workflows-officeinvoiceworkflowbatchoptions-threading-cancellationtoken)

[OfficeInvoiceFileWorkflow.cs:98](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Invoicing/OfficeInvoiceFileWorkflow.cs#L98)

Executes a bounded invoice batch without a standards provider.

Parameters

**requests System.Collections.Generic.IEnumerable<OfficeIMO.Workflows.OfficeInvoiceFileWorkflowRequest> required**

**options OfficeIMO.Workflows.OfficeInvoiceWorkflowBatchOptions? = null optional**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`Task<IReadOnlyList<OfficeInvoiceFileWorkflowResult>>`

`public static Task<IReadOnlyList<OfficeInvoiceFileWorkflowResult>> RunBatchAsync(IEnumerable<OfficeInvoiceFileWorkflowRequest> requests, OfficeInvoiceWorkflowBatchOptions? options, InvoiceValidator? validator, CancellationToken cancellationToken = default)` [#](#member-997fb958eec8fd6d2e1898a8)

[OfficeInvoiceFileWorkflow.cs:108](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/Invoicing/OfficeInvoiceFileWorkflow.cs#L108)

Executes a bounded invoice batch with an explicit standards provider.

Parameters

**requests System.Collections.Generic.IEnumerable<OfficeIMO.Workflows.OfficeInvoiceFileWorkflowRequest> required**

**options OfficeIMO.Workflows.OfficeInvoiceWorkflowBatchOptions? required**

**validator OfficeIMO.Invoicing.Validation.InvoiceValidator? required**

**cancellationToken System.Threading.CancellationToken = default optional**

Returns

`Task<IReadOnlyList<OfficeInvoiceFileWorkflowResult>>`

## 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:8A95A4DB3CD0E3C81B8227F9046BC0B339481DBA754D7DAC54E0B1BAAEED0092 -->
