# PdfElectronicInvoiceMetadata

Describes Factur-X/ZUGFeRD XMP extension metadata for a generated e-invoice PDF.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfElectronicInvoiceMetadata.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfElectronicInvoiceMetadata.cs#L16)

**Modifiers**

sealed

Describes Factur-X/ZUGFeRD XMP extension metadata for a generated e-invoice PDF.

## Inheritance

- object
- PdfElectronicInvoiceMetadata

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

- Property [PdfCreateOptions.ElectronicInvoiceMetadata](/api/pdf/officeimo-pdf-pdfcreateoptions/#property-electronicinvoicemetadata)
- Method [PdfElectronicInvoiceMetadata.FacturX](/api/pdf/officeimo-pdf-pdfelectronicinvoicemetadata/#method-facturx-string-string)

### Accepted by parameters 1

- Method [PdfCreateOptions.SetElectronicInvoiceMetadata](/api/pdf/officeimo-pdf-pdfcreateoptions/#method-setelectronicinvoicemetadata-officeimo-pdf-pdfelectronicinvoicemetadata) parameter `metadata`

Filter members 

Show inherited

## Constructors

`public PdfElectronicInvoiceMetadata(string documentType, string documentFileName, string version, string conformanceLevel)` [#](#constructor-ctor-string-string-string-string)

[PdfElectronicInvoiceMetadata.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfElectronicInvoiceMetadata.cs#L16)

Creates e-invoice XMP metadata.

Parameters

**documentType string required**

**documentFileName string required**

**version string required**

**conformanceLevel string required**

## Methods

`public static PdfElectronicInvoiceMetadata FacturX(string conformanceLevel = "EN 16931", string version = "1.0")` [#](#method-facturx-string-string)

[PdfElectronicInvoiceMetadata.cs:66](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfElectronicInvoiceMetadata.cs#L66)

Creates Factur-X/ZUGFeRD 2.1+ metadata with the canonical XML attachment file name.

Parameters

**conformanceLevel string = "EN 16931" optional**

**version string = "1.0" optional**

Returns

`PdfElectronicInvoiceMetadata`

## 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 DocumentType { get; set; }` [#](#property-documenttype)

[PdfElectronicInvoiceMetadata.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfElectronicInvoiceMetadata.cs#L30)

Document type declared in XMP metadata, normally INVOICE.

`public string DocumentFileName { get; set; }` [#](#property-documentfilename)

[PdfElectronicInvoiceMetadata.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfElectronicInvoiceMetadata.cs#L39)

Embedded XML invoice file name declared in XMP metadata.

`public string Version { get; set; }` [#](#property-version)

[PdfElectronicInvoiceMetadata.cs:48](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfElectronicInvoiceMetadata.cs#L48)

Factur-X/ZUGFeRD XMP schema version value.

`public string ConformanceLevel { get; set; }` [#](#property-conformancelevel)

[PdfElectronicInvoiceMetadata.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfElectronicInvoiceMetadata.cs#L57)

Profile/conformance level declared in XMP metadata, for example EN 16931.

## Fields

`public const string FacturXNamespaceUri` [#](#field-facturxnamespaceuri)

[PdfElectronicInvoiceMetadata.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfElectronicInvoiceMetadata.cs#L8)

Factur-X/ZUGFeRD 2.1+ XMP namespace URI.

Value: `urn:factur-x:pdfa:CrossIndustryDocument:invoice:1p0#`

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