Zum Inhalt springen

API reference / Quittio \ Country \ DE \ Formats

GermanFormatRule

final readonly class in quittio/country-de · implements FormatRule

Quittio\Country\DE\Formats\GermanFormatRule · Source

Formats that German law prescribes:

  • public buyers (Leitweg-ID) receive XRechnung, whatever the seller's country;
  • small amount invoices between parties in the German Inland (section 1 (2) UStG) may be issued as a PDF (section 33 UStDV).

Everything else is left to the format resolver: consumers, the Peppol lookup, domestic business invoices (ZUGFeRD with the configured profile) and cross-border invoices. The e-invoicing obligation of section 14 (2) UStG only covers supplies between businesses established in Germany, so sellers abroad and buyers in Büsingen or Heligoland get the resolver's choice.

Constants#

ConstantValueDescription
LEITWEG_SCHEME'0204'Electronic address scheme of the Leitweg-ID (BT-49).

Methods#

MethodDescription
->resolve()

resolve()#

public function resolve(InvoiceData $invoice): ?FormatChoice
ParameterTypeDescription
$invoiceInvoiceData
Returns
?FormatChoice

Die Open-Core-Pakete stehen unter der MIT-Lizenz. Die rechtlichen Formulierungen der Länderpakete sind mit einer Steuerberatung abzustimmen.