Skip to content

API reference / Quittio \ Core \ Enums

VatCategory

string-backed enum in quittio/core · uses HasLabel

Quittio\Core\Enums\VatCategory · Source

VAT category code (BT-95, BT-102, BT-118, BT-151), UNTDID 5305 subset.

Cases#

CaseValueDescription
StandardRate'S'
ZeroRated'Z'
Exempt'E'
ReverseCharge'AE'
IntraCommunitySupply'K'
Export'G'
NotSubjectToVat'O'
CanaryIslands'L'
CeutaMelilla'M'
TransferredVatItaly'B'

Methods#

MethodDescription
::isValidCode()Whether a raw code value is valid according to the official code list.
->isZeroTax()Whether the VAT amount is always zero in this category.
->label()
::labelGroup()
->requiresExemptionReason()Whether the category requires an exemption reason (BT-120 or BT-121).
->requiresRate()Whether a VAT rate (BT-96, BT-103, BT-119, BT-152) must be given.

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

isZeroTax()#

public function isZeroTax(): bool

Whether the VAT amount is always zero in this category.

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

requiresExemptionReason()#

public function requiresExemptionReason(): bool

Whether the category requires an exemption reason (BT-120 or BT-121).

Returns
bool

requiresRate()#

public function requiresRate(): bool

Whether a VAT rate (BT-96, BT-103, BT-119, BT-152) must be given.

Returns
bool

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