---
title: "VatPreset – API reference · Quittio"
description: "Tax presets for Switzerland (MWSTG)."
canonical_url: "https://quittio.dev/en/docs/api/Quittio/Country/CH/Tax/VatPreset"
locale: en
meta:
  "og:description": "Tax presets for Switzerland (MWSTG)."
  "og:image": "https://quittio.dev/og/quittio-en.jpg"
  "og:image:alt": "Quittio: Invoices, settled. E-invoicing for PHP and Laravel, with a validated sample invoice."
  "og:image:height": "630"
  "og:image:type": image/jpeg
  "og:image:width": "1200"
  "og:title": "VatPreset – API reference · Quittio"
  "twitter:image": "https://quittio.dev/og/quittio-en.jpg"
  "twitter:image:alt": "Quittio: Invoices, settled. E-invoicing for PHP and Laravel, with a validated sample invoice."
---

> Index of every page on this site: [llms.txt](https://quittio.dev/llms.txt)

[API reference](https://quittio.dev/docs/api) / [Quittio](https://quittio.dev/docs/api/Quittio) \\ [Country](https://quittio.dev/docs/api/Quittio/Country) \\ [CH](https://quittio.dev/docs/api/Quittio/Country/CH) \\ [Tax](https://quittio.dev/docs/api/Quittio/Country/CH/Tax)

# VatPreset

string-backed enum in quittio/country-ch · implements [`DatedTaxPreset`](https://quittio.dev/docs/api/Quittio/Core/Tax/DatedTaxPreset)

`Quittio\Country\CH\Tax\VatPreset` · [Source](https://github.com/Quittio/quittio/blob/v0.7.1/packages/country-ch/src/Tax/VatPreset.php#L26)

Tax presets for Switzerland (MWSTG).

Standard, Reduced and Accommodation take the rate that holds on the supply date of the line (TaxTables), e.g. 7.7 % for supplies of 2023; rate() returns the rate of today.

The texts are not reviewed by a tax adviser yet (see the README of the pack).

## Cases \#

| Case | Value | Description |
| --- | --- | --- |
| `Standard` | `'ch.standard'` | Standard rate (Art. 25 (1) MWSTG), today 8.1 %. |
| `Reduced` | `'ch.reduced'` | Reduced rate (Art. 25 (2) MWSTG), today 2.6 %. |
| `Accommodation` | `'ch.accommodation'` | Special rate for accommodation (Art. 25 (4) MWSTG), today 3.8 %. |
| `Excluded` | `'ch.excluded'` | Supply excluded from the tax (Art. 21 MWSTG), without input tax deduction. |
| `Export` | `'ch.export'` | Supply exempt from the tax with input tax deduction, e.g. an export (Art. 23 MWSTG). |
| `NotTaxableInSwitzerland` | `'ch.not_taxable'` | Supply whose place is abroad (Art. 7 and 8 MWSTG), not taxable in Switzerland. |
| `NotRegistered` | `'ch.not_registered'` | Seller not registered for VAT, e.g. below the turnover of CHF 100,000 (Art. 10 (2) MWSTG). |

## Methods \#

| Method | Description |
| --- | --- |
| `->category()` | |
| `::excluded()` | Supply excluded from the tax with a specific legal reference, e.g. VatPreset::excluded('Art. 21 Abs. 2 Ziff. 3 MWSTG'). The text defaults to German. |
| `->exemptionReason()` | |
| `->exemptionReasonCode()` | |
| `::fromKey()` | The case of a key, e.g. of LineVat::$presetKey; null for keys of other presets. |
| `->key()` | |
| `->on()` | The preset with the rate of the date; presets without a dated rate return themselves. |
| `->rate()` | |

### `category()`#

```
public function category(): VatCategory
```

<dl><dt>Returns</dt>
<dd><code><a href="https://quittio.dev/docs/api/Quittio/Core/Enums/VatCategory">VatCategory</a></code></dd>
</dl>

### `excluded()`#

```
public static function excluded(
    string $paragraph,
    VatExemptionReasonCode|RawCode|string|null $code = null,
): TaxPreset
```

static

Supply excluded from the tax with a specific legal reference, e.g. VatPreset::excluded('Art. 21 Abs. 2 Ziff. 3 MWSTG'). The text defaults to German.

| Parameter | Type | Description |
| --- | --- | --- |
| `$paragraph` | `string` | |
| `$code` | `[VatExemptionReasonCode](https://quittio.dev/docs/api/Quittio/Core/Enums/VatExemptionReasonCode)\| [RawCode](https://quittio.dev/docs/api/Quittio/Core/Codes/RawCode)\|string\|null` = `null` | |

<dl><dt>Returns</dt>
<dd><code><a href="https://quittio.dev/docs/api/Quittio/Core/Tax/TaxPreset">TaxPreset</a></code></dd>
</dl>

### `exemptionReason()`#

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

| Parameter | Type | Description |
| --- | --- | --- |
| `$locale` | `?string` = `null` | |

<dl><dt>Returns</dt>
<dd><code>?string</code></dd>
</dl>

### `exemptionReasonCode()`#

```
public function exemptionReasonCode(): ?VatExemptionReasonCode
```

<dl><dt>Returns</dt>
<dd><code>?<a href="https://quittio.dev/docs/api/Quittio/Core/Enums/VatExemptionReasonCode">VatExemptionReasonCode</a></code></dd>
</dl>

### `fromKey()`#

```
public static function fromKey(string $key): ?self
```

static

The case of a key, e.g. of LineVat::$presetKey; null for keys of other presets.

| Parameter | Type | Description |
| --- | --- | --- |
| `$key` | `string` | |

<dl><dt>Returns</dt>
<dd><code>?self</code></dd>
</dl>

### `key()`#

```
public function key(): string
```

<dl><dt>Returns</dt>
<dd><code>string</code></dd>
</dl>

### `on()`#

```
public function on(Date $date): TaxPreset
```

The preset with the rate of the date; presets without a dated rate return themselves.

| Parameter | Type | Description |
| --- | --- | --- |
| `$date` | `[Date](https://quittio.dev/docs/api/Quittio/Core/Support/Date)` | |

<dl><dt>Returns</dt>
<dd><code><a href="https://quittio.dev/docs/api/Quittio/Core/Tax/TaxPreset">TaxPreset</a></code></dd>
</dl>

### `rate()`#

```
public function rate(): ?BigDecimal
```

<dl><dt>Returns</dt>
<dd><code>?Brick\Math\BigDecimal</code></dd>
</dl>

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://quittio.dev/en#website","@type":"WebSite","description":"E-invoicing for PHP and Laravel: create, validate, read and archive ZUGFeRD, XRechnung and Peppol invoices.","inLanguage":"en","name":"Quittio","url":"https://quittio.dev/en","publisher":{"@id":"https://quittio.dev/#identity"},"translationOfWork":{"@id":"https://quittio.dev/#website"}},{"@id":"https://quittio.dev/en/docs/api/Quittio/Country/CH/Tax/VatPreset#webpage","@type":"WebPage","description":"Tax presets for Switzerland (MWSTG).","name":"VatPreset – API reference","url":"https://quittio.dev/en/docs/api/Quittio/Country/CH/Tax/VatPreset","isPartOf":{"@id":"https://quittio.dev/en#website"},"potentialAction":[{"@type":"ReadAction","target":["https://quittio.dev/en/docs/api/Quittio/Country/CH/Tax/VatPreset"]}],"primaryImageOfPage":{"@id":"https://quittio.dev/#logo"}},{"@id":"https://quittio.dev/#identity","@type":"Organization","description":"Open-Source-Bibliothek für E-Rechnungen in PHP und Laravel (ZUGFeRD, XRechnung, Peppol) und Quittio Managed.","email":"kontakt@niklasforst.de","legalName":"Niklas Forst – Softwareentwicklung","name":"Quittio","url":"https://quittio.dev","founder":{"@type":"Person","name":"Niklas Forst","url":"https://quittio.dev/ueber"},"logo":{"@id":"https://quittio.dev/#logo"},"sameAs":["https://github.com/Quittio/quittio","https://packagist.org/packages/quittio/quittio"]},{"@id":"https://quittio.dev/#logo","@type":"ImageObject","caption":"Quittio","contentUrl":"https://quittio.dev/logo.png","inLanguage":"en","url":"https://quittio.dev/logo.png"}]}
```