Skip to content

API reference / Quittio \ Country \ DE \ Texts

LegalTexts

final class in quittio/country-de

Quittio\Country\DE\Texts\LegalTexts · Source

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#

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

MethodDescription
::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.

Returns
LegalTextCatalog

language()#

public static function language(string $locale): string

static

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

ParameterTypeDescription
$localestring
Returns
string

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.

ParameterTypeDescription
$keystring
$localestring
Returns
string

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.

ParameterTypeDescription
$keystring
$localestring = self::FALLBACK_LOCALE
$replacearray<string, string> = []
Returns
string

The open core packages are MIT licensed. The legal wording of the country packs must be confirmed by a tax adviser.