Zum Inhalt springen

API reference / Quittio \ Core \ Tax

TaxPreset

interface in quittio/core

Quittio\Core\Tax\TaxPreset · Source

A named VAT treatment provided by a country pack, e.g. "standard rate 19 %" or "small business exemption". Presets set category, rate, VATEX code and legal note text.

Methods#

MethodDescription
->category()VAT category (BT-151).
->exemptionReason()Exemption reason text (BT-120), shown in XML and PDF.
->exemptionReasonCode()VATEX code of the exemption reason (BT-121); null for taxed supplies.
->key()Stable key, prefixed with the country code, e.g. "de.standard".
->rate()VAT rate in percent (BT-152); null for categories without a rate (e.g. O).

category()#

public function category(): VatCategory

VAT category (BT-151).

Returns
VatCategory

exemptionReason()#

public function exemptionReason(?string $locale = null): ?string

Exemption reason text (BT-120), shown in XML and PDF.

ParameterTypeDescription
$locale?string = null
Returns
?string

exemptionReasonCode()#

public function exemptionReasonCode(): VatExemptionReasonCode|RawCode|null

VATEX code of the exemption reason (BT-121); null for taxed supplies.

Returns
VatExemptionReasonCode|RawCode|null

key()#

public function key(): string

Stable key, prefixed with the country code, e.g. "de.standard".

Returns
string

rate()#

public function rate(): ?BigDecimal

VAT rate in percent (BT-152); null for categories without a rate (e.g. O).

Returns
?Brick\Math\BigDecimal

Die Open-Core-Pakete stehen unter der MIT-Lizenz. Die rechtlichen Formulierungen der Länderpakete sind mit einer Steuerberatung abzustimmen.