---
title: "CodeList – API-Referenz · Quittio"
description: "Access to the official code lists generated from the EN 16931 rules and, for Peppol, the Peppol BIS rules (resources/codelists/*.json, see tools/codelists/update.php)."
canonical_url: "https://quittio.dev/docs/api/Quittio/Core/Codes/CodeList"
locale: de
meta:
  "og:description": "Access to the official code lists generated from the EN 16931 rules and, for Peppol, the Peppol BIS rules (resources/codelists/*.json, see tools/codelists/update.php)."
  "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": "CodeList – 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) \\ [Codes](https://quittio.dev/docs/api/Quittio/Core/Codes)

# CodeList

final class in quittio/core

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

Access to the official code lists generated from the EN 16931 rules and, for Peppol, the Peppol BIS rules (resources/codelists/\*.json, see tools/codelists/update.php).

## Constants \#

| Constant | Value | Description |
| --- | --- | --- |
| `ALLOWANCE_REASONS` | `'allowance-reason-codes'` | |
| `CHARGE_REASONS` | `'charge-reason-codes'` | |
| `COUNTRIES` | `'country-codes'` | |
| `CURRENCIES` | `'currency-codes'` | |
| `EAS` | `'eas-codes'` | |
| `ICD` | `'icd-schemes'` | |
| `INVOICE_TYPES` | `'invoice-type-codes'` | |
| `ITEM_CLASSIFICATIONS` | `'item-classification-schemes'` | |
| `MIME_TYPES` | `'mime-codes'` | |
| `NOTE_SUBJECTS` | `'note-subject-codes'` | |
| `OBJECT_IDENTIFIERS` | `'object-identifier-schemes'` | |
| `PAYMENT_MEANS` | `'payment-means-codes'` | |
| `PEPPOL_CREDIT_NOTE_TYPES` | `'peppol-credit-note-type-codes'` | The credit note type codes (BT-3) of Peppol business process 01 (PEPPOL-EN16931-P0101). |
| `PEPPOL_CURRENCIES` | `'peppol-currency-codes'` | The currencies Peppol accepts (PEPPOL-EN16931-CL007), the ISO 4217 version of the Peppol rules. |
| `PEPPOL_EAS` | `'peppol-eas-codes'` | The electronic address schemes Peppol accepts (PEPPOL-EN16931-CL008): EAS without EM and other letter codes. |
| `PEPPOL_INVOICE_TYPES` | `'peppol-invoice-type-codes'` | The invoice type codes (BT-3) of Peppol business process 01 (PEPPOL-EN16931-P0100). |
| `UNITS` | `'unit-codes'` | |
| `VAT_CATEGORIES` | `'vat-category-codes'` | |
| `VATEX` | `'vatex-codes'` | |

## Methods \#

| Method | Description |
| --- | --- |
| `::codes()` | |
| `::contains()` | |

### `codes()`#

```
public static function codes(string $list): list<string>
```

static

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

<dl><dt>Returns</dt>
<dd><code>list&lt;string&gt;</code></dd>
</dl>

### `contains()`#

```
public static function contains(string $list, BackedEnum|RawCode|string $code): bool
```

static

| Parameter | Type | Description |
| --- | --- | --- |
| `$list` | `string` | |
| `$code` | `BackedEnum\| [RawCode](https://quittio.dev/docs/api/Quittio/Core/Codes/RawCode)\|string` | |

<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/Codes/CodeList#webpage","@type":"WebPage","description":"Access to the official code lists generated from the EN 16931 rules and, for Peppol, the Peppol BIS rules (resources/codelists/*.json, see tools/codelists/update.php).","name":"CodeList – API-Referenz","url":"https://quittio.dev/docs/api/Quittio/Core/Codes/CodeList","isPartOf":{"@id":"https://quittio.dev/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://quittio.dev/docs/api/Quittio/Core/Codes/CodeList"]}],"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"}]}
```