# InvoiceXmlOptions

Explicit specification release, syntax, and profile for deterministic XML emission.

Class 

`OfficeIMO.Invoicing`

**Namespace**

`OfficeIMO.Invoicing`

**Assembly**

`OfficeIMO.Invoicing`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[InvoiceXmlOptions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing/Xml/InvoiceXmlOptions.cs#L14)

**Modifiers**

sealed

Explicit specification release, syntax, and profile for deterministic XML emission.

## Inheritance

- object
- InvoiceXmlOptions

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

- Method [InvoiceXmlOptions.GetSupportedTargets](/api/invoicing/officeimo-invoicing-invoicexmloptions/#method-getsupportedtargets-officeimo-invoicing-invoiceprojectionpolicy)

### Accepted by parameters 5

- Method [Fa3InvoiceReadResult.WriteCommonInvoice](/api/invoicing/officeimo-invoicing-fa3invoicereadresult/#method-writecommoninvoice-officeimo-invoicing-invoicexmloptions) parameter `target`
- Method [InvoiceConverter.Convert](/api/invoicing/officeimo-invoicing-invoiceconverter/#method-convert-byte-officeimo-invoicing-invoicexmloptions) parameter `target`
- Method [InvoiceReadResult.Write](/api/invoicing/officeimo-invoicing-invoicereadresult/#method-write-officeimo-invoicing-invoicexmloptions-boolean) parameter `options`
- Method [InvoiceSerializer.InspectTarget](/api/invoicing/officeimo-invoicing-invoiceserializer/#method-inspecttarget-officeimo-invoicing-invoice-officeimo-invoicing-invoicexmloptions) parameter `options`
- Method [InvoiceSerializer.Write](/api/invoicing/officeimo-invoicing-invoiceserializer/#method-write-officeimo-invoicing-invoice-officeimo-invoicing-invoicexmloptions) parameter `options`

Filter members 

Show inherited

## Constructors

`public InvoiceXmlOptions(InvoiceSpecificationRelease release, InvoiceSyntax syntax, InvoiceProfile profile, InvoiceProjectionPolicy projectionPolicy = RejectDataLoss)` [#](#constructor-ctor-officeimo-invoicing-invoicespecificationrelease-officeimo-invoicing-invoicesyntax-officeimo-invoicing-invoiceprofile-officeimo-invoicing-invoiceprojectionpolicy)

[InvoiceXmlOptions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing/Xml/InvoiceXmlOptions.cs#L14)

Creates an exact output contract. All three dimensions are required and compatibility is checked immediately.

Parameters

**release OfficeIMO.Invoicing.InvoiceSpecificationRelease required**

**syntax OfficeIMO.Invoicing.InvoiceSyntax required**

**profile OfficeIMO.Invoicing.InvoiceProfile required**

**projectionPolicy OfficeIMO.Invoicing.InvoiceProjectionPolicy = RejectDataLoss optional**

## Methods

`public static IReadOnlyList<InvoiceXmlOptions> GetSupportedTargets(InvoiceProjectionPolicy projectionPolicy = RejectDataLoss)` [#](#method-getsupportedtargets-officeimo-invoicing-invoiceprojectionpolicy)

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

Returns the supported immutable authoring targets from the same contract owner used by the constructor.

Parameters

**projectionPolicy OfficeIMO.Invoicing.InvoiceProjectionPolicy = RejectDataLoss optional**

Returns

`IReadOnlyList<InvoiceXmlOptions>`

## 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 InvoiceSpecificationRelease Release { get; }` [#](#property-release)

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

Specification and rules release.

`public InvoiceSyntax Syntax { get; }` [#](#property-syntax)

[InvoiceXmlOptions.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing/Xml/InvoiceXmlOptions.cs#L27)

Output syntax.

`public InvoiceProfile Profile { get; }` [#](#property-profile)

[InvoiceXmlOptions.cs:29](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing/Xml/InvoiceXmlOptions.cs#L29)

Output guideline.

`public InvoiceProjectionPolicy ProjectionPolicy { get; }` [#](#property-projectionpolicy)

[InvoiceXmlOptions.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Invoicing/Xml/InvoiceXmlOptions.cs#L31)

Policy for intentional data reduction required by lower Factur-X profiles.

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