---
title: "EmbeddedXml – API-Referenz · Quittio"
description: "Invoice XML to be embedded into a PDF/A-3 (ZUGFeRD/Factur-X, XRechnung in PDF)."
canonical_url: "https://quittio.dev/docs/api/Quittio/Core/Pdf/EmbeddedXml"
locale: de
meta:
  "og:description": "Invoice XML to be embedded into a PDF/A-3 (ZUGFeRD/Factur-X, XRechnung in PDF)."
  "og:image": "https://quittio.dev/og/quittio-de.jpg"
  "og:image:alt": "Quittio: E-Rechnungen für PHP und Laravel. Rechtssicher, validiert, archiviert, mit geprüfter Beispielrechnung."
  "og:image:height": "630"
  "og:image:type": image/jpeg
  "og:image:width": "1200"
  "og:title": "EmbeddedXml – API-Referenz · Quittio"
  "twitter:image": "https://quittio.dev/og/quittio-de.jpg"
  "twitter:image:alt": "Quittio: E-Rechnungen für PHP und Laravel. Rechtssicher, validiert, archiviert, mit geprüfter Beispielrechnung."
---

> Index of every page on this site: [llms.txt](https://quittio.dev/llms.txt)

[API reference](https://quittio.dev/docs/api) / [Quittio](https://quittio.dev/docs/api/Quittio) \\ [Core](https://quittio.dev/docs/api/Quittio/Core) \\ [Pdf](https://quittio.dev/docs/api/Quittio/Core/Pdf)

# EmbeddedXml

final readonly class in quittio/core

`Quittio\Core\Pdf\EmbeddedXml` · [Source](https://github.com/Quittio/quittio/blob/v0.7.1/packages/core/src/Pdf/EmbeddedXml.php#L10)

Invoice XML to be embedded into a PDF/A-3 (ZUGFeRD/Factur-X, XRechnung in PDF).

## Properties \#

| Property | Type | Description |
| --- | --- | --- |
| `$conformanceLevel` readonly | `?string` | |
| `$content` readonly | `string` | |
| `$description` readonly | `string` | |
| `$documentType` readonly | `string` | |
| `$filename` readonly | `string` | |
| `$relationship` readonly | `string` | |
| `$version` readonly | `string` | |

## Methods \#

| Method | Description |
| --- | --- |
| `->__construct()` | |

### `__construct()`#

```
public function __construct(
    string $content,
    string $filename = 'factur-x.xml',
    string $relationship = 'Alternative',
    ?string $conformanceLevel = 'EN 16931',
    string $description = 'Factur-X/ZUGFeRD Invoice',
    string $documentType = 'INVOICE',
    string $version = '1.0',
)
```

| Parameter | Type | Description |
| --- | --- | --- |
| `$content` | `string` | |
| `$filename` | `string` = `'factur-x.xml'` | |
| `$relationship` | `string` = `'Alternative'` | |
| `$conformanceLevel` | `?string` = `'EN 16931'` | |
| `$description` | `string` = `'Factur-X/ZUGFeRD Invoice'` | |
| `$documentType` | `string` = `'INVOICE'` | |
| `$version` | `string` = `'1.0'` | |

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://quittio.dev/#website","@type":"WebSite","description":"E-Rechnungen für PHP und Laravel: ZUGFeRD, XRechnung und Peppol erstellen, prüfen, lesen und archivieren.","inLanguage":"de-DE","name":"Quittio","url":"https://quittio.dev/","publisher":{"@id":"https://quittio.dev/#identity"},"workTranslation":{"@id":"https://quittio.dev/en#website"}},{"@id":"https://quittio.dev/docs/api/Quittio/Core/Pdf/EmbeddedXml#webpage","@type":"WebPage","description":"Invoice XML to be embedded into a PDF/A-3 (ZUGFeRD/Factur-X, XRechnung in PDF).","name":"EmbeddedXml – API-Referenz","url":"https://quittio.dev/docs/api/Quittio/Core/Pdf/EmbeddedXml","isPartOf":{"@id":"https://quittio.dev/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://quittio.dev/docs/api/Quittio/Core/Pdf/EmbeddedXml"]}],"primaryImageOfPage":{"@id":"https://quittio.dev/#logo"}},{"@id":"https://quittio.dev/#identity","@type":"Organization","description":"Open-Source-Bibliothek für E-Rechnungen in PHP und Laravel (ZUGFeRD, XRechnung, Peppol) und Quittio Managed.","email":"kontakt@niklasforst.de","legalName":"Niklas Forst – Softwareentwicklung","name":"Quittio","url":"https://quittio.dev","founder":{"@type":"Person","name":"Niklas Forst","url":"https://quittio.dev/ueber"},"logo":{"@id":"https://quittio.dev/#logo"},"sameAs":["https://github.com/Quittio/quittio","https://packagist.org/packages/quittio/quittio"]},{"@id":"https://quittio.dev/#logo","@type":"ImageObject","caption":"Quittio","contentUrl":"https://quittio.dev/logo.png","inLanguage":"de-DE","url":"https://quittio.dev/logo.png"}]}
```