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#
| Case | Value | Description |
|---|---|---|
GeneralInformation | 'AAI' | |
PriceConditions | 'AAK' | |
LegalInformation | 'ABL' | |
Introduction | 'ACY' | |
PaymentDetail | 'PMD' | |
PaymentInformation | 'PMT' | |
RegulatoryInformation | 'REG' | |
SupplierRemarks | 'SUR' | |
TaxDeclaration | 'TXD' |
Methods#
| Method | Description |
|---|---|
::isValidCode() | Whether a raw code value is valid according to the official code list. |
->label() | |
::labelGroup() |
isValidCode()#
public static function isValidCode(string $code): boolWhether a raw code value is valid according to the official code list.
| Parameter | Type | Description |
|---|---|---|
$code | string |
- Returns
bool
label()#
public function label(?string $locale = null): string| Parameter | Type | Description |
|---|---|---|
$locale | ?string = null |
- Returns
string
labelGroup()#
public static function labelGroup(): string- Returns
string