Skip to content

API reference / Quittio \ Country \ DE \ Rules

BmfErrorClass

string-backed enum in quittio/country-de

Quittio\Country\DE\Rules\BmfErrorClass · Source

Error classes of the BMF letter of 15 October 2025.

Cases#

CaseValueDescription
Format'format'Format errors (marginal no. 6a): the document is not an e-invoice.
BusinessRule'business_rule'Business rule errors (marginal no. 6b).
Content'content'Content errors (marginal no. 35a): mandatory information is wrong or missing.

Methods#

MethodDescription
->label()The name of the class with the marginal number of the BMF letter, German or English.
::of()The error class of a finding: the UStG rules are content errors, the missing e-invoice (DE-EINVOICE-*) a format error, the other findings are format, business rule or content errors by their validation level.
->voidsEInvoice()Whether the error turns an e-invoice into an "other invoice" in the sense of the UStG.

label()#

public function label(string $locale = 'de'): string

The name of the class with the marginal number of the BMF letter, German or English.

ParameterTypeDescription
$localestring = 'de'
Returns
string

of()#

public static function of(ValidationMessage $message): self

static

The error class of a finding: the UStG rules are content errors, the missing e-invoice (DE-EINVOICE-*) a format error, the other findings are format, business rule or content errors by their validation level.

ParameterTypeDescription
$messageValidationMessage
Returns
self

voidsEInvoice()#

public function voidsEInvoice(): bool

Whether the error turns an e-invoice into an "other invoice" in the sense of the UStG.

Returns
bool

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