---
title: "VatCategory – API-Referenz · Quittio"
description: "VAT category code (BT-95, BT-102, BT-118, BT-151), UNTDID 5305 subset."
canonical_url: "https://quittio.dev/docs/api/Quittio/Core/Enums/VatCategory"
locale: de
meta:
  "og:description": "VAT category code (BT-95, BT-102, BT-118, BT-151), UNTDID 5305 subset."
  "og:image": "https://quittio.dev/og/quittio-de.jpg"
  "og:image:alt": "Quittio: E-Rechnungen für PHP und Laravel. Rechtssicher, validiert, archiviert, mit geprüfter Beispielrechnung."
  "og:image:height": "630"
  "og:image:type": image/jpeg
  "og:image:width": "1200"
  "og:title": "VatCategory – API-Referenz · Quittio"
  "twitter:image": "https://quittio.dev/og/quittio-de.jpg"
  "twitter:image:alt": "Quittio: E-Rechnungen für PHP und Laravel. Rechtssicher, validiert, archiviert, mit geprüfter Beispielrechnung."
---

> 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) \\ [Core](https://quittio.dev/docs/api/Quittio/Core) \\ [Enums](https://quittio.dev/docs/api/Quittio/Core/Enums)

# VatCategory

string-backed enum in quittio/core · uses [`HasLabel`](https://quittio.dev/docs/api/Quittio/Core/Enums/Concerns/HasLabel)

`Quittio\Core\Enums\VatCategory` · [Source](https://github.com/Quittio/quittio/blob/v0.7.1/packages/core/src/Enums/VatCategory.php#L13)

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

## Cases \#

| Case | Value | Description |
| --- | --- | --- |
| `StandardRate` | `'S'` | |
| `ZeroRated` | `'Z'` | |
| `Exempt` | `'E'` | |
| `ReverseCharge` | `'AE'` | |
| `IntraCommunitySupply` | `'K'` | |
| `Export` | `'G'` | |
| `NotSubjectToVat` | `'O'` | |
| `CanaryIslands` | `'L'` | |
| `CeutaMelilla` | `'M'` | |
| `TransferredVatItaly` | `'B'` | |

## Methods \#

| Method | Description |
| --- | --- |
| `::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.

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

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

### `isZeroTax()`#

```
public function isZeroTax(): bool
```

Whether the VAT amount is always zero in this category.

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

### `label()`#

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

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

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

### `labelGroup()`#

```
public static function labelGroup(): string
```

static

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

### `requiresExemptionReason()`#

```
public function requiresExemptionReason(): bool
```

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

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

### `requiresRate()`#

```
public function requiresRate(): bool
```

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

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

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://quittio.dev/#website","@type":"WebSite","description":"E-Rechnungen für PHP und Laravel: ZUGFeRD, XRechnung und Peppol erstellen, prüfen, lesen und archivieren.","inLanguage":"de-DE","name":"Quittio","url":"https://quittio.dev/","publisher":{"@id":"https://quittio.dev/#identity"},"workTranslation":{"@id":"https://quittio.dev/en#website"}},{"@id":"https://quittio.dev/docs/api/Quittio/Core/Enums/VatCategory#webpage","@type":"WebPage","description":"VAT category code (BT-95, BT-102, BT-118, BT-151), UNTDID 5305 subset.","name":"VatCategory – API-Referenz","url":"https://quittio.dev/docs/api/Quittio/Core/Enums/VatCategory","isPartOf":{"@id":"https://quittio.dev/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://quittio.dev/docs/api/Quittio/Core/Enums/VatCategory"]}],"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":"de-DE","url":"https://quittio.dev/logo.png"}]}
```