openapi: 3.0.4
servers:
  - url: https://{environment}.pigello.io
    variables:
      environment:
        default: dev.api
        enum:
          - dev.api
          - api
security:
  - customer_id: []
    application_id: []
    service_id: []
    service_version_id: []
    client_ct: []
    client_object_id: []
    client_secret: []
paths:
  /organization/externalclient/{pk}/:
    get:
      responses:
        '200':
          description: Successful selection
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/organization.externalclient'
        '400':
          $ref: '#/components/responses/bad_query'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/permission_denied'
        '404':
          $ref: '#/components/responses/not_found'
        '429':
          $ref: '#/components/responses/rate_limit_exceeded'
      parameters:
        - name: pk
          in: path
          required: true
          schema:
            type: string
            writeOnly: true
      tags:
        - Externalclient
      summary: Get 'Externalclient'
    patch:
      responses:
        '200':
          description: Successful update
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/organization.externalclient'
        '400':
          $ref: '#/components/responses/invalid_object_payload'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/permission_denied'
        '429':
          $ref: '#/components/responses/rate_limit_exceeded'
      parameters:
        - name: pk
          in: path
          required: true
          schema:
            type: string
            writeOnly: true
      tags:
        - Externalclient
      summary: Update 'Externalclient'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/organization.externalclient'
    delete:
      responses:
        '204':
          description: Successful deletion
        '400':
          $ref: '#/components/responses/invalid_object_state'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/permission_denied'
        '429':
          $ref: '#/components/responses/rate_limit_exceeded'
      parameters:
        - name: pk
          in: path
          required: true
          schema:
            type: string
            writeOnly: true
      tags:
        - Externalclient
      summary: Delete 'Externalclient'
  /organization/externalclient/list/:
    post:
      responses:
        '201':
          description: Successful bulk create/update
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/organization.externalclient'
        '400':
          $ref: '#/components/responses/invalid_list_payload'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/permission_denied'
        '429':
          $ref: '#/components/responses/rate_limit_exceeded'
      parameters: []
      tags:
        - Externalclient
      summary: Bulk write 'Externalclient'
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/organization.externalclient'
    get:
      responses:
        '200':
          description: Successful query
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/organization.externalclient'
        '400':
          $ref: '#/components/responses/bad_query'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/permission_denied'
        '404':
          $ref: '#/components/responses/not_found'
        '429':
          $ref: '#/components/responses/rate_limit_exceeded'
      parameters:
        - name: _jsonl
          in: query
          required: false
          schema:
            type: boolean
        - name: _order_by
          in: query
          required: false
          schema:
            type: array
            items:
              type: string
          example: field_a,-field_b
        - name: _page
          in: query
          required: false
          schema:
            type: integer
            format: int32
            minimum: 1
            description: >-
              **Additional Validation Information:**


              This value must be set together with the following fields:
              `_page_size`
        - name: _page_size
          in: query
          required: false
          schema:
            type: integer
            format: int32
            description: |-
              **Additional Validation Information:**

              This value must be set together with the following fields: `_page`
        - name: _search
          in: query
          required: false
          schema:
            type: string
        - name: _slim
          in: query
          required: false
          schema:
            type: boolean
        - name: _statistics
          in: query
          required: false
          schema:
            type: boolean
        - name: customer_columns
          in: query
          required: false
          schema:
            type: array
            items: {}
        - name: global_realestates
          in: query
          required: false
          schema:
            type: array
            items: {}
        - name: global_segments
          in: query
          required: false
          schema:
            type: array
            items: {}
        - name: tags
          in: query
          required: false
          schema:
            type: array
            items: {}
        - name: created_at
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `gt`, Supports negation (via `!`): `True`


            Operator: `gte`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `lt`, Supports negation (via `!`): `True`


            Operator: `lte`, Supports negation (via `!`): `True`
        - name: custom_id
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `contains`, Supports negation (via `!`): `True`


            Operator: `endswith`, Supports negation (via `!`): `True`


            Operator: `icontains`, Supports negation (via `!`): `True`


            Operator: `iendswith`, Supports negation (via `!`): `True`


            Operator: `iexact`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `istartswith`, Supports negation (via `!`): `True`


            Operator: `startswith`, Supports negation (via `!`): `True`
        - name: fmi
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `contains`, Supports negation (via `!`): `True`


            Operator: `endswith`, Supports negation (via `!`): `True`


            Operator: `icontains`, Supports negation (via `!`): `True`


            Operator: `iendswith`, Supports negation (via `!`): `True`


            Operator: `iexact`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `istartswith`, Supports negation (via `!`): `True`


            Operator: `startswith`, Supports negation (via `!`): `True`
        - name: id
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`
        - name: invoice_address
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`
        - name: invoice_email
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `contains`, Supports negation (via `!`): `True`


            Operator: `endswith`, Supports negation (via `!`): `True`


            Operator: `icontains`, Supports negation (via `!`): `True`


            Operator: `iendswith`, Supports negation (via `!`): `True`


            Operator: `iexact`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `istartswith`, Supports negation (via `!`): `True`


            Operator: `startswith`, Supports negation (via `!`): `True`
        - name: name
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `contains`, Supports negation (via `!`): `True`


            Operator: `endswith`, Supports negation (via `!`): `True`


            Operator: `icontains`, Supports negation (via `!`): `True`


            Operator: `iendswith`, Supports negation (via `!`): `True`


            Operator: `iexact`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `istartswith`, Supports negation (via `!`): `True`


            Operator: `startswith`, Supports negation (via `!`): `True`
        - name: org_no
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `contains`, Supports negation (via `!`): `True`


            Operator: `endswith`, Supports negation (via `!`): `True`


            Operator: `icontains`, Supports negation (via `!`): `True`


            Operator: `iendswith`, Supports negation (via `!`): `True`


            Operator: `iexact`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `istartswith`, Supports negation (via `!`): `True`


            Operator: `startswith`, Supports negation (via `!`): `True`
        - name: organization
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`
        - name: visiting_address
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`
      tags:
        - Externalclient
      summary: List 'Externalclient'
  /organization/externalclient/:
    post:
      responses:
        '201':
          description: Successful creation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/organization.externalclient'
        '400':
          $ref: '#/components/responses/invalid_object_payload'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/permission_denied'
        '429':
          $ref: '#/components/responses/rate_limit_exceeded'
      parameters: []
      tags:
        - Externalclient
      summary: Create 'Externalclient'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/organization.externalclient'
  /organization/externalclientcontactperson/list/:
    get:
      responses:
        '200':
          description: Successful query
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: >-
                    #/components/schemas/organization.externalclientcontactperson
        '400':
          $ref: '#/components/responses/bad_query'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/permission_denied'
        '404':
          $ref: '#/components/responses/not_found'
        '429':
          $ref: '#/components/responses/rate_limit_exceeded'
      parameters:
        - name: _jsonl
          in: query
          required: false
          schema:
            type: boolean
        - name: _order_by
          in: query
          required: false
          schema:
            type: array
            items:
              type: string
          example: field_a,-field_b
        - name: _page
          in: query
          required: false
          schema:
            type: integer
            format: int32
            minimum: 1
            description: >-
              **Additional Validation Information:**


              This value must be set together with the following fields:
              `_page_size`
        - name: _page_size
          in: query
          required: false
          schema:
            type: integer
            format: int32
            description: |-
              **Additional Validation Information:**

              This value must be set together with the following fields: `_page`
        - name: _search
          in: query
          required: false
          schema:
            type: string
        - name: _slim
          in: query
          required: false
          schema:
            type: boolean
        - name: _statistics
          in: query
          required: false
          schema:
            type: boolean
        - name: customer_columns
          in: query
          required: false
          schema:
            type: array
            items: {}
        - name: global_realestates
          in: query
          required: false
          schema:
            type: array
            items: {}
        - name: global_segments
          in: query
          required: false
          schema:
            type: array
            items: {}
        - name: tags
          in: query
          required: false
          schema:
            type: array
            items: {}
        - name: corporate_name
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `contains`, Supports negation (via `!`): `True`


            Operator: `endswith`, Supports negation (via `!`): `True`


            Operator: `icontains`, Supports negation (via `!`): `True`


            Operator: `iendswith`, Supports negation (via `!`): `True`


            Operator: `iexact`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `istartswith`, Supports negation (via `!`): `True`


            Operator: `startswith`, Supports negation (via `!`): `True`
        - name: created_at
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `gt`, Supports negation (via `!`): `True`


            Operator: `gte`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `lt`, Supports negation (via `!`): `True`


            Operator: `lte`, Supports negation (via `!`): `True`
        - name: custom_id
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `contains`, Supports negation (via `!`): `True`


            Operator: `endswith`, Supports negation (via `!`): `True`


            Operator: `icontains`, Supports negation (via `!`): `True`


            Operator: `iendswith`, Supports negation (via `!`): `True`


            Operator: `iexact`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `istartswith`, Supports negation (via `!`): `True`


            Operator: `startswith`, Supports negation (via `!`): `True`
        - name: email
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `contains`, Supports negation (via `!`): `True`


            Operator: `endswith`, Supports negation (via `!`): `True`


            Operator: `icontains`, Supports negation (via `!`): `True`


            Operator: `iendswith`, Supports negation (via `!`): `True`


            Operator: `iexact`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `istartswith`, Supports negation (via `!`): `True`


            Operator: `startswith`, Supports negation (via `!`): `True`
        - name: external_client
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`
        - name: first_name
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `contains`, Supports negation (via `!`): `True`


            Operator: `endswith`, Supports negation (via `!`): `True`


            Operator: `icontains`, Supports negation (via `!`): `True`


            Operator: `iendswith`, Supports negation (via `!`): `True`


            Operator: `iexact`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `istartswith`, Supports negation (via `!`): `True`


            Operator: `startswith`, Supports negation (via `!`): `True`
        - name: id
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`
        - name: last_name
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `contains`, Supports negation (via `!`): `True`


            Operator: `endswith`, Supports negation (via `!`): `True`


            Operator: `icontains`, Supports negation (via `!`): `True`


            Operator: `iendswith`, Supports negation (via `!`): `True`


            Operator: `iexact`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `istartswith`, Supports negation (via `!`): `True`


            Operator: `startswith`, Supports negation (via `!`): `True`
        - name: name
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `contains`, Supports negation (via `!`): `True`


            Operator: `endswith`, Supports negation (via `!`): `True`


            Operator: `icontains`, Supports negation (via `!`): `True`


            Operator: `iendswith`, Supports negation (via `!`): `True`


            Operator: `iexact`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `istartswith`, Supports negation (via `!`): `True`


            Operator: `startswith`, Supports negation (via `!`): `True`
        - name: org_no
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `contains`, Supports negation (via `!`): `True`


            Operator: `endswith`, Supports negation (via `!`): `True`


            Operator: `icontains`, Supports negation (via `!`): `True`


            Operator: `iendswith`, Supports negation (via `!`): `True`


            Operator: `iexact`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `istartswith`, Supports negation (via `!`): `True`


            Operator: `startswith`, Supports negation (via `!`): `True`
        - name: organization
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`
        - name: phone_number
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `contains`, Supports negation (via `!`): `True`


            Operator: `endswith`, Supports negation (via `!`): `True`


            Operator: `icontains`, Supports negation (via `!`): `True`


            Operator: `iendswith`, Supports negation (via `!`): `True`


            Operator: `iexact`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `istartswith`, Supports negation (via `!`): `True`


            Operator: `startswith`, Supports negation (via `!`): `True`
        - name: ssn
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `contains`, Supports negation (via `!`): `True`


            Operator: `endswith`, Supports negation (via `!`): `True`


            Operator: `icontains`, Supports negation (via `!`): `True`


            Operator: `iendswith`, Supports negation (via `!`): `True`


            Operator: `iexact`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `istartswith`, Supports negation (via `!`): `True`


            Operator: `startswith`, Supports negation (via `!`): `True`
        - name: title
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `contains`, Supports negation (via `!`): `True`


            Operator: `endswith`, Supports negation (via `!`): `True`


            Operator: `icontains`, Supports negation (via `!`): `True`


            Operator: `iendswith`, Supports negation (via `!`): `True`


            Operator: `iexact`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `istartswith`, Supports negation (via `!`): `True`


            Operator: `startswith`, Supports negation (via `!`): `True`
      tags:
        - Externalclientcontactperson
      summary: List 'Externalclientcontactperson'
    post:
      responses:
        '201':
          description: Successful bulk create/update
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: >-
                    #/components/schemas/organization.externalclientcontactperson
        '400':
          $ref: '#/components/responses/invalid_list_payload'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/permission_denied'
        '429':
          $ref: '#/components/responses/rate_limit_exceeded'
      parameters: []
      tags:
        - Externalclientcontactperson
      summary: Bulk write 'Externalclientcontactperson'
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/organization.externalclientcontactperson'
  /organization/externalclientcontactperson/:
    post:
      responses:
        '201':
          description: Successful creation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/organization.externalclientcontactperson'
        '400':
          $ref: '#/components/responses/invalid_object_payload'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/permission_denied'
        '429':
          $ref: '#/components/responses/rate_limit_exceeded'
      parameters: []
      tags:
        - Externalclientcontactperson
      summary: Create 'Externalclientcontactperson'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/organization.externalclientcontactperson'
  /organization/externalclientcontactperson/{pk}/:
    patch:
      responses:
        '200':
          description: Successful update
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/organization.externalclientcontactperson'
        '400':
          $ref: '#/components/responses/invalid_object_payload'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/permission_denied'
        '429':
          $ref: '#/components/responses/rate_limit_exceeded'
      parameters:
        - name: pk
          in: path
          required: true
          schema:
            type: string
            writeOnly: true
      tags:
        - Externalclientcontactperson
      summary: Update 'Externalclientcontactperson'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/organization.externalclientcontactperson'
    delete:
      responses:
        '204':
          description: Successful deletion
        '400':
          $ref: '#/components/responses/invalid_object_state'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/permission_denied'
        '429':
          $ref: '#/components/responses/rate_limit_exceeded'
      parameters:
        - name: pk
          in: path
          required: true
          schema:
            type: string
            writeOnly: true
      tags:
        - Externalclientcontactperson
      summary: Delete 'Externalclientcontactperson'
    get:
      responses:
        '200':
          description: Successful selection
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/organization.externalclientcontactperson'
        '400':
          $ref: '#/components/responses/bad_query'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/permission_denied'
        '404':
          $ref: '#/components/responses/not_found'
        '429':
          $ref: '#/components/responses/rate_limit_exceeded'
      parameters:
        - name: pk
          in: path
          required: true
          schema:
            type: string
            writeOnly: true
      tags:
        - Externalclientcontactperson
      summary: Get 'Externalclientcontactperson'
  /organization/company/list/:
    get:
      responses:
        '200':
          description: Successful query
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/organization.company'
        '400':
          $ref: '#/components/responses/bad_query'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/permission_denied'
        '404':
          $ref: '#/components/responses/not_found'
        '429':
          $ref: '#/components/responses/rate_limit_exceeded'
      parameters:
        - name: _jsonl
          in: query
          required: false
          schema:
            type: boolean
        - name: _order_by
          in: query
          required: false
          schema:
            type: array
            items:
              type: string
          example: field_a,-field_b
        - name: _page
          in: query
          required: false
          schema:
            type: integer
            format: int32
            minimum: 1
            description: >-
              **Additional Validation Information:**


              This value must be set together with the following fields:
              `_page_size`
        - name: _page_size
          in: query
          required: false
          schema:
            type: integer
            format: int32
            description: |-
              **Additional Validation Information:**

              This value must be set together with the following fields: `_page`
        - name: _search
          in: query
          required: false
          schema:
            type: string
        - name: _slim
          in: query
          required: false
          schema:
            type: boolean
        - name: _statistics
          in: query
          required: false
          schema:
            type: boolean
        - name: customer_columns
          in: query
          required: false
          schema:
            type: array
            items: {}
        - name: global_realestates
          in: query
          required: false
          schema:
            type: array
            items: {}
        - name: global_segments
          in: query
          required: false
          schema:
            type: array
            items: {}
        - name: has_brf_company
          in: query
          required: false
          schema: {}
        - name: tags
          in: query
          required: false
          schema:
            type: array
            items: {}
        - name: auto_confirm_bookkeeping_after_days
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `gt`, Supports negation (via `!`): `True`


            Operator: `gte`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `lt`, Supports negation (via `!`): `True`


            Operator: `lte`, Supports negation (via `!`): `True`
        - name: bookkeeping_locked_to
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `gt`, Supports negation (via `!`): `True`


            Operator: `gte`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `lt`, Supports negation (via `!`): `True`


            Operator: `lte`, Supports negation (via `!`): `True`
        - name: bookkeeping_month_start
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `gt`, Supports negation (via `!`): `True`


            Operator: `gte`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `lt`, Supports negation (via `!`): `True`


            Operator: `lte`, Supports negation (via `!`): `True`
        - name: bookkeeping_period_start
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `gt`, Supports negation (via `!`): `True`


            Operator: `gte`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `lt`, Supports negation (via `!`): `True`


            Operator: `lte`, Supports negation (via `!`): `True`
        - name: calculated_base_rent_vat_quota
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `gt`, Supports negation (via `!`): `True`


            Operator: `gte`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `lt`, Supports negation (via `!`): `True`


            Operator: `lte`, Supports negation (via `!`): `True`
        - name: calculated_usable_area_rentable
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `gt`, Supports negation (via `!`): `True`


            Operator: `gte`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `lt`, Supports negation (via `!`): `True`


            Operator: `lte`, Supports negation (via `!`): `True`
        - name: calculated_usable_area_rentable_base_rent_vat
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `gt`, Supports negation (via `!`): `True`


            Operator: `gte`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `lt`, Supports negation (via `!`): `True`


            Operator: `lte`, Supports negation (via `!`): `True`
        - name: created_at
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `gt`, Supports negation (via `!`): `True`


            Operator: `gte`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `lt`, Supports negation (via `!`): `True`


            Operator: `lte`, Supports negation (via `!`): `True`
        - name: custom_dimension_value
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `contains`, Supports negation (via `!`): `True`


            Operator: `endswith`, Supports negation (via `!`): `True`


            Operator: `icontains`, Supports negation (via `!`): `True`


            Operator: `iendswith`, Supports negation (via `!`): `True`


            Operator: `iexact`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `istartswith`, Supports negation (via `!`): `True`


            Operator: `startswith`, Supports negation (via `!`): `True`
        - name: custom_id
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `contains`, Supports negation (via `!`): `True`


            Operator: `endswith`, Supports negation (via `!`): `True`


            Operator: `icontains`, Supports negation (via `!`): `True`


            Operator: `iendswith`, Supports negation (via `!`): `True`


            Operator: `iexact`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `istartswith`, Supports negation (via `!`): `True`


            Operator: `startswith`, Supports negation (via `!`): `True`
        - name: fui
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `contains`, Supports negation (via `!`): `True`


            Operator: `endswith`, Supports negation (via `!`): `True`


            Operator: `icontains`, Supports negation (via `!`): `True`


            Operator: `iendswith`, Supports negation (via `!`): `True`


            Operator: `iexact`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `istartswith`, Supports negation (via `!`): `True`


            Operator: `startswith`, Supports negation (via `!`): `True`
        - name: gln13_number
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `contains`, Supports negation (via `!`): `True`


            Operator: `endswith`, Supports negation (via `!`): `True`


            Operator: `icontains`, Supports negation (via `!`): `True`


            Operator: `iendswith`, Supports negation (via `!`): `True`


            Operator: `iexact`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `istartswith`, Supports negation (via `!`): `True`


            Operator: `startswith`, Supports negation (via `!`): `True`
        - name: id
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`
        - name: initial_bookkeeping_period_shortened
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`
        - name: invoice_identifier
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `gt`, Supports negation (via `!`): `True`


            Operator: `gte`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `lt`, Supports negation (via `!`): `True`


            Operator: `lte`, Supports negation (via `!`): `True`
        - name: managed_by
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`
        - name: minimum_invoice_number
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `gt`, Supports negation (via `!`): `True`


            Operator: `gte`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `lt`, Supports negation (via `!`): `True`


            Operator: `lte`, Supports negation (via `!`): `True`
        - name: name
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `contains`, Supports negation (via `!`): `True`


            Operator: `endswith`, Supports negation (via `!`): `True`


            Operator: `icontains`, Supports negation (via `!`): `True`


            Operator: `iendswith`, Supports negation (via `!`): `True`


            Operator: `iexact`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `istartswith`, Supports negation (via `!`): `True`


            Operator: `startswith`, Supports negation (via `!`): `True`
        - name: org_no
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `contains`, Supports negation (via `!`): `True`


            Operator: `endswith`, Supports negation (via `!`): `True`


            Operator: `icontains`, Supports negation (via `!`): `True`


            Operator: `iendswith`, Supports negation (via `!`): `True`


            Operator: `iexact`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `istartswith`, Supports negation (via `!`): `True`


            Operator: `startswith`, Supports negation (via `!`): `True`
        - name: organization
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`
        - name: postal_address
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`
        - name: registered_address
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`
        - name: sni_number
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `contains`, Supports negation (via `!`): `True`


            Operator: `endswith`, Supports negation (via `!`): `True`


            Operator: `icontains`, Supports negation (via `!`): `True`


            Operator: `iendswith`, Supports negation (via `!`): `True`


            Operator: `iexact`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `istartswith`, Supports negation (via `!`): `True`


            Operator: `startswith`, Supports negation (via `!`): `True`
        - name: tax_registered
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`
        - name: vat_approved
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`
        - name: vat_code
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `contains`, Supports negation (via `!`): `True`


            Operator: `endswith`, Supports negation (via `!`): `True`


            Operator: `icontains`, Supports negation (via `!`): `True`


            Operator: `iendswith`, Supports negation (via `!`): `True`


            Operator: `iexact`, Supports negation (via `!`): `True`


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`


            Operator: `istartswith`, Supports negation (via `!`): `True`


            Operator: `startswith`, Supports negation (via `!`): `True`
        - name: visiting_address
          in: query
          required: false
          schema: {}
          description: >-
            Filter can be negated by adding a `!` to the end of the parameter
            name.






            **Additional operators:**


            Operator: `in`, Supports negation (via `!`): `True`


            Operator: `isnull`, Supports negation (via `!`): `True`
      tags:
        - Company
      summary: List 'Company'
    post:
      responses:
        '201':
          description: Successful bulk create/update
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/organization.company'
        '400':
          $ref: '#/components/responses/invalid_list_payload'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/permission_denied'
        '429':
          $ref: '#/components/responses/rate_limit_exceeded'
      parameters: []
      tags:
        - Company
      summary: Bulk write 'Company'
      requestBody:
        content:
          application/json:
            schema:
              type: array
              items:
                $ref: '#/components/schemas/organization.company'
  /organization/company/:
    post:
      responses:
        '201':
          description: Successful creation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/organization.company'
        '400':
          $ref: '#/components/responses/invalid_object_payload'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/permission_denied'
        '429':
          $ref: '#/components/responses/rate_limit_exceeded'
      parameters: []
      tags:
        - Company
      summary: Create 'Company'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/organization.company'
  /organization/company/{pk}/:
    get:
      responses:
        '200':
          description: Successful selection
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/organization.company'
        '400':
          $ref: '#/components/responses/bad_query'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/permission_denied'
        '404':
          $ref: '#/components/responses/not_found'
        '429':
          $ref: '#/components/responses/rate_limit_exceeded'
      parameters:
        - name: pk
          in: path
          required: true
          schema:
            type: string
            writeOnly: true
      tags:
        - Company
      summary: Get 'Company'
    patch:
      responses:
        '200':
          description: Successful update
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/organization.company'
        '400':
          $ref: '#/components/responses/invalid_object_payload'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/permission_denied'
        '429':
          $ref: '#/components/responses/rate_limit_exceeded'
      parameters:
        - name: pk
          in: path
          required: true
          schema:
            type: string
            writeOnly: true
      tags:
        - Company
      summary: Update 'Company'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/organization.company'
    delete:
      responses:
        '204':
          description: Successful deletion
        '400':
          $ref: '#/components/responses/invalid_object_state'
        '401':
          $ref: '#/components/responses/unauthorized'
        '403':
          $ref: '#/components/responses/permission_denied'
        '429':
          $ref: '#/components/responses/rate_limit_exceeded'
      parameters:
        - name: pk
          in: path
          required: true
          schema:
            type: string
            writeOnly: true
      tags:
        - Company
      summary: Delete 'Company'
