Skip to content

API reference / Quittio \ Core \ Enums

NoteSubjectCode

string-backed enum in quittio/core · uses HasLabel

Quittio\Core\Enums\NoteSubjectCode · Source

Invoice note subject code (BT-21), UNTDID 4451 subset. Further codes can be used as RawCode.

Cases#

CaseValueDescription
GeneralInformation'AAI'
PriceConditions'AAK'
LegalInformation'ABL'
Introduction'ACY'
PaymentDetail'PMD'
PaymentInformation'PMT'
RegulatoryInformation'REG'
SupplierRemarks'SUR'
TaxDeclaration'TXD'

Methods#

MethodDescription
::isValidCode()Whether a raw code value is valid according to the official code list.
->label()
::labelGroup()

isValidCode()#

public static function isValidCode(string $code): bool

static

Whether a raw code value is valid according to the official code list.

ParameterTypeDescription
$codestring
Returns
bool

label()#

public function label(?string $locale = null): string
ParameterTypeDescription
$locale?string = null
Returns
string

labelGroup()#

public static function labelGroup(): string

static

Returns
string

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