---
title: "BaseRates – API-Referenz · Quittio"
description: "Base rates (section 247 BGB) of the application in addition to the table shipped with Quittio, e.g. rates published after the release or fetched with BundesbankBaseRates. DefaultInterest uses table() unless it is given a table of its own. In Laravel the GermanyServiceProvider registers the configured and the fetched rates."
canonical_url: "https://quittio.dev/docs/api/Quittio/Country/DE/Dunning/BaseRates"
locale: de
meta:
  "og:description": "Base rates (section 247 BGB) of the application in addition to the table shipped with Quittio, e.g. rates published after the release or fetched with BundesbankBaseRates. DefaultInterest uses table() unless it is given a table of its own. In Laravel the GermanyServiceProvider registers the configured and the fetched rates."
  "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": "BaseRates – 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) \\ [Country](https://quittio.dev/docs/api/Quittio/Country) \\ [DE](https://quittio.dev/docs/api/Quittio/Country/DE) \\ [Dunning](https://quittio.dev/docs/api/Quittio/Country/DE/Dunning)

# BaseRates

final class in quittio/country-de

`Quittio\Country\DE\Dunning\BaseRates` · [Source](https://github.com/Quittio/quittio/blob/v0.7.1/packages/country-de/src/Dunning/BaseRates.php#L16)

Base rates (section 247 BGB) of the application in addition to the table shipped with Quittio, e.g. rates published after the release or fetched with BundesbankBaseRates. DefaultInterest uses table() unless it is given a table of its own. In Laravel the GermanyServiceProvider registers the configured and the fetched rates.

## Methods \#

| Method | Description |
| --- | --- |
| `::normalise()` | Checks and normalises rates: the base rate changes on 1 January and 1 July only (section 247 (1) sentence 2 BGB), values are decimal percentages. |
| `::register()` | Adds or replaces rates. Later registrations win for the same date. |
| `::registered()` | |
| `::reset()` | Forgets the registered rates; the shipped table stays. Quittio::resetState() calls it. |
| `::table()` | The shipped table with the registered rates. |

### `normalise()`#

```
public static function normalise(array<array-key, mixed> $rates): array<string, string>
```

static

Checks and normalises rates: the base rate changes on 1 January and 1 July only (section 247 (1) sentence 2 BGB), values are decimal percentages.

| Parameter | Type | Description |
| --- | --- | --- |
| `$rates` | `array<array-key, mixed>` | |

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

### `register()`#

```
public static function register(array<array-key, mixed> $rates): void
```

static

Adds or replaces rates. Later registrations win for the same date.

| Parameter | Type | Description |
| --- | --- | --- |
| `$rates` | `array<array-key, mixed>` | ISO date (1 January or 1 July) => rate in percent, e.g. \['2027-01-01' => '1.27'] |

### `registered()`#

```
public static function registered(): array<string, string>
```

static

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

### `reset()`#

```
public static function reset(): void
```

static

Forgets the registered rates; the shipped table stays. Quittio::resetState() calls it.

### `table()`#

```
public static function table(): BaseRateTable
```

static

The shipped table with the registered rates.

<dl><dt>Returns</dt>
<dd><code><a href="https://quittio.dev/docs/api/Quittio/Country/DE/Dunning/BaseRateTable">BaseRateTable</a></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/Country/DE/Dunning/BaseRates#webpage","@type":"WebPage","description":"Base rates (section 247 BGB) of the application in addition to the table shipped with Quittio, e.g. rates published after the release or fetched with BundesbankBaseRates. DefaultInterest uses table() unless it is given a table of its own. In Laravel the GermanyServiceProvider registers the configured and the fetched rates.","name":"BaseRates – API-Referenz","url":"https://quittio.dev/docs/api/Quittio/Country/DE/Dunning/BaseRates","isPartOf":{"@id":"https://quittio.dev/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://quittio.dev/docs/api/Quittio/Country/DE/Dunning/BaseRates"]}],"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"}]}
```