---
title: "LegalTexts – API-Referenz · Quittio"
description: "Mandatory and informational texts for German invoices."
canonical_url: "https://quittio.dev/docs/api/Quittio/Country/DE/Texts/LegalTexts"
locale: de
meta:
  "og:description": "Mandatory and informational texts for German invoices."
  "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": "LegalTexts – 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) \\ [Country](https://quittio.dev/docs/api/Quittio/Country) \\ [DE](https://quittio.dev/docs/api/Quittio/Country/DE) \\ [Texts](https://quittio.dev/docs/api/Quittio/Country/DE/Texts)

# LegalTexts

final class in quittio/country-de

`Quittio\Country\DE\Texts\LegalTexts` · [Source](https://github.com/Quittio/quittio/blob/v0.7.1/packages/country-de/src/Texts/LegalTexts.php#L21)

Mandatory and informational texts for German invoices.

The notices that a tax preset also states (reverse charge, intra-Community supply, export, small business) are the preset's exemption reason texts, so that one notice has one wording.

The wording and legal references were confirmed by a tax adviser in October 2026 (legal review in the README); they reflect the law of that time.

## Constants \#

| Constant | Value | Description |
| --- | --- | --- |
| `ADVANCE_DEDUCTION` | `'advance_deduction'` | |
| `ADVANCE_DEDUCTION_LINE` | `'advance_deduction_line'` | Item name of the negative lines of a remainder invoice. |
| `ADVANCE_DEDUCTION_REMAINDER` | `'advance_deduction_remainder'` | Note of a remainder invoice (deductAdvance() with style REMAINDER). |
| `ADVANCE_DEDUCTION_TAXED` | `'advance_deduction_taxed'` | One standard rated VAT row of a deducted advance invoice, part of ADVANCE\_DEDUCTION. |
| `ADVANCE_DEDUCTION_UNTAXED` | `'advance_deduction_untaxed'` | One VAT row without VAT of a deducted advance invoice, part of ADVANCE\_DEDUCTION. |
| `CONSUMER_DEFAULT` | `'consumer_default'` | |
| `DEFAULT_INTEREST` | `'default_interest'` | Description of a default interest charge of a payment reminder (DefaultInterest). |
| `DISCOUNT_AGREEMENT` | `'discount_agreement'` | Reference to an agreement on bonuses, rebates or discounts not yet quantified (section 14 (4) no. 7 UStG). |
| `EXPORT` | `'export'` | |
| `FALLBACK_LOCALE` | `'de'` | |
| `INTRA_COMMUNITY_SUPPLY` | `'intra_community_supply'` | |
| `NEW_VEHICLE` | `'new_vehicle'` | |
| `PREPAYMENT` | `'prepayment'` | |
| `PREPAYMENT_MONTH` | `'prepayment_month'` | Prepayment invoice with the expected month of the service (advance()). |
| `PREPAYMENT_RECEIVED` | `'prepayment_received'` | The date the advance payment was received (advance()). |
| `PROPERTY_RETENTION` | `'property_retention'` | |
| `REVERSE_CHARGE` | `'reverse_charge'` | |
| `SELF_BILLING` | `'self_billing'` | |
| `SERVICE_DATE_OPEN` | `'service_date_open'` | The date of the service of a prepayment invoice is not agreed yet. |
| `SMALL_BUSINESS` | `'small_business'` | |
| `ZERO_RATED_PV` | `'zero_rated_pv'` | Reference of the zero rate for photovoltaic systems (VatPreset::ZeroRatedPv adds it). |

## Methods \#

| Method | Description |
| --- | --- |
| `::catalog()` | The texts in every locale the pack ships. They come from the pack's language files (resources/lang/{locale}/legal.php, the exemption reasons from tax.php) through the active translator, so that lang/vendor/quittio-de overrides them in Laravel. |
| `::language()` | The language of a locale, e.g. "de" for "de\_AT" or "de-AT". |
| `::localeOf()` | The catalog locale text() uses for $key and $locale: $locale itself, else its language, else the fallback German. |
| `::text()` | The text of $key in $locale, in its language (e.g. English for "en\_GB"), or else in German. |

### `catalog()`#

```
public static function catalog(): LegalTextCatalog
```

static

The texts in every locale the pack ships. They come from the pack's language files (resources/lang/{locale}/legal.php, the exemption reasons from tax.php) through the active translator, so that lang/vendor/quittio-de overrides them in Laravel.

<dl><dt>Returns</dt>
<dd><code><a href="https://quittio.dev/docs/api/Quittio/Core/Countries/LegalTextCatalog">LegalTextCatalog</a></code></dd>
</dl>

### `language()`#

```
public static function language(string $locale): string
```

static

The language of a locale, e.g. "de" for "de\_AT" or "de-AT".

| Parameter | Type | Description |
| --- | --- | --- |
| `$locale` | `string` | |

<dl><dt>Returns</dt>
<dd><code>string</code></dd>
</dl>

### `localeOf()`#

```
public static function localeOf(string $key, string $locale): string
```

static

The catalog locale text() uses for $key and $locale: $locale itself, else its language, else the fallback German.

| Parameter | Type | Description |
| --- | --- | --- |
| `$key` | `string` | |
| `$locale` | `string` | |

<dl><dt>Returns</dt>
<dd><code>string</code></dd>
</dl>

### `text()`#

```
public static function text(
    string $key,
    string $locale = self::FALLBACK_LOCALE,
    array<string, string> $replace = [],
): string
```

static

The text of $key in $locale, in its language (e.g. English for "en\_GB"), or else in German.

| Parameter | Type | Description |
| --- | --- | --- |
| `$key` | `string` | |
| `$locale` | `string` = `self::FALLBACK_LOCALE` | |
| `$replace` | `array<string, string>` = `[]` | |

<dl><dt>Returns</dt>
<dd><code>string</code></dd>
</dl>

```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/Country/DE/Texts/LegalTexts#webpage","@type":"WebPage","description":"Mandatory and informational texts for German invoices.","name":"LegalTexts – API-Referenz","url":"https://quittio.dev/docs/api/Quittio/Country/DE/Texts/LegalTexts","isPartOf":{"@id":"https://quittio.dev/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://quittio.dev/docs/api/Quittio/Country/DE/Texts/LegalTexts"]}],"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"}]}
```