---
title: "PUT /registrierkassen/{registrierkasseUuid}/belege/{belegUuid}"
method: PUT
path: "/registrierkassen/{registrierkasseUuid}/belege/{belegUuid}"
tags: ["beleg"]
---

# PUT /registrierkassen/{registrierkasseUuid}/belege/{belegUuid}

`PUT /registrierkassen/{registrierkasseUuid}/belege/{belegUuid}`

Signs a receipt and stores it in the "Datenerfassungsprotokoll".

## Path parameters

- `registrierkasseUuid` string, required
- `belegUuid` string, required

## Request body

- Belegdaten — The `Beleg` to be signed by the "Signaturerstellungseinheit" and stored in the "Datenerfassungsprotokoll".
  - `Posten` Posten[]
    - `Bezeichnung` string, required
    - `Satz` 'NORMAL' | 'ERMAESSIGT1' | 'ERMAESSIGT2' | 'ERMAESSIGT3' | 'BESONDERS' | 'NULL', required
    - `Menge` integer, required
    - `BruttoBetrag` integer, required — The amount in cents
    - `NettoBetrag` integer, required — The amount in cents
    - `Externer-Beleg-Belegkreis` string
    - `Externer-Beleg-Bezeichnung` string
    - `Externer-Beleg-Referenz` string
  - `Zahlungen` Zahlung[]
    - `Bezeichnung` string, required
    - `Betrag` integer, required — The amount in cents
    - `Referenz` string
  - `Rabatte` Rabatt[]
    - `Bezeichnung` string, required
    - `Betrag-Netto` integer, required — The amount in cents
    - `Betrag-Brutto` integer, required — The amount in cents
    - `Satz` 'NORMAL' | 'ERMAESSIGT1' | 'ERMAESSIGT2' | 'ERMAESSIGT3' | 'BESONDERS' | 'NULL'
  - `Unternehmen-Name` string
  - `Unternehmen-ID` string
  - `Unternehmen-ID-Typ` 'steuernummer' | 'uid' | 'gln'
  - `Unternehmen-Adresse1` string
  - `Unternehmen-Adresse2` string
  - `Unternehmen-PLZ` string
  - `Unternehmen-Ort` string
  - `Unternehmen-Kopfzeile` string
  - `Unternehmen-Fusszeile` string
  - `Notizen` string[]
  - `Training` boolean — Training?
  - `Storno` boolean — Storno?
  - `Storno-Beleg-UUID` string, uuid — The `Beleg-UUID` property of the `Beleg` to be cancelled
  - `Storno-Text` string
  - `Kunde` string
  - `Externer-Beleg-Belegkreis` string
  - `Externer-Beleg-Bezeichnung` string
  - `Externer-Beleg-Referenz` string

## Response `201`

The `Beleg` has been signed and added to the "Datenerfassungsprotokoll".

## Other responses

- `400` — The provided request payload is invalid i.e. not conform the the JSON schema.
- `403` — Access token is either missing or invalid. Be sure to include the Authorization HTTP header.
- `409` — A `Beleg` with this particular `belegUuid` already exists.
- `415` — The provided request payload is not JSON encoded.
- `429` — Request limit exceeded.
- `500` — The receipt could not be signed either because the HSM delivered invalid data or the request signing request timed out (currently after 10 seconds).

---

[API](https://skmtc.net/obono/apis/obono-rksv-api.md) · [All operations](https://skmtc.net/obono/apis/obono-rksv-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/obono/obono-rksv-api/revisions/d8eb620f4785/schema)
