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

# Update a rent increase



## OpenAPI

````yaml /openapi.yaml put /abrechnung/hebungen/{id}
openapi: 3.1.0
info:
  title: Api
  version: 2.1.4
  description: Pachtify360 API specification
servers:
  - url: /api
    description: Base API path
security:
  - cookieAuth: []
tags:
  - name: health
    description: Health operations
  - name: pachtkonten
    description: Lease account management
  - name: patchobjekte
    description: Patch object management
  - name: kontakte
    description: Contact management
  - name: abrechnung
    description: Billing and invoicing
  - name: audit
    description: Audit log management
  - name: dashboard
    description: Dashboard summary data
  - name: duplikate
    description: Duplicate detection and merge
  - name: einstellungen
    description: Application settings
paths:
  /abrechnung/hebungen/{id}:
    put:
      tags:
        - abrechnung
      summary: Update a rent increase
      operationId: updateHebung
      parameters:
        - in: path
          name: id
          required: true
          schema:
            type: integer
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateHebungBody'
      responses:
        '200':
          description: Updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Hebung'
components:
  schemas:
    UpdateHebungBody:
      type: object
      properties:
        bezeichnung:
          type: string
        betrag:
          type: number
        prozent:
          type: number
          nullable: true
        gueltigAb:
          type: string
          format: date
        status:
          type: string
          enum:
            - geplant
            - aktiv
            - abgeschlossen
            - storniert
        grundlage:
          type: string
          nullable: true
        notizen:
          type: string
          nullable: true
    Hebung:
      type: object
      properties:
        id:
          type: integer
        pachtkontoId:
          type: integer
        bezeichnung:
          type: string
        betrag:
          type: number
        prozent:
          type: number
          nullable: true
        gueltigAb:
          type: string
          format: date
        status:
          type: string
          enum:
            - geplant
            - aktiv
            - abgeschlossen
            - storniert
        grundlage:
          type: string
          nullable: true
        notizen:
          type: string
          nullable: true
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
        - id
        - pachtkontoId
        - bezeichnung
        - betrag
        - gueltigAb
        - status
        - createdAt
        - updatedAt
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: pachtify360.sid
      description: Serverseitige Anwendungssitzung nach Microsoft-Anmeldung.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.