---
title: "Quittio\\Core\\Mapping – API-Referenz"
description: "The public classes in Quittio\\Core\\Mapping."
canonical_url: "https://quittio.dev/docs/api/Quittio/Core/Mapping"
locale: de
meta:
  "og:description": "The public classes in Quittio\\Core\\Mapping."
  "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": "Quittio\\Core\\Mapping – API-Referenz"
  "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\\Core\\Mapping

## quittio/core \#

### [Quittio\\Core\\Mapping](https://quittio.dev/docs/api/Quittio/Core/Mapping)

- [`FieldDefinition`](https://quittio.dev/docs/api/Quittio/Core/Mapping/FieldDefinition)Metadata of one DTO field, read from its mapping attributes.
- [`FieldMatrix`](https://quittio.dev/docs/api/Quittio/Core/Mapping/FieldMatrix)Field metadata of all DTOs, derived from the mapping attributes (single source for profile validation, documentation and coverage reports).
- [`FieldReference`](https://quittio.dev/docs/api/Quittio/Core/Mapping/FieldReference)Generates docs/field-reference.md from the mapping attributes of the data model.

### [Quittio\\Core\\Mapping\\Attributes](https://quittio.dev/docs/api/Quittio/Core/Mapping/Attributes)

- [`Binary`](https://quittio.dev/docs/api/Quittio/Core/Mapping/Attributes/Binary)Binary string; arrays and JSON carry it base64 encoded.
- [`Bt`](https://quittio.dev/docs/api/Quittio/Core/Mapping/Attributes/Bt)Business term or business group identifier from EN 16931 (e.g. BT-1, BG-25).
- [`Cardinality`](https://quittio.dev/docs/api/Quittio/Core/Mapping/Attributes/Cardinality)Cardinality according to EN 16931: 1, 0..1, 0..n or 1..n.
- [`Cii`](https://quittio.dev/docs/api/Quittio/Core/Mapping/Attributes/Cii)Location of the field in UN/CEFACT CII, relative to the parent element (informative).
- [`Computed`](https://quittio.dev/docs/api/Quittio/Core/Mapping/Attributes/Computed)The value is set by the calculator and is not a user input.
- [`ExtendedOnly`](https://quittio.dev/docs/api/Quittio/Core/Mapping/Attributes/ExtendedOnly)The value exists only in the Factur-X/ZUGFeRD EXTENDED profile.
- [`InputFor`](https://quittio.dev/docs/api/Quittio/Core/Mapping/Attributes/InputFor)Marks a user input that the calculator copies into the given business term.
- [`Internal`](https://quittio.dev/docs/api/Quittio/Core/Mapping/Attributes/Internal)Package-internal value without an EN 16931 business term (not written to XML).
- [`Level`](https://quittio.dev/docs/api/Quittio/Core/Mapping/Attributes/Level)Lowest Factur-X/ZUGFeRD profile level in which the field may be used. Fields without this attribute are available from level EN 16931 on.
- [`ListOf`](https://quittio.dev/docs/api/Quittio/Core/Mapping/Attributes/ListOf)Element type of an array property, used for hydration and schema generation.
- [`MapOf`](https://quittio.dev/docs/api/Quittio/Core/Mapping/Attributes/MapOf)Value type of an array property keyed by strings, e.g. line options keyed by line identifier; the hydrator keeps the keys.
- [`PdfOnly`](https://quittio.dev/docs/api/Quittio/Core/Mapping/Attributes/PdfOnly)The value is used for the PDF only and never written to XML.
- [`RequiredIn`](https://quittio.dev/docs/api/Quittio/Core/Mapping/Attributes/RequiredIn)Profile keys in which an optional EN 16931 field becomes mandatory (e.g. "xrechnung").
- [`Since`](https://quittio.dev/docs/api/Quittio/Core/Mapping/Attributes/Since)The field exists from the given version of EN 16931 on.
- [`TaxCurrency`](https://quittio.dev/docs/api/Quittio/Core/Mapping/Attributes/TaxCurrency)Monetary value expressed in the VAT accounting currency (BT-6) instead of the invoice currency.
- [`Ubl`](https://quittio.dev/docs/api/Quittio/Core/Mapping/Attributes/Ubl)Location of the field in UBL 2.1, relative to the parent element (informative).
- [`Until`](https://quittio.dev/docs/api/Quittio/Core/Mapping/Attributes/Until)The field exists up to and including the given version of EN 16931.
- [`XRechnungExtensionOnly`](https://quittio.dev/docs/api/Quittio/Core/Mapping/Attributes/XRechnungExtensionOnly)The value exists only in the XRechnung extension.

```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/Mapping#webpage","@type":"WebPage","description":"The public classes in Quittio\\Core\\Mapping.","name":"Quittio\\Core\\Mapping – API-Referenz","url":"https://quittio.dev/docs/api/Quittio/Core/Mapping","isPartOf":{"@id":"https://quittio.dev/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://quittio.dev/docs/api/Quittio/Core/Mapping"]}],"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"}]}
```