> ## 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.

# List archived billing records



## OpenAPI

````yaml /openapi.yaml get /abrechnung/archiv
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/archiv:
    get:
      tags:
        - abrechnung
      summary: List archived billing records
      operationId: listArchiv
      parameters:
        - name: search
          in: query
          schema:
            type: string
        - in: query
          name: year
          schema:
            type: integer
        - in: query
          name: page
          schema:
            type: integer
            default: 1
        - in: query
          name: limit
          schema:
            type: integer
            default: 20
      responses:
        '200':
          description: Archived billing records
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ArchivEintragPaginatedList'
components:
  schemas:
    ArchivEintragPaginatedList:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/ArchivEintrag'
        total:
          type: integer
        page:
          type: integer
        limit:
          type: integer
        totalPages:
          type: integer
      required:
        - data
        - total
        - page
        - limit
        - totalPages
    ArchivEintrag:
      type: object
      properties:
        id:
          type: integer
        pachtkontoId:
          type: integer
        kontonummer:
          type: string
        bezeichnung:
          type: string
        jahr:
          type: integer
        betrag:
          type: number
        typ:
          type: string
          enum:
            - pachtzins
            - hebung
            - sonstige
        datum:
          type: string
          format: date
        dokument:
          type: string
          nullable: true
        createdAt:
          type: string
          format: date-time
      required:
        - id
        - pachtkontoId
        - kontonummer
        - bezeichnung
        - jahr
        - betrag
        - typ
        - datum
        - createdAt
  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.