---
title: "PaymentSlip – API-Referenz · Quittio"
description: "The texts of a payment slip with receipt (ProvidesPaymentSlip), laid out by the templates after the Swiss QR bill: receipt (62 mm) and payment part (148 mm) in a strip of 210 × 105 mm at the bottom of the page, with the code at 46 × 46 mm."
canonical_url: "https://quittio.dev/docs/api/Quittio/Core/Pdf/Qr/PaymentSlip"
locale: de
meta:
  "og:description": "The texts of a payment slip with receipt (ProvidesPaymentSlip), laid out by the templates after the Swiss QR bill: receipt (62 mm) and payment part (148 mm) in a strip of 210 × 105 mm at the bottom of the page, with the code at 46 × 46 mm."
  "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": "PaymentSlip – 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) \\ [Pdf](https://quittio.dev/docs/api/Quittio/Core/Pdf) \\ [Qr](https://quittio.dev/docs/api/Quittio/Core/Pdf/Qr)

# PaymentSlip

final readonly class in quittio/core

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

The texts of a payment slip with receipt (ProvidesPaymentSlip), laid out by the templates after the Swiss QR bill: receipt (62 mm) and payment part (148 mm) in a strip of 210 × 105 mm at the bottom of the page, with the code at 46 × 46 mm.

A section is a heading with its lines; a section without lines is printed as an empty field to be filled in by hand, as is a missing amount.

## Properties \#

| Property | Type | Description |
| --- | --- | --- |
| `$acceptancePoint` readonly | `string` | |
| `$amount` readonly | `string\|null` | formatted amount, null for an empty amount field |
| `$amountHeading` readonly | `string` | |
| `$currency` readonly | `string` | |
| `$currencyHeading` readonly | `string` | |
| `$mark` readonly | `string\|null` | image (data URI) printed in the middle of the code, e.g. the Swiss cross |
| `$receiptSections` readonly | `list<array{heading: string, lines: list<string>}>` | information section of the receipt |
| `$receiptTitle` readonly | `string` | |
| `$sections` readonly | `list<array{heading: string, lines: list<string>}>` | information section of the payment part, in order |
| `$separationNote` readonly | `string` | |
| `$title` readonly | `string` | |

## Methods \#

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

### `__construct()`#

```
public function __construct(
    string $title,
    string $receiptTitle,
    list<array{heading: string, lines: list<string>}> $sections,
    list<array{heading: string, lines: list<string>}> $receiptSections,
    string $currencyHeading,
    string $amountHeading,
    string $currency,
    string|null $amount,
    string $acceptancePoint,
    string $separationNote,
    string|null $mark = null,
)
```

| Parameter | Type | Description |
| --- | --- | --- |
| `$title` | `string` | |
| `$receiptTitle` | `string` | |
| `$sections` | `list<array{heading: string, lines: list<string>}>` | information section of the payment part, in order |
| `$receiptSections` | `list<array{heading: string, lines: list<string>}>` | information section of the receipt |
| `$currencyHeading` | `string` | |
| `$amountHeading` | `string` | |
| `$currency` | `string` | |
| `$amount` | `string\|null` | formatted amount, null for an empty amount field |
| `$acceptancePoint` | `string` | |
| `$separationNote` | `string` | |
| `$mark` | `string\|null` = `null` | image (data URI) printed in the middle of the code, e.g. the Swiss cross |

### `toArray()`#

```
public function toArray(): array{title: string, receiptTitle: string, sections: list<array{heading: string, lines: list<string>}>, receiptSections: list<array{heading: string, lines: list<string>}>, currencyHeading: string, amountHeading: string, currency: string, amount: ?string, acceptancePoint: string, separationNote: string, mark: ?string}
```

<dl><dt>Returns</dt>
<dd><code>array{title: string, receiptTitle: string, sections: list&lt;array{heading: string, lines: list&lt;string&gt;}&gt;, receiptSections: list&lt;array{heading: string, lines: list&lt;string&gt;}&gt;, currencyHeading: string, amountHeading: string, currency: string, amount: ?string, acceptancePoint: string, separationNote: string, mark: ?string}</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/Pdf/Qr/PaymentSlip#webpage","@type":"WebPage","description":"The texts of a payment slip with receipt (ProvidesPaymentSlip), laid out by the templates after the Swiss QR bill: receipt (62 mm) and payment part (148 mm) in a strip of 210 × 105 mm at the bottom of the page, with the code at 46 × 46 mm.","name":"PaymentSlip – API-Referenz","url":"https://quittio.dev/docs/api/Quittio/Core/Pdf/Qr/PaymentSlip","isPartOf":{"@id":"https://quittio.dev/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://quittio.dev/docs/api/Quittio/Core/Pdf/Qr/PaymentSlip"]}],"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"}]}
```