components:
  securitySchemes:
    customer_id:
      type: apiKey
      in: header
      name: X-PIGELLO-CUSTOMER-ID
    application_id:
      type: apiKey
      in: header
      name: X-PIGELLO-APPLICATION-ID
    service_id:
      type: apiKey
      in: header
      name: X-PIGELLO-SERVICE-ID
    service_version_id:
      type: apiKey
      in: header
      name: X-PIGELLO-SERVICE-VERSION-ID
    client_ct:
      type: apiKey
      in: header
      name: X-PIGELLO-CLIENT-CT
    client_object_id:
      type: apiKey
      in: header
      name: X-PIGELLO-CLIENT-ENTITY
    client_secret:
      type: apiKey
      in: header
      name: X-PIGELLO-CLIENT-SECRET
  responses:
    not_found:
      description: Resource not found
    bad_query:
      description: Bad query/selection
    invalid_object_payload:
      description: Invalid payload
      content:
        application/json:
          schema: {}
    invalid_list_payload:
      description: Invalid payload
      content:
        application/json:
          schema:
            type: array
            items: {}
    invalid_object_state:
      description: Invalid state of object
      content:
        application/json:
          schema: {}
    permission_denied:
      description: Permission Denied
    unauthorized:
      description: Unauthorized
    rate_limit_exceeded:
      description: Rate limit exceeded
  schemas:
    organization.externalclient:
      properties:
        tags:
          readOnly: true
        id:
          type: string
          format: uuid
          nullable: false
          readOnly: true
          description: |-
            **Additional Validation Information:**

            Must be unique
        org_no:
          type: string
          minLength: 10
          maxLength: 11
          format: luhn
          nullable: true
        organization:
          type: object
          properties:
            id:
              type: string
              format: uuid
          nullable: true
          title: Organization
        customer_columns:
          readOnly: true
        custom_id:
          type: string
          maxLength: 128
          nullable: true
        visiting_address:
          type: object
          properties:
            id:
              type: string
              format: uuid
          nullable: true
          title: Address
        created_at:
          type: string
          format: date-time
          nullable: false
          readOnly: true
        fmi:
          type: string
          minLength: 17
          maxLength: 20
          nullable: true
        invoice_address:
          type: object
          properties:
            id:
              type: string
              format: uuid
          nullable: true
          title: Address
        invoice_email:
          type: string
          maxLength: 254
          format: email
          nullable: true
        name:
          type: string
          maxLength: 255
          nullable: false
      type: object
      required:
        - id
        - name
      description: 'Content Type: `organization.externalclient`'
    organization.externalclientcontactperson:
      properties:
        ssn:
          type: string
          minLength: 12
          maxLength: 13
          format: luhn
          nullable: true
        created_at:
          type: string
          format: date-time
          nullable: false
          readOnly: true
        id:
          type: string
          format: uuid
          nullable: false
          readOnly: true
          description: |-
            **Additional Validation Information:**

            Must be unique
        tags:
          readOnly: true
        custom_id:
          type: string
          maxLength: 128
          nullable: true
        name:
          type: string
          maxLength: 255
          nullable: false
        customer_columns:
          readOnly: true
        external_client:
          type: object
          properties:
            id:
              type: string
              format: uuid
          nullable: false
          title: Externalclient
        org_no:
          type: string
          minLength: 10
          maxLength: 11
          format: luhn
          nullable: true
        first_name:
          type: string
          maxLength: 255
          nullable: true
        email:
          type: string
          maxLength: 254
          format: email
          nullable: true
        organization:
          type: object
          properties:
            id:
              type: string
              format: uuid
          nullable: true
          title: Organization
        corporate_name:
          type: string
          maxLength: 255
          nullable: true
        phone_number:
          type: string
          maxLength: 36
          pattern: '''^\+?1?\d{7,15}$'''
          nullable: true
        title:
          type: string
          maxLength: 255
          nullable: false
        last_name:
          type: string
          maxLength: 255
          nullable: true
      type: object
      required:
        - id
        - name
        - external_client
        - title
      description: 'Content Type: `organization.externalclientcontactperson`'
    organization.company:
      properties:
        gln13_number:
          type: string
          minLength: 13
          maxLength: 14
          format: gln13
          nullable: true
        custom_dimension_value:
          type: string
          maxLength: 255
          nullable: true
        customer_columns:
          readOnly: true
        org_no:
          type: string
          minLength: 10
          maxLength: 11
          format: luhn
          nullable: false
        name:
          type: string
          maxLength: 255
          nullable: false
        fui:
          type: string
          minLength: 29
          maxLength: 32
          nullable: true
        tags:
          readOnly: true
        registered_address:
          type: object
          properties:
            id:
              type: string
              format: uuid
          nullable: true
          title: Address
        custom_id:
          type: string
          maxLength: 128
          nullable: true
        initial_bookkeeping_period_shortened:
          type: boolean
          nullable: true
          description: >-
            **Additional Validation Information:**


            This value must be set together with the following fields:
            `bookkeeping_period_start`
        sni_number:
          type: string
          maxLength: 6
          enum:
            - '20.520'
            - '78.300'
            - '68.310'
            - '79.900'
            - '96.090'
            - '32.910'
            - '46.630'
            - '20.59'
            - '20.160'
            - '42.110'
            - '13.300'
            - '47.722'
            - '23.410'
            - '93.119'
            - '32.300'
            - '82.990'
            - '53.201'
            - '84.300'
            - '58.290'
            - '43.130'
            - '16.292'
            - '47.820'
            - '31.021'
            - '8.120'
            - '10.890'
            - '85.591'
            - '47.250'
            - '63.120'
            - '86.905'
            - '46.432'
            - '45.204'
            - '46.431'
            - '69.203'
            - '10.511'
            - '14.390'
            - '69.103'
            - '46.470'
            - '86.221'
            - '46.410'
            - '47.994'
            - '10.840'
            - '16.231'
            - '50.302'
            - '84.232'
            - '27.310'
            - '49.319'
            - '23.620'
            - '25.710'
            - '46.492'
            - '43.342'
            - '96.011'
            - '47.522'
            - '24.430'
            - '16.233'
            - '93.120'
            - '47.610'
            - '47.890'
            - '29.101'
            - '53.203'
            - '2.300'
            - '15.200'
            - '01.230'
            - '13.922'
            - '46.370'
            - '8.990'
            - '96.012'
            - '52.211'
            - '33.130'
            - '82.190'
            - '35.140'
            - '61.300'
            - '85.600'
            - '10.620'
            - '22.210'
            - '28.290'
            - '47.210'
            - '13.910'
            - '28.940'
            - '30.920'
            - '17.123'
            - '86.904'
            - '23.190'
            - '16.240'
            - '85.410'
            - '25.940'
            - '47.916'
            - '01.302'
            - '12.000'
            - '43.222'
            - '47.299'
            - '46.640'
            - '46.761'
            - '55.201'
            - '93.290'
            - '46.731'
            - '10.830'
            - '8.910'
            - '32.502'
            - '46.142'
            - '95.240'
            - '47.772'
            - '29.320'
            - '13.100'
            - '50.102'
            - '68.202'
            - '25.290'
            - '46.691'
            - '3.120'
            - '10.612'
            - '24.450'
            - '24.200'
            - '47.711'
            - '01.150'
            - '28.240'
            - '17.121'
            - '46.190'
            - '10.721'
            - '77.210'
            - '47.915'
            - '86.101'
            - '52.219'
            - '47.991'
            - '10.822'
            - '01.270'
            - '84.125'
            - '37.000'
            - '47.650'
            - '46.380'
            - '79.110'
            - '56.294'
            - '01.410'
            - '46.450'
            - '01.160'
            - '85.100'
            - '80.100'
            - '01.430'
            - '88.102'
            - '85.599'
            - '87.203'
            - '47.911'
            - '13.990'
            - '39.000'
            - '47.220'
            - '90.030'
            - '70.210'
            - '26.600'
            - '52.249'
            - '46.110'
            - '46.699'
            - '51.211'
            - '43.999'
            - '94.111'
            - '68.201'
            - '19.100'
            - '20.200'
            - '46.480'
            - '88.910'
            - '11.040'
            - '46.762'
            - '2.401'
            - '49.311'
            - '94.120'
            - '77.220'
            - '84.133'
            - '27.120'
            - '77.110'
            - '85.592'
            - '46.420'
            - '01.210'
            - '20.510'
            - '22.110'
            - '74.103'
            - '72.110'
            - '47.782'
            - '47.792'
            - '87.302'
            - '45.320'
            - '74.300'
            - '8.930'
            - '20.140'
            - '52.230'
            - '85.201'
            - '01.640'
            - '23.650'
            - '49.500'
            - '82.910'
            - '60.200'
            - '46.210'
            - '13.960'
            - '46.170'
            - '46.435'
            - '24.320'
            - '53.202'
            - '47.714'
            - '50.402'
            - '94.910'
            - '23.490'
            - '86.901'
            - '93.210'
            - '38.110'
            - '46.710'
            - '46.320'
            - '53.100'
            - '43.290'
            - '47.630'
            - '31.011'
            - '55.103'
            - '17.111'
            - '46.732'
            - '26.120'
            - '84.124'
            - '43.991'
            - '23.110'
            - '23.310'
            - '47.913'
            - '59.140'
            - '24.420'
            - '23.440'
            - '22.220'
            - '59.110'
            - '26.110'
            - '85.593'
            - '49.100'
            - '46.180'
            - '46.499'
            - '49.200'
            - '29.200'
            - '47.917'
            - '28.950'
            - '46.150'
            - '65.111'
            - '68.209'
            - '47.761'
            - '10.112'
            - '73.120'
            - '46.521'
            - '32.120'
            - '46.141'
            - '17.113'
            - '32.200'
            - '62.010'
            - '24.310'
            - '85.324'
            - '20.410'
            - '77.400'
            - '13.200'
            - '17.240'
            - '42.120'
            - '71.200'
            - '35.300'
            - '42.210'
            - '24.540'
            - '72.190'
            - '18.122'
            - '85.594'
            - '46.433'
            - '91.020'
            - '58.131'
            - '24.460'
            - '45.201'
            - '46.340'
            - '98.200'
            - '5.200'
            - '64.999'
            - '15.120'
            - '13.921'
            - '18.140'
            - '01.140'
            - '69.101'
            - '58.110'
            - '10.611'
            - '71.121'
            - '28.110'
            - '23.630'
            - '47.111'
            - '96.021'
            - '15.110'
            - '47.112'
            - '43.221'
            - '51.220'
            - '20.170'
            - '73.111'
            - '85.530'
            - '85.510'
            - '47.721'
            - '25.500'
            - '24.440'
            - '46.772'
            - '17.290'
            - '77.320'
            - '35.130'
            - '17.129'
            - '46.160'
            - '60.100'
            - '74.202'
            - '32.990'
            - '66.110'
            - '84.114'
            - '47.242'
            - '78.200'
            - '10.130'
            - '10.519'
            - '22.190'
            - '55.101'
            - '85.322'
            - '88.991'
            - '25.610'
            - '74.204'
            - '97.000'
            - '25.920'
            - '47.740'
            - '13.930'
            - '26.700'
            - '32.400'
            - '25.910'
            - '85.323'
            - '11.060'
            - '31.012'
            - '91.030'
            - '47.622'
            - '28.130'
            - '25.120'
            - '47.540'
            - '56.100'
            - '74.201'
            - '50.202'
            - '01.462'
            - '24.510'
            - '25.210'
            - '84.131'
            - '10.821'
            - '64.201'
            - '46.522'
            - '47.430'
            - '62.090'
            - '46.440'
            - '84.139'
            - '81.300'
            - '86.909'
            - '58.132'
            - '01.131'
            - '20.600'
            - '24.520'
            - '73.119'
            - '16.210'
            - '47.592'
            - '85.311'
            - '64.202'
            - '49.410'
            - '11.010'
            - '43.110'
            - '32.110'
            - '10.850'
            - '86.902'
            - '26.800'
            - '10.860'
            - '10.320'
            - '35.230'
            - '64.920'
            - '98.100'
            - '46.660'
            - '27.330'
            - '5.100'
            - '77.340'
            - '47.992'
            - '47.789'
            - '23.120'
            - '58.190'
            - '11.020'
            - '64.991'
            - '30.200'
            - '01.110'
            - '41.200'
            - '91.040'
            - '50.201'
            - '87.902'
            - '01.610'
            - '16.239'
            - '8.110'
            - '95.230'
            - '50.401'
            - '66.290'
            - '10.722'
            - '01.290'
            - '84.231'
            - '90.040'
            - '66.220'
            - '66.309'
            - '46.750'
            - '68.100'
            - '77.290'
            - '80.300'
            - '84.112'
            - '38.319'
            - '7.100'
            - '47.993'
            - '47.999'
            - '84.222'
            - '85.522'
            - '18.130'
            - '01.440'
            - '28.140'
            - '25.999'
            - '56.300'
            - '45.203'
            - '26.400'
            - '47.713'
            - '64.910'
            - '8.920'
            - '10.390'
            - '80.200'
            - '47.594'
            - '16.220'
            - '24.330'
            - '81.222'
            - '91.012'
            - '46.390'
            - '46.771'
            - '84.122'
            - '3.119'
            - '24.530'
            - '30.990'
            - '64.301'
            - '14.190'
            - '96.030'
            - '01.500'
            - '21.100'
            - '22.290'
            - '17.211'
            - '32.501'
            - '46.620'
            - '10.410'
            - '85.521'
            - '16.101'
            - '27.900'
            - '61.900'
            - '87.301'
            - '84.115'
            - '31.030'
            - '85.202'
            - '47.241'
            - '01.472'
            - '01.630'
            - '82.300'
            - '17.220'
            - '26.300'
            - '11.030'
            - '49.420'
            - '46.230'
            - '63.110'
            - '35.120'
            - '47.762'
            - '94.112'
            - '47.260'
            - '62.030'
            - '21.200'
            - '38.220'
            - '52.220'
            - '65.120'
            - '77.120'
            - '24.410'
            - '52.290'
            - '84.240'
            - '35.110'
            - '42.220'
            - '43.911'
            - '11.070'
            - '47.791'
            - '26.510'
            - '86.212'
            - '88.994'
            - '63.990'
            - '88.995'
            - '10.310'
            - '33.160'
            - '63.910'
            - '84.113'
            - '61.100'
            - '14.120'
            - '90.020'
            - '93.130'
            - '28.410'
            - '17.112'
            - '64.992'
            - '93.199'
            - '55.900'
            - '73.112'
            - '27.510'
            - '16.103'
            - '86.103'
            - '20.530'
            - '14.110'
            - '96.022'
            - '77.390'
            - '93.114'
            - '47.230'
            - '43.390'
            - '3.210'
            - '47.593'
            - '51.101'
            - '59.120'
            - '74.101'
            - '72.200'
            - '18.121'
            - '46.692'
            - '31.090'
            - '46.310'
            - '70.220'
            - '94.200'
            - '84.121'
            - '86.211'
            - '66.190'
            - '46.650'
            - '77.350'
            - '94.990'
            - '58.120'
            - '47.783'
            - '47.914'
            - '25.991'
            - '47.510'
            - '23.709'
            - '87.901'
            - '30.110'
            - '47.595'
            - '20.130'
            - '47.523'
            - '52.241'
            - '6.100'
            - '30.400'
            - '74.203'
            - '84.233'
            - '23.510'
            - '20.110'
            - '42.910'
            - '46.769'
            - '46.610'
            - '46.900'
            - '33.140'
            - '43.310'
            - '10.730'
            - '28.300'
            - '51.102'
            - '55.102'
            - '47.300'
            - '47.771'
            - '26.520'
            - '47.919'
            - '11.050'
            - '38.312'
            - '18.110'
            - '59.200'
            - '32.130'
            - '01.492'
            - '38.320'
            - '88.993'
            - '46.350'
            - '23.140'
            - '46.773'
            - '35.210'
            - '36.002'
            - '17.122'
            - '47.641'
            - '47.784'
            - '87.202'
            - '47.420'
            - '01.491'
            - '45.110'
            - '94.920'
            - '64.190'
            - '29.310'
            - '36.001'
            - '33.190'
            - '71.123'
            - '38.311'
            - '01.450'
            - '10.200'
            - '47.730'
            - '01.420'
            - '27.320'
            - '23.200'
            - '45.400'
            - '01.240'
            - '66.120'
            - '95.210'
            - '13.940'
            - '2.109'
            - '38.210'
            - '43.210'
            - '86.222'
            - '23.690'
            - '86.102'
            - '10.810'
            - '87.100'
            - '10.111'
            - '84.210'
            - '43.120'
            - '26.200'
            - '65.119'
            - '01.220'
            - '10.910'
            - '01.260'
            - '01.700'
            - '20.420'
            - '61.200'
            - '88.992'
            - '74.102'
            - '01.499'
            - '46.720'
            - '01.191'
            - '9.100'
            - '93.113'
            - '50.301'
            - '47.912'
            - '29.102'
            - '01.135'
            - '33.120'
            - '95.220'
            - '66.210'
            - '93.111'
            - '93.112'
            - '86.903'
            - '25.300'
            - '24.340'
            - '65.300'
            - '3.220'
            - '79.120'
            - '2.101'
            - '2.200'
            - '52.100'
            - '28.490'
            - '71.124'
            - '28.230'
            - '56.293'
            - '65.200'
            - '56.299'
            - '82.920'
            - '87.201'
            - '28.220'
            - '55.300'
            - '46.240'
            - '47.643'
            - '46.491'
            - '3.111'
            - '01.280'
            - '27.200'
            - '47.521'
            - '81.290'
            - '10.710'
            - '28.920'
            - '46.330'
            - '28.210'
            - '46.460'
            - '56.291'
            - '45.192'
            - '14.140'
            - '64.110'
            - '68.203'
            - '16.102'
            - '35.220'
            - '69.102'
            - '27.520'
            - '28.990'
            - '43.223'
            - '91.011'
            - '6.200'
            - '13.950'
            - '58.140'
            - '27.400'
            - '23.640'
            - '25.620'
            - '74.900'
            - '22.230'
            - '2.409'
            - '30.910'
            - '46.510'
            - '73.200'
            - '01.134'
            - '28.150'
            - '10.420'
            - '01.250'
            - '59.130'
            - '24.100'
            - '47.199'
            - '46.741'
            - '42.990'
            - '16.293'
            - '25.930'
            - '47.410'
            - '14.310'
            - '47.781'
            - '56.292'
            - '50.101'
            - '85.312'
            - '68.320'
            - '43.341'
            - '10.520'
            - '01.199'
            - '28.910'
            - '41.100'
            - '47.642'
            - '69.201'
            - '20.120'
            - '23.130'
            - '7.290'
            - '42.130'
            - '77.330'
            - '01.461'
            - '01.120'
            - '69.202'
            - '23.999'
            - '70.100'
            - '71.129'
            - '45.202'
            - '71.122'
            - '10.120'
            - '30.300'
            - '84.123'
            - '25.400'
            - '46.120'
            - '68.204'
            - '30.120'
            - '47.191'
            - '33.200'
            - '25.720'
            - '28.930'
            - '43.330'
            - '47.532'
            - '81.210'
            - '85.420'
            - '47.810'
            - '64.309'
            - '82.110'
            - '46.220'
            - '85.321'
            - '01.301'
            - '28.120'
            - '17.230'
            - '20.150'
            - '88.101'
            - '33.110'
            - '7.210'
            - '47.712'
            - '45.310'
            - '90.010'
            - '92.000'
            - '01.133'
            - '47.291'
            - '58.210'
            - '23.320'
            - '47.750'
            - '78.100'
            - '46.434'
            - '95.250'
            - '84.111'
            - '82.200'
            - '28.250'
            - '47.531'
            - '43.912'
            - '01.132'
            - '46.360'
            - '25.730'
            - '95.110'
            - '71.110'
            - '23.610'
            - '18.200'
            - '43.229'
            - '45.191'
            - '16.232'
            - '23.430'
            - '47.793'
            - '56.210'
            - '31.022'
            - '46.742'
            - '2.102'
            - '84.221'
            - '01.471'
            - '20.300'
            - '33.150'
            - '19.200'
            - '23.701'
            - '93.191'
            - '62.020'
            - '66.301'
            - '23.520'
            - '14.130'
            - '51.212'
            - '84.223'
            - '81.100'
            - '10.920'
            - '55.202'
            - '27.110'
            - '49.390'
            - '9.900'
            - '95.290'
            - '46.130'
            - '14.200'
            - '84.132'
            - '77.310'
            - '49.320'
            - '84.250'
            - '95.120'
            - '01.620'
            - '81.221'
            - '23.420'
            - '86.230'
            - '47.591'
            - '17.219'
            - '33.170'
            - '23.991'
            - '96.040'
            - '64.993'
            - '99.000'
            - '28.960'
            - '16.291'
            - '25.110'
            - '47.715'
            - '43.320'
            - '75.000'
            - '23.910'
            - '38.120'
            - '47.621'
          nullable: true
        minimum_invoice_number:
          type: integer
          format: int32
          maximum: 9223372036854776000
          nullable: true
        vat_code:
          type: string
          minLength: 14
          maxLength: 14
          nullable: true
        tax_registered:
          type: boolean
          nullable: true
        calculated_base_rent_vat_quota:
          type: number
          format: float
          nullable: false
          readOnly: true
        invoice_identifier:
          type: integer
          format: int32
          maximum: 9999
          nullable: true
        organization:
          type: object
          properties:
            id:
              type: string
              format: uuid
          nullable: true
          title: Organization
        vat_approved:
          type: boolean
          nullable: true
        calculated_usable_area_rentable_base_rent_vat:
          type: number
          format: float
          nullable: false
          readOnly: true
        created_at:
          type: string
          format: date-time
          nullable: false
          readOnly: true
        managed_by:
          type: object
          properties:
            id:
              type: string
              format: uuid
          nullable: true
          title: Externalclient
        auto_confirm_bookkeeping_after_days:
          type: integer
          format: int32
          maximum: 125
          nullable: true
        bookkeeping_locked_to:
          type: string
          format: date
          nullable: true
        calculated_usable_area_rentable:
          type: number
          format: float
          nullable: false
          readOnly: true
        logo:
          type: object
          properties:
            name:
              type: string
              description: wanted filename of the file
            md5_hash:
              type: string
              description: base64 encoded md5hash of the file
            get:
              type: string
              format: url
            post:
              type: object
              properties:
                url:
                  type: string
                  format: url
                fields:
                  type: object
                  additionalProperties: true
          nullable: true
        postal_address:
          type: object
          properties:
            id:
              type: string
              format: uuid
          nullable: true
          title: Address
        bookkeeping_month_start:
          type: integer
          format: int32
          minimum: 1
          maximum: 12
          nullable: false
        id:
          type: string
          format: uuid
          nullable: false
          readOnly: true
          description: |-
            **Additional Validation Information:**

            Must be unique
        visiting_address:
          type: object
          properties:
            id:
              type: string
              format: uuid
          nullable: true
          title: Address
        bookkeeping_period_start:
          type: string
          format: date
          nullable: true
          description: >-
            **Additional Validation Information:**


            This value must be set together with the following fields:
            `initial_bookkeeping_period_shortened`
      type: object
      required:
        - org_no
        - name
        - id
      description: 'Content Type: `organization.company`'
x-tagGroups: []
info:
  title: Organization
  version: 2.0.0
  description: The 'Organization' application of the Core API
