get:
    tags:
        - hs-office-debitors
    description: 'Fetch a single debitor by its debitorNumber, if visible for the current subject.'
    operationId: getSingleDebitorByDebitorNumber
    parameters:
        - $ref: 'auth.yaml#/components/parameters/currentSubject'
        - $ref: 'auth.yaml#/components/parameters/assumedRoles'
        - name: debitorNumber
          in: path
          required: true
          schema:
              type: number
              format: integer
              minimum: 1000000
              maximum: 9999999
          description: debitor-number of the debitor to fetch.
    responses:
        "200":
            description: OK
            content:
                'application/json':
                    schema:
                        $ref: 'hs-office-debitor-schemas.yaml#/components/schemas/HsOfficeDebitor'

        "401":
            $ref: 'error-responses.yaml#/components/responses/Unauthorized'
        "403":
            $ref: 'error-responses.yaml#/components/responses/Forbidden'
