---
title: "CountryDefaults – API-Referenz · Quittio"
description: "Defaults of a country."
canonical_url: "https://quittio.dev/docs/api/Quittio/Core/Countries/CountryDefaults"
locale: de
meta:
  "og:description": "Defaults of a country."
  "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": "CountryDefaults – 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) \\ [Countries](https://quittio.dev/docs/api/Quittio/Core/Countries)

# CountryDefaults

final readonly class in quittio/core

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

Defaults of a country.

Applied by the core: $locale (locale of a run that names none), $paper (paper size unless the presentation or the configuration sets one), $letterLayout (letter layout unless the presentation names one), $paymentQr (what the payment QR code type "auto" prints) and $vatPreset and $smallBusinessVatPreset (VAT of lines without one, see CountryDefaultVat). Informational metadata for applications, not applied by the core: $currency, $timezone, $profile and $requiredLocales.

## Properties \#

| Property | Type | Description |
| --- | --- | --- |
| `$currency` readonly | `string` | usual currency of the country; an invoice names its own (BT-5) |
| `$letterLayout` readonly | `string` | |
| `$locale` readonly | `string` | |
| `$paper` readonly | `string` | |
| `$paymentQr` readonly | `string` | payment QR code of the type "auto": girocode (the pack's generator, otherwise the EPC GiroCode), swiss-qr-bill or another type (the pack's generator, otherwise none) or none |
| `$profile` readonly | `string` | usual profile of the country; the profile of a run comes from the call, the configuration, the format rules of the pack or the format |
| `$requiredLocales` readonly | `list<string>` | languages an invoice must (also) be issued in; a run renders one locale |
| `$smallBusinessVatPreset` readonly | `string\|null` | key of that preset for invoices of small businesses (Meta::FLAG\_SMALL\_BUSINESS) |
| `$timezone` readonly | `string` | time zone of the country, e.g. as default for an application's issuers; invoices use their own (InvoiceBuilder::timezone(), default UTC) |
| `$vatPreset` readonly | `string\|null` | key of the preset of the pack for lines without VAT treatment, usually the standard rate |

## Methods \#

| Method | Description |
| --- | --- |
| `->__construct()` | |

### `__construct()`#

```
public function __construct(
    string $currency = 'EUR',
    string $timezone = 'UTC',
    string $locale = 'en',
    string $paper = 'A4',
    string $letterLayout = 'free',
    string $profile = 'en16931',
    list<string> $requiredLocales = [],
    string $paymentQr = 'girocode',
    string|null $vatPreset = null,
    string|null $smallBusinessVatPreset = null,
)
```

| Parameter | Type | Description |
| --- | --- | --- |
| `$currency` | `string` = `'EUR'` | usual currency of the country; an invoice names its own (BT-5) |
| `$timezone` | `string` = `'UTC'` | time zone of the country, e.g. as default for an application's issuers; invoices use their own (InvoiceBuilder::timezone(), default UTC) |
| `$locale` | `string` = `'en'` | |
| `$paper` | `string` = `'A4'` | |
| `$letterLayout` | `string` = `'free'` | |
| `$profile` | `string` = `'en16931'` | usual profile of the country; the profile of a run comes from the call, the configuration, the format rules of the pack or the format |
| `$requiredLocales` | `list<string>` = `[]` | languages an invoice must (also) be issued in; a run renders one locale |
| `$paymentQr` | `string` = `'girocode'` | payment QR code of the type "auto": girocode (the pack's generator, otherwise the EPC GiroCode), swiss-qr-bill or another type (the pack's generator, otherwise none) or none |
| `$vatPreset` | `string\|null` = `null` | key of the preset of the pack for lines without VAT treatment, usually the standard rate |
| `$smallBusinessVatPreset` | `string\|null` = `null` | key of that preset for invoices of small businesses (Meta::FLAG\_SMALL\_BUSINESS) |

```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/Countries/CountryDefaults#webpage","@type":"WebPage","description":"Defaults of a country.","name":"CountryDefaults – API-Referenz","url":"https://quittio.dev/docs/api/Quittio/Core/Countries/CountryDefaults","isPartOf":{"@id":"https://quittio.dev/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://quittio.dev/docs/api/Quittio/Core/Countries/CountryDefaults"]}],"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"}]}
```