---
title: "Period – API-Referenz · Quittio"
description: "Invoicing period (BG-14: BT-73, BT-74) or invoice line period (BG-26: BT-134, BT-135). At least one of start or end must be set; the end must not lie before the start."
canonical_url: "https://quittio.dev/docs/api/Quittio/Core/Data/Delivery/Period"
locale: de
meta:
  "og:description": "Invoicing period (BG-14: BT-73, BT-74) or invoice line period (BG-26: BT-134, BT-135). At least one of start or end must be set; the end must not lie before the start."
  "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": "Period – 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) \\ [Data](https://quittio.dev/docs/api/Quittio/Core/Data) \\ [Delivery](https://quittio.dev/docs/api/Quittio/Core/Data/Delivery)

# Period

final readonly class in quittio/core · uses [`Immutable`](https://quittio.dev/docs/api/Quittio/Core/Data/Concerns/Immutable)

`Quittio\Core\Data\Delivery\Period` · [Source](https://github.com/Quittio/quittio/blob/v0.7.1/packages/core/src/Data/Delivery/Period.php#L15)

Invoicing period (BG-14: BT-73, BT-74) or invoice line period (BG-26: BT-134, BT-135). At least one of start or end must be set; the end must not lie before the start.

## Properties \#

| Property | Type | Description |
| --- | --- | --- |
| `$end` readonly | `? [Date](https://quittio.dev/docs/api/Quittio/Core/Support/Date)` | |
| `$start` readonly | `? [Date](https://quittio.dev/docs/api/Quittio/Core/Support/Date)` | |

## Methods \#

| Method | Description |
| --- | --- |
| `->__construct()` | |
| `::between()` | |
| `->isValid()` | |
| `->with()` | Returns a copy with the given properties replaced. |

### `__construct()`#

```
public function __construct(?Date $start = null, ?Date $end = null)
```

| Parameter | Type | Description |
| --- | --- | --- |
| `$start` | `? [Date](https://quittio.dev/docs/api/Quittio/Core/Support/Date)` = `null` | |
| `$end` | `? [Date](https://quittio.dev/docs/api/Quittio/Core/Support/Date)` = `null` | |

### `between()`#

```
public static function between(Date|string|null $start, Date|string|null $end): self
```

static

| Parameter | Type | Description |
| --- | --- | --- |
| `$start` | `[Date](https://quittio.dev/docs/api/Quittio/Core/Support/Date)\|string\|null` | |
| `$end` | `[Date](https://quittio.dev/docs/api/Quittio/Core/Support/Date)\|string\|null` | |

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

### `isValid()`#

```
public function isValid(): bool
```

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

### `with()`#

```
public function with(array<string, mixed> $changes): static
```

Returns a copy with the given properties replaced.

| Parameter | Type | Description |
| --- | --- | --- |
| `$changes` | `array<string, mixed>` | |

<dl><dt>Returns</dt>
<dd><code>static</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/Data/Delivery/Period#webpage","@type":"WebPage","description":"Invoicing period (BG-14: BT-73, BT-74) or invoice line period (BG-26: BT-134, BT-135). At least one of start or end must be set; the end must not lie before the start.","name":"Period – API-Referenz","url":"https://quittio.dev/docs/api/Quittio/Core/Data/Delivery/Period","isPartOf":{"@id":"https://quittio.dev/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://quittio.dev/docs/api/Quittio/Core/Data/Delivery/Period"]}],"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"}]}
```