> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stampfactory.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# eAU-Anfrage stornieren



## OpenAPI

````yaml POST /eau/requests/{eauRequest}/storno
openapi: 3.1.0
info:
  title: Stampfactory API
  version: 1.0.0
  description: >-
    REST API für die Stampfactory Zeiterfassungs- und
    Personalverwaltungsplattform.


    ## Basis-URL


    Jeder Mandant hat eine eigene Subdomain: `https://{tenant}.stamp.eu/rest/…`.

    Custom Domains werden unterstützt; der Pfad-Präfix ist immer `/rest`.

    Authentifizierung über `POST /rest/login` (Bearer-Token, Laravel Sanctum).


    ## Datenformate (verbindlich, ADR 0005)


    | Typ | Format | Beispiel |

    |---|---|---|

    | Dauer (Anzeige) | String `HH:MM:SS.mmm`, Feldname ohne Suffix |
    `"08:00:00.000"` |

    | Dauer (Rohwert) | Integer Millisekunden, Feldname mit Suffix `_ms` |
    `28800000` |

    | Datum | ISO 8601 (`YYYY-MM-DD`) | `"2026-07-25"` |

    | Fachliche Zeitstempel (Stempelungen, Korrekturen) | ISO 8601 in
    Mandanten-Zeitzone | `"2026-07-25T08:00:00+02:00"` |

    | Technische Metadaten (`created_at`, `updated_at`) | ISO 8601 UTC |
    `"2026-07-25T06:00:00+00:00"` |

    | IDs | UUID bzw. TypeID-String | `"9d3f…"` |

    | Arbeitszeit-Flags | Integer-Bitmaske (`flags`), Bits siehe
    `WorkingTimeFlag` | `512` = Feiertag |

    | Monats-Perioden | `YYYY-MM` | `"2026-07"` |


    ## Responses


    Erfolgs-Responses liefern die fachliche Payload unter `data`

    (dokumentierte Ausnahmen: `POST /rest/terminal/{code}` und `/rest/mobile`).

    Listen sind, wo paginiert, im Laravel-Paginator-Format (`data` + `links` +
    `meta`).


    ## Fehlerformat


    Alle Fehler (4xx/5xx) folgen einem einheitlichen Envelope:


    ```json

    {
      "request_id": "…",
      "timestamp": "2026-07-25T06:00:00Z",
      "message": "Menschlich lesbare Meldung",
      "field_errors": { "feld": ["Meldung"] },
      "errors": [{ "title": "…", "detail": "…", "type": "https://docs.stampfactory.eu/errors#…", "_meta": { } }]
    }

    ```


    `field_errors` erscheint bei Validierungsfehlern (422). Endpoint-spezifische

    Zusatzdaten (z. B. `warnings`, `earliest`, `code`) stehen kanonisch in

    `errors[0]._meta`; Top-Level-Duplikate sind eine
    Übergangs-Kompatibilitätsschicht.

    Die `type`-URLs verlinken auf die Fehlerdokumentation.
servers:
  - url: https://{tenant}.stamp.eu/rest
    description: Production
    variables:
      tenant:
        default: demo
        description: Subdomain des Mandanten
security:
  - http: []
paths:
  /eau/requests/{eauRequest}/storno:
    post:
      tags:
        - Sonstiges
      summary: Storniert eine gesendete Anforderung (Kat. 04.2/7)
      operationId: tenant.eau.requests.storno
      parameters:
        - name: eauRequest
          in: path
          required: true
          description: The eau request ID
          schema:
            type: string
            format: uuid
      responses:
        '200':
          description: '`EauRequestResource`'
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/EauRequestResource'
                required:
                  - data
        '401':
          $ref: '#/components/responses/AuthenticationException'
        '404':
          $ref: '#/components/responses/ModelNotFoundException'
        '422':
          description: An error
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    description: Error overview.
                    example: ''
                required:
                  - message
components:
  schemas:
    EauRequestResource:
      type: object
      properties:
        id:
          type: string
        employee_id:
          type: string
        employee_name:
          type: string
        leave_request_id:
          type: string
        status:
          type: string
        health_insurance_company_number:
          type: string
        absence_start:
          type: string
        reference:
          type: string
        record_id:
          type: string
        is_cancellable:
          type: boolean
        cancelled_request_id:
          type: string
        sent_at:
          type: string
        created_at:
          type: string
        snapshot:
          type: object
          properties:
            first_name:
              type: string
            last_name:
              type: string
            birth_date:
              type: string
            birth_name:
              type: string
            birth_place:
              type: string
            insurance_number:
              type: string
          required:
            - first_name
            - last_name
            - birth_date
            - birth_name
            - birth_place
            - insurance_number
        confirmed_absence:
          type:
            - object
            - 'null'
          properties:
            from:
              type: string
            until:
              type: string
            determined_at:
              type: string
            recorded_from:
              type: string
            recorded_until:
              type: string
          required:
            - from
            - until
            - determined_at
            - recorded_from
            - recorded_until
        latest_response:
          type:
            - object
            - 'null'
          properties:
            id:
              type: string
            code:
              type: string
            label:
              type: string
            is_interim:
              type: boolean
            is_cancellation:
              type: boolean
            valid:
              type: boolean
            nachweis_from:
              type: string
            nachweis_until:
              type: string
            nachweis_until_expected:
              type: boolean
            received_at:
              type: string
            invalidated_at:
              type: string
          required:
            - id
            - code
            - label
            - is_interim
            - is_cancellation
            - valid
            - nachweis_from
            - nachweis_until
            - nachweis_until_expected
            - received_at
            - invalidated_at
        responses:
          type: string
      required:
        - id
        - employee_id
        - leave_request_id
        - status
        - health_insurance_company_number
        - absence_start
        - reference
        - record_id
        - is_cancellable
        - cancelled_request_id
        - sent_at
        - created_at
        - snapshot
      title: EauRequestResource
  responses:
    AuthenticationException:
      description: Unauthenticated
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
    ModelNotFoundException:
      description: Not found
      content:
        application/json:
          schema:
            type: object
            properties:
              message:
                type: string
                description: Error overview.
            required:
              - message
  securitySchemes:
    http:
      type: http
      description: Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).
      scheme: bearer

````