---
title: "Quittio\\Core\\Countries – API-Referenz"
description: "The public classes in Quittio\\Core\\Countries."
canonical_url: "https://quittio.dev/docs/api/Quittio/Core/Countries"
locale: de
meta:
  "og:description": "The public classes in Quittio\\Core\\Countries."
  "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": "Quittio\\Core\\Countries – API-Referenz"
  "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\\Core\\Countries

## quittio/core \#

### [Quittio\\Core\\Countries](https://quittio.dev/docs/api/Quittio/Core/Countries)

- [`AbstractCountryPack`](https://quittio.dev/docs/api/Quittio/Core/Countries/AbstractCountryPack)Base class with neutral defaults, so that country packs only override what differs.
- [`CorrectionPolicy`](https://quittio.dev/docs/api/Quittio/Core/Countries/CorrectionPolicy)Default handling of cancellations and corrections in a country, and the titles of these documents. Quittio::cancellation() takes the cancellation strategy and the titles "cancellation" and "cancellation\_self\_billed"; Quittio::correction() the title "correction", Quittio::priceReduction() the title "price\_reduction"; the title "self\_billed" is the title of self-billed invoices in PDF and HTML (InvoiceTitle::policyTitle()); the Managed layer takes the correction strategy.
- [`CountryDefaults`](https://quittio.dev/docs/api/Quittio/Core/Countries/CountryDefaults)Defaults of a country.
- [`CountryGeneric`](https://quittio.dev/docs/api/Quittio/Core/Countries/CountryGeneric)Neutral pack for countries without an installed country pack: EN 16931 rules only and international formatting. A warning is issued when an invoice is validated with this pack.
- [`CountryPack`](https://quittio.dev/docs/api/Quittio/Core/Countries/CountryPack) interfaceEverything that differs between countries.
- [`CountryRegistry`](https://quittio.dev/docs/api/Quittio/Core/Countries/CountryRegistry)Installed country packs.
- [`CountryResolver`](https://quittio.dev/docs/api/Quittio/Core/Countries/CountryResolver) interfaceSelects the country packs for an invoice.
- [`DefaultCountryResolver`](https://quittio.dev/docs/api/Quittio/Core/Countries/DefaultCountryResolver)The seller's country (BT-40) determines the leading pack. The buyer's country (BT-55) adds rules for cross-border invoices. A country without a pack of its own takes the pack of the country whose VAT territory it belongs to (VatTerritory::vatCountry(): Monaco the French, Liechtenstein the Swiss pack). Without an installed pack, a generic pack is used.
- [`DunningLaw`](https://quittio.dev/docs/api/Quittio/Core/Countries/DunningLaw)Statutory late payment rules (EU late payment directive plus national law). Amounts and percentage points are decimal strings.
- [`Exporter`](https://quittio.dev/docs/api/Quittio/Core/Countries/Exporter) interfaceCountry specific export format (e.g. DATEV for Germany, FEC for France). Country packs only declare which exporters they provide (CountryPack::exporters()); Quittio runs none of them, applications may.
- [`LegalTextCatalog`](https://quittio.dev/docs/api/Quittio/Core/Countries/LegalTextCatalog)Legal and informational texts of a country pack per locale.
- [`MandatoryField`](https://quittio.dev/docs/api/Quittio/Core/Countries/MandatoryField)A value that must appear in the PDF (checked by the mandatory field guard).
- [`MandatoryFieldList`](https://quittio.dev/docs/api/Quittio/Core/Countries/MandatoryFieldList)Values that must be output in the PDF for one invoice.
- [`NumberingRules`](https://quittio.dev/docs/api/Quittio/Core/Countries/NumberingRules)Requirements for invoice numbering in a country. The Managed layer applies the default pattern, the default reset and the allowed resets.
- [`ResolvedCountries`](https://quittio.dev/docs/api/Quittio/Core/Countries/ResolvedCountries)Leading pack (seller side) and, for cross-border invoices, the buyer's pack.
- [`RetentionRule`](https://quittio.dev/docs/api/Quittio/Core/Countries/RetentionRule)Retention period for invoices.
- [`VatTerritory`](https://quittio.dev/docs/api/Quittio/Core/Countries/VatTerritory)The EU VAT territory (Art. 5 to 7 of Directive 2006/112/EC) as far as it can be told from a country code and a postcode.

### [Quittio\\Core\\Countries\\Capabilities](https://quittio.dev/docs/api/Quittio/Core/Countries/Capabilities)

- [`CompletesInvoices`](https://quittio.dev/docs/api/Quittio/Core/Countries/Capabilities/CompletesInvoices) interfaceA country pack that completes an invoice before it is calculated, validated and rendered, e.g. with a notice the law of the country expects for some buyers. The render pipeline calls it for the leading pack of the invoice; what it adds is part of the rendered data.
- [`ProvidesFormats`](https://quittio.dev/docs/api/Quittio/Core/Countries/Capabilities/ProvidesFormats) interfaceA country pack that brings output formats, e.g. a national e-invoice format, with their aliases and the serializers of their syntaxes. Quittio::registerCountry() registers them. AbstractCountryPack implements it with empty defaults.
- [`ProvidesReferenceRates`](https://quittio.dev/docs/api/Quittio/Core/Countries/Capabilities/ProvidesReferenceRates) interfaceA country pack whose late payment law has a reference interest rate, so that Dunning\\DefaultInterest::forCountry() calculates default interest for it.

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