BmfErrorClass
: string
in package
Error classes of the BMF letter of 15 October 2025.
Table of Contents
Cases
- BusinessRule = 'business_rule'
- Business rule errors (marginal no. 6b).
- Content = 'content'
- Content errors (marginal no. 35a): mandatory information is wrong or missing.
- Format = 'format'
- Format errors (marginal no. 6a): the document is not an e-invoice.
Methods
- label() : string
- The name of the class with the marginal number of the BMF letter, German or English.
- of() : self
- The error class of a finding: the UStG rules are content errors, the other findings are format, business rule or content errors by their validation level.
- voidsEInvoice() : bool
- Whether the error turns an e-invoice into an "other invoice" in the sense of the UStG.
Cases
Format
Format errors (marginal no. 6a): the document is not an e-invoice.
BusinessRule
Business rule errors (marginal no. 6b).
Content
Content errors (marginal no. 35a): mandatory information is wrong or missing.
Methods
label()
The name of the class with the marginal number of the BMF letter, German or English.
public
label([string $locale = 'de' ]) : string
Parameters
- $locale : string = 'de'
Return values
stringof()
The error class of a finding: the UStG rules are content errors, the other findings are format, business rule or content errors by their validation level.
public
static of(ValidationMessage $message) : self
Parameters
- $message : ValidationMessage
Return values
selfvoidsEInvoice()
Whether the error turns an e-invoice into an "other invoice" in the sense of the UStG.
public
voidsEInvoice() : bool