Skip to content

API reference / Quittio \ Core \ Profiles

ProfileLevel

int-backed enum in quittio/core

Quittio\Core\Profiles\ProfileLevel · Source

Ordered Factur-X/ZUGFeRD profile levels. Each level contains all fields of the lower levels.

Cases#

CaseValueDescription
Minimum10
BasicWl20
Basic30
En1693140
Extended50

Methods#

MethodDescription
->includes()Whether this level contains the fields of $other, i.e. is the same or a higher level.
->label()Display name of the level as Factur-X/ZUGFeRD spells it, e.g. "BASIC WL".

includes()#

public function includes(self $other): bool

Whether this level contains the fields of $other, i.e. is the same or a higher level.

ParameterTypeDescription
$otherself
Returns
bool

label()#

public function label(): string

Display name of the level as Factur-X/ZUGFeRD spells it, e.g. "BASIC WL".

Returns
string

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