# OfficeInvoiceFileWorkflowRequest

Local-file invoice request. Existing destinations are never overwritten.

Class 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

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

**Modifiers**

sealed

Local-file invoice request. Existing destinations are never overwritten.

## Inheritance

- object
- OfficeInvoiceFileWorkflowRequest

## Usage

Explore 3 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 [OfficeInvoiceFileWorkflowRequest.ForSourceEdit](/api/workflows/officeimo-workflows-officeinvoicefileworkflowrequest/#method-forsourceedit-string-string-officeimo-invoicing-invoicesourceedits-nullable-officeimo-invoicing-invoicespecificationrelease)

### Accepted by parameters 2

- Method [OfficeInvoiceFileWorkflow.RunAsync](/api/workflows/officeimo-workflows-officeinvoicefileworkflow/#method-runasync-officeimo-workflows-officeinvoicefileworkflowrequest-threading-cancellationtoken) parameter `request`
- Method [OfficeInvoiceFileWorkflow.RunBatchAsync](/api/workflows/officeimo-workflows-officeinvoicefileworkflow/#method-runbatchasync-collections-generic-ienumerable-officeimo-workflows-officeinvoicefileworkflowrequest-officeimo-workflows-officeinvoiceworkflowbatchoptions-threading-cancellationtoken) parameter `requests`

Filter members 

Show inherited

## Constructors

`public OfficeInvoiceFileWorkflowRequest(string inputPath, OfficeInvoiceWorkflowOperation operation = Inspect, string? outputPath = null, InvoiceXmlOptions? target = null, InvoiceSpecificationRelease? validationRelease = null, InvoicePdfLayoutOptions? layout = null, PdfCreateOptions? pdfOptions = null)` [#](#member-5b1e586fde0079d79b885246)

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

Captures explicit source, operation, target and rendering settings. Writing requires an output path.

Parameters

**inputPath string required**

**operation OfficeIMO.Workflows.OfficeInvoiceWorkflowOperation = Inspect optional**

**outputPath string? = null optional**

**target OfficeIMO.Invoicing.InvoiceXmlOptions? = null optional**

**validationRelease OfficeIMO.Invoicing.InvoiceSpecificationRelease? = null optional**

**layout OfficeIMO.Invoicing.Pdf.InvoicePdfLayoutOptions? = null optional**

**pdfOptions OfficeIMO.Pdf.PdfCreateOptions? = null optional**

## Methods

`public static OfficeInvoiceFileWorkflowRequest ForSourceEdit(string inputPath, string outputPath, InvoiceSourceEdits edits, InvoiceSpecificationRelease? validationRelease = null)` [#](#method-forsourceedit-string-string-officeimo-invoicing-invoicesourceedits-nullable-officeimo-invoicing-invoicespecificationrelease)

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

Captures source edits for publication to a new XML file. Source syntax/profile and unmapped XML are retained.

Parameters

**inputPath string required**

**outputPath string required**

**edits OfficeIMO.Invoicing.InvoiceSourceEdits required**

**validationRelease OfficeIMO.Invoicing.InvoiceSpecificationRelease? = null optional**

Returns

`OfficeInvoiceFileWorkflowRequest`

## 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 string InputPath { get; }` [#](#property-inputpath)

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

Absolute input path.

`public string? OutputPath { get; }` [#](#property-outputpath)

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

Absolute output path, when writing.

`public OfficeInvoiceWorkflowOperation Operation { get; }` [#](#property-operation)

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

Operation to perform.

`public InvoiceXmlOptions? Target { get; }` [#](#property-target)

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

Selected output/inspection contract.

`public InvoiceSpecificationRelease? ValidationRelease { get; }` [#](#property-validationrelease)

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

Requested exact-byte standards release.

`public InvoiceSourceEdits? SourceEdits { get; }` [#](#property-sourceedits)

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

Immutable replacements supplied by ForSourceEdit.

<!-- PowerForge markdown artifact sha256:711E76F7311AB1F23A981696020DE55DE3370F615401C2F9B1119741CA5AC15F -->
