Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OfficeInvoiceFileWorkflow

OfficeIMO.Workflows

Namespace
OfficeIMO.Workflows
Assembly
OfficeIMO.Workflows
Source revision
ba882f6b0d07 with working tree changes
Modifiers
static

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

Inheritance

  • object
  • OfficeInvoiceFileWorkflow

Methods

RunAsync 2 overloads
public static Task<OfficeInvoiceFileWorkflowResult> RunAsync(OfficeInvoiceFileWorkflowRequest request, CancellationToken cancellationToken = default) #

Reads and executes one bounded invoice without a standards provider.

Parameters

request OfficeIMO.Workflows.OfficeInvoiceFileWorkflowRequest required
cancellationToken System.Threading.CancellationToken = default optional
public static Task<OfficeInvoiceFileWorkflowResult> RunAsync(OfficeInvoiceFileWorkflowRequest request, InvoiceValidator? validator, CancellationToken cancellationToken = default) #

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
RunBatchAsync 2 overloads
public static Task<IReadOnlyList<OfficeInvoiceFileWorkflowResult>> RunBatchAsync(IEnumerable<OfficeInvoiceFileWorkflowRequest> requests, OfficeInvoiceWorkflowBatchOptions? options = null, CancellationToken cancellationToken = default) #

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) #

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>>