API reference / Quittio \ Core \ Enums
TaxPointDateCode
string-backed enum in quittio/core
Quittio\Core\Enums\TaxPointDateCode · Source
Value added tax point date code (BT-8).
The semantic value is the same in both syntaxes, but CII uses UNTDID 2475 (5, 29, 72) and UBL uses UNTDID 2005 (3, 35, 432).
Cases#
| Case | Value | Description |
|---|---|---|
IssueDate | 'issue_date' | |
DeliveryDate | 'delivery_date' | |
PaymentDate | 'payment_date' |
Methods#
| Method | Description |
|---|---|
->ciiCode() | |
::fromCii() | |
::fromUbl() | |
->ublCode() |
ciiCode()#
public function ciiCode(): string- Returns
string
fromCii()#
public static function fromCii(string $code): self|RawCode| Parameter | Type | Description |
|---|---|---|
$code | string |
- Returns
self|RawCode
fromUbl()#
public static function fromUbl(string $code): self|RawCode| Parameter | Type | Description |
|---|---|---|
$code | string |
- Returns
self|RawCode
ublCode()#
public function ublCode(): string- Returns
string