Skip to content

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#

CaseValueDescription
IssueDate'issue_date'
DeliveryDate'delivery_date'
PaymentDate'payment_date'

Methods#

MethodDescription
->ciiCode()
::fromCii()
::fromUbl()
->ublCode()

ciiCode()#

public function ciiCode(): string
Returns
string

fromCii()#

public static function fromCii(string $code): self|RawCode

static

ParameterTypeDescription
$codestring
Returns
self|RawCode

fromUbl()#

public static function fromUbl(string $code): self|RawCode

static

ParameterTypeDescription
$codestring
Returns
self|RawCode

ublCode()#

public function ublCode(): string
Returns
string

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