openapi: 3.1.0
info:
  title: GetData
  x-metadata:
    status: published
    tags:
      - Sweden
  description: >-
    The GetData REST API provides access to comprehensive company and consumer
    data from Creditsafe Sweden. This service retrieves detailed information
    based on configurable blocks set up by Creditsafe's integration team.
    Approximately 500 parameters are available for companies and 175 for
    consumers.
  version: 1.0.0
servers:
  - url: https://se-webservice.apps.creditsafe.com
    description: Production server
  - url: https://se-webservice-sandbox.apps.creditsafe.com
    description: Sandbox server
tags:
  - name: Data Retrieval
    description: Operations for retrieving company and consumer data
  - name: Health Check
    description: Service health check endpoint
paths:
  /getdata:
    get:
      tags:
        - Data Retrieval
      operationId: getCompanyOrConsumerData
      summary: Retrieve Company Or Consumer Data
      description: >-
        Retrieves comprehensive company or consumer data based on your
        configured GetData block. The response structure depends on which
        sections are included in your block configuration. Approximately 500
        parameters are available for companies and 175 for consumers.
      parameters:
        - name: searchnumber
          in: query
          required: true
          description: >-
            Personal number or organization number (up to 12 digits). The
            consumer and company requests are identical, the only difference is
            the block used and the search number.
          schema:
            type: string
            maxLength: 12
            example: '5565144408'
        - name: blockname
          in: query
          required: true
          description: >-
            Name of the GetData block that specifies which parameters to return.
            Blocks are setup for you by Creditsafe's integration team based upon
            your request.
          schema:
            type: string
            example: FinancialSummary
        - name: transactionid
          in: query
          required: false
          description: >-
            Customer's internal information (customer/invoice number).
            Recommended to use this field as it can be helpful in tracking your
            call in Creditsafe logs.
          schema:
            type: string
            maxLength: 14
            example: INV-12345
        - name: language
          in: query
          required: false
          description: >-
            Sets the language of the response. This will also impact error
            response language. Available languages - sv (Swedish) or en
            (English).
          schema:
            type: string
            enum:
              - en
              - sv
            default: en
            example: en
        - name: lodfreetext
          in: query
          required: false
          description: >-
            Optional. Any text to be included on the letter of disclosure. The
            text string sent in this parameter will be added as free text on the
            letter of disclosure. If no letter is sent, the text will be
            ignored. If multiple requests are made on the same search object
            (organization or person) on the same day, all unique texts will be
            added to the letter (up to 500 characters). All letters of
            disclosure are sent in Swedish.
          schema:
            type: string
            maxLength: 500
            example: Credit application reference 2024-001
        - name: legacyformat
          in: query
          required: false
          description: >-
            If you leave this parameter out or send a false value you will get
            the new format used in Creditsafe REST APIs. Pass true into this
            parameter if you want the API to respond with the old SOAP parameter
            format from previous versions.
          schema:
            type: boolean
            default: false
      responses:
        '200':
          description: Successful response with company or consumer data
          content:
            application/json:
              schema:
                oneOf:
                  - $ref: '#/components/schemas/GetDataCompanyResponse'
                  - $ref: '#/components/schemas/GetDataConsumerResponse'
              examples:
                companyExample:
                  summary: Company
                  value:
                    metaData:
                      apiLogId: 2098765
                      timeStamp: '2026-06-12T14:30:00'
                      resource: GetData (1217)
                      method: GET
                      requestUrl: >-
                        https://se-webservice.apps.creditsafe.com/getdata?blockname=COMPANY_BLOCK&language=sv&searchnumber=5569876543&transactionid=TX789
                      lodCreated: true
                    report:
                      basicInformation:
                        organizationNumber: '5569876543'
                        safeNumber: SE00987654
                        cfarNumber: 34567890
                        companyName: Example Trading AB
                        formedDate: '2000-03-15T00:00:00'
                        incorporationDate: '2000-06-01T00:00:00'
                        companyStatus:
                          date: '2010-05-12T00:00:00'
                          status: Aktivt
                        companyType:
                          code: AB
                          description: Privat aktiebolag
                          legalCode: 49
                      contactInformation:
                        registeredAddress:
                          fullAddress: Maria Svensson Storgatan 25
                          zipCode: '11422'
                          town: STOCKHOLM
                        phone: 08-1234567
                        email: info@example.se
                      creditScore:
                        score: 85
                        description: Låg risk
                        pod: 0.1234
                        limit: 8500000
                consumerExample:
                  summary: Consumer
                  value:
                    metaData:
                      apiLogId: 2098766
                      timeStamp: '2026-06-12T14:35:00'
                      resource: GetData (1217)
                      method: GET
                      requestUrl: >-
                        https://se-webservice.apps.creditsafe.com/getdata?blockname=CONSUMER_BLOCK&language=sv&searchnumber=198505159999&transactionid=TX790
                      lodCreated: true
                    report:
                      basicInformation:
                        personalIdentificationNumber: 198505159999
                        firstName: Anna Marie
                        givenName: Marie
                        lastName: Svensson Eriksson
                        age: 41
                        gender: Kvinna
                        protected: false
                        emigrated: false
                        civilStatus:
                          code: 2
                          description: Gift
                        ownsRealEstate: true
                        businessOwner: false
                      contactInformation:
                        registeredAddress:
                          fullAddress: Erik Svensson Drottninggatan 15 Lgh 803
                          zipCode: '11152'
                          town: Stockholm
                      creditScore:
                        score: 45
                        description: Medel
        '400':
          description: Bad request - Invalid parameters or missing required fields
          content:
            application/json:
              schema:
                type: object
                required:
                  - metaData
                  - error
                properties:
                  metaData:
                    type: object
                    properties:
                      apiLogId:
                        type: integer
                      timeStamp:
                        type: string
                        format: date-time
                      resource:
                        type: string
                      method:
                        type: string
                      requestUrl:
                        type: string
                      lodCreated:
                        type: boolean
                  error:
                    type: object
                    required:
                      - code
                      - text
                    properties:
                      code:
                        type: string
                      text:
                        type: string
                      detail:
                        type: string
                        description: >-
                          Additional error details. This property is optional
                          and may be omitted entirely.
              examples:
                wrongBlock:
                  summary: Wrong block name
                  value:
                    metaData:
                      apiLogId: 547632
                      timeStamp: '2026-07-21T09:13:01'
                      resource: GetData (1217)
                      method: GET
                      requestUrl: >-
                        https://se-webservice.apps.creditsafe.com/getdata?blockname=COMPANYX&searchnumber=5569565855
                      lodCreated: false
                    error:
                      code: '11'
                      text: Wrong block
        '401':
          description: Unauthorized - Missing or invalid authentication token
          content:
            application/json:
              schema:
                type: object
                required:
                  - metaData
                  - error
                properties:
                  metaData:
                    type: object
                    properties:
                      apiLogId:
                        type: integer
                      timeStamp:
                        type: string
                        format: date-time
                      resource:
                        type: string
                      method:
                        type: string
                      requestUrl:
                        type: string
                      lodCreated:
                        type: boolean
                  error:
                    type: object
                    required:
                      - code
                      - text
                    properties:
                      code:
                        type: string
                      text:
                        type: string
                      detail:
                        type: string
                        description: >-
                          Additional error details. This property is optional
                          and may be omitted entirely.
        '403':
          description: Forbidden - Invalid or expired token
          content:
            application/json:
              schema:
                type: object
                required:
                  - metaData
                  - error
                properties:
                  metaData:
                    type: object
                    properties:
                      apiLogId:
                        type: integer
                      timeStamp:
                        type: string
                        format: date-time
                      resource:
                        type: string
                      method:
                        type: string
                      requestUrl:
                        type: string
                      lodCreated:
                        type: boolean
                  error:
                    type: object
                    required:
                      - code
                      - text
                    properties:
                      code:
                        type: string
                      text:
                        type: string
                      detail:
                        type: string
                        description: >-
                          Additional error details. This property is optional
                          and may be omitted entirely.
        '404':
          description: Not found - Person or company not found in database
          content:
            application/json:
              schema:
                type: object
                required:
                  - metaData
                  - error
                properties:
                  metaData:
                    type: object
                    properties:
                      apiLogId:
                        type: integer
                      timeStamp:
                        type: string
                        format: date-time
                      resource:
                        type: string
                      method:
                        type: string
                      requestUrl:
                        type: string
                      lodCreated:
                        type: boolean
                  error:
                    type: object
                    required:
                      - code
                      - text
                    properties:
                      code:
                        type: string
                      text:
                        type: string
                      detail:
                        type: string
                        description: >-
                          Additional error details. This property is optional
                          and may be omitted entirely.
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                required:
                  - metaData
                  - error
                properties:
                  metaData:
                    type: object
                    properties:
                      apiLogId:
                        type: integer
                      timeStamp:
                        type: string
                        format: date-time
                      resource:
                        type: string
                      method:
                        type: string
                      requestUrl:
                        type: string
                      lodCreated:
                        type: boolean
                  error:
                    type: object
                    required:
                      - code
                      - text
                    properties:
                      code:
                        type: string
                      text:
                        type: string
                      detail:
                        type: string
                        description: >-
                          Additional error details. This property is optional
                          and may be omitted entirely.
        '503':
          description: >-
            Service Unavailable - External service error (e.g., real estate data
            unavailable)
          content:
            application/json:
              schema:
                type: object
                required:
                  - metaData
                  - error
                properties:
                  metaData:
                    type: object
                    properties:
                      apiLogId:
                        type: integer
                      timeStamp:
                        type: string
                        format: date-time
                      resource:
                        type: string
                      method:
                        type: string
                      requestUrl:
                        type: string
                      lodCreated:
                        type: boolean
                  error:
                    type: object
                    required:
                      - code
                      - text
                    properties:
                      code:
                        type: string
                        example: RE99
                      text:
                        type: string
                        example: Kan inte hämta fastighetsdata
                      detail:
                        type: string
                        description: >-
                          Additional error details. This property is optional
                          and may be omitted entirely.
  /getdata/health:
    get:
      tags:
        - Health Check
      operationId: healthCheck
      summary: Health Check
      description: Returns the health status of the GetData service.
      responses:
        '200':
          description: Service is healthy
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    description: Health status of the service
                    example: healthy
                  service:
                    type: string
                    description: Name of the service
                    example: GetData (1217)
                  timestamp:
                    type: string
                    format: date-time
                    description: ISO 8601 timestamp of the health check
                    example: '2025-09-15T13:27:14.3794136Z'
                  version:
                    type: string
                    description: Service version/environment
                    example: production
              examples:
                healthy:
                  summary: Service is healthy
                  value:
                    status: healthy
                    service: GetData (1217)
                    timestamp: '2025-09-15T13:27:14.3794136Z'
                    version: production
components:
  securitySchemes:
    bearerToken:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        This API requires authentication for access to protected endpoints.
        Authentication is performed by providing a valid JWT token in the
        `Authorization` header of each request.
  schemas:
    GetDataCompanyResponse:
      type: object
      title: Company
      description: Complete company data response from GetData API
      properties:
        metaData:
          type: object
          description: API call metadata information
          properties:
            apiLogId:
              type: integer
              description: Unique identifier for this API call in Creditsafe logs
              example: 2098765
            timeStamp:
              type: string
              format: date-time
              description: Date and time when the API call was processed
              example: '2026-06-12T14:30:00'
            resource:
              type: string
              description: Name and identifier of the GetData resource used
              example: GetData (1217)
            method:
              type: string
              description: HTTP method used for the request
              example: GET
            requestUrl:
              type: string
              description: Complete URL of the API request including all parameters
              example: >-
                https://se-webservice.apps.creditsafe.com/getdata?blockname=COMPANY_BLOCK&language=sv&searchnumber=5569876543&transactionid=TX789
            lodCreated:
              type: boolean
              description: >-
                Indicates whether a Letter of Disclosure (LOD) was created for
                this request
              example: true
        report:
          type: object
          description: Contains all company data sections based on the configured block
          properties:
            basicInformation:
              type: object
              description: Basic company identification and registration information
              properties:
                organizationNumber:
                  type: string
                  description: Swedish organization number (10 digits)
                  example: '5569876543'
                safeNumber:
                  type: string
                  description: Creditsafe's unique identifier for this company
                  example: SE00987654
                cfarNumber:
                  type: integer
                  description: CFAR (Creditsafe Financial Analytical Report) number
                  example: 34567890
                companyName:
                  type: string
                  description: Current registered company name
                  example: Example Trading AB
                latestNameRegistration:
                  type: string
                  description: Most recent trade name registration
                  example: Handelsbolaget Norr
                previousCompanyName:
                  type: string
                  description: Previous company name before latest change
                  example: Example AB
                ownsRealEstate:
                  type: boolean
                  description: Indicates whether the company owns real estate
                  example: true
                nameRegistrations:
                  type: array
                  description: Historical list of registered trade names
                  items:
                    type: object
                    properties:
                      orderNumber:
                        type: integer
                        description: Sequential order number for this registration
                        example: 1
                      name:
                        type: string
                        description: Registered trade name
                        example: Handelsbolaget Norr
                      oldName:
                        type: string
                        description: Previous name before this registration
                        example: Handelsbolaget Syd
                      registrationDate:
                        type: string
                        format: date-time
                        description: Date when this name was registered
                        example: '2015-03-20T00:00:00'
                      deregistrationDate:
                        type: string
                        format: date-time
                        description: Date when this name was deregistered
                        example: '2022-08-15T00:00:00'
                      address:
                        type: object
                        description: Address associated with this name registration
                        properties:
                          town:
                            type: string
                            description: Town/city of the registered address
                            example: Stockholm
                      status:
                        type: object
                        description: Status information for this name registration
                formedDate:
                  type: string
                  format: date-time
                  description: Date when the company was formed
                  example: '2000-03-15T00:00:00'
                incorporationDate:
                  type: string
                  format: date-time
                  description: >-
                    Date when the company was officially incorporated and
                    registered
                  example: '2000-06-01T00:00:00'
                companyStatus:
                  type: object
                  description: Current operational status of the company
                  properties:
                    date:
                      type: string
                      format: date-time
                      description: Date of the status change
                      example: '2010-05-12T00:00:00'
                    status:
                      type: string
                      description: Current status description
                      example: Aktivt
                    code:
                      type: integer
                      description: Numeric code for the status type
                      example: 141
                    description:
                      type: string
                      description: Detailed description of the status
                      example: Fusion avslutad
                companyType:
                  type: object
                  description: Legal form of the company
                  properties:
                    code:
                      type: string
                      description: Short code for the company type
                      example: AB
                    description:
                      type: string
                      description: Full description of the company type
                      example: Privat aktiebolag
                    legalCode:
                      type: integer
                      description: Numeric legal code for the company type
                      example: 49
                industry:
                  type: object
                  description: Industry classification information
                  properties:
                    mainIndustry:
                      type: object
                      description: Primary business activity
                      properties:
                        code:
                          type: string
                          description: >-
                            SNI code (Swedish Standard Industrial
                            Classification)
                          example: '46900'
                        description:
                          type: string
                          description: Description of the main industry
                          example: Partihandel med diverse varor
                    secondaryActivities:
                      type: array
                      description: Additional business activities
                      items:
                        type: object
                        properties:
                          code:
                            type: string
                            description: SNI code for secondary activity
                            example: '47000'
                          description:
                            type: string
                            description: Description of the secondary activity
                            example: Detaljhandel
                taxInformation:
                  type: object
                  description: Tax registration details
                  properties:
                    fTax:
                      type: object
                      description: F-tax (Preliminary tax) registration status
                      properties:
                        registered:
                          type: boolean
                          description: Whether the company is registered for F-tax
                          example: true
                        startDate:
                          type: string
                          format: date-time
                          description: Date when F-tax registration started
                          example: '2000-01-01T00:00:00'
                        endDate:
                          type: string
                          format: date-time
                          description: Date when F-tax registration ended (if deregistered)
                          example: '2026-12-31T00:00:00'
                        deregistrationCode:
                          type: integer
                          description: Code indicating reason for deregistration
                          example: 517
                        deregistrationDescription:
                          type: string
                          description: Description of deregistration reason
                          example: Missbruk av F-skatt
                    vat:
                      type: object
                      description: VAT (Moms) registration status
                      properties:
                        registered:
                          type: boolean
                          description: Whether the company is registered for VAT
                          example: true
                        startDate:
                          type: string
                          format: date-time
                          description: Date when VAT registration started
                          example: '2000-01-01T00:00:00'
                        endDate:
                          type: string
                          format: date-time
                          description: Date when VAT registration ended (if deregistered)
                        vatNumber:
                          type: string
                          description: Company's VAT registration number
                          example: SE556987654301
                    employmentTax:
                      type: object
                      description: Employment tax (Arbetsgivaravgift) registration status
                      properties:
                        registered:
                          type: boolean
                          description: Whether the company is registered as an employer
                          example: true
                    employeeTax:
                      type: object
                      description: Employee tax and payroll information
                      properties:
                        payroll:
                          type: array
                          description: Payroll tax details
                          items:
                            type: object
            contactInformation:
              type: object
              description: Company contact and address information
              properties:
                registeredAddress:
                  type: object
                  description: Official registered address from company register
                  properties:
                    date:
                      type: string
                      format: date-time
                      description: Date when this address was registered
                      example: '2024-01-01T00:00:00'
                    fullAddress:
                      type: string
                      description: Complete address including care of (c/o) if applicable
                      example: Maria Svensson Storgatan 25
                    fullAddressWithoutCareOf:
                      type: string
                      description: Street address without care of name
                      example: Storgatan 25
                    careOf:
                      type: string
                      description: Care of (c/o) name if applicable
                      example: Maria Svensson
                    zipCode:
                      type: string
                      description: Postal code
                      example: '11422'
                    town:
                      type: string
                      description: Town or city name
                      example: STOCKHOLM
                    municipality:
                      type: string
                      description: Municipality (kommun) name
                      example: STOCKHOLM
                    county:
                      type: string
                      description: County (län) name
                      example: STOCKHOLM
                visitingAddress:
                  type: array
                  description: Physical visiting address(es) for the company
                  items:
                    type: object
                    properties:
                      street:
                        type: string
                        description: Street name and number
                        example: Storgatan 25
                      zipCode:
                        type: string
                        description: Postal code
                        example: '11422'
                      town:
                        type: string
                        description: Town or city name
                        example: STOCKHOLM
                postalAddress:
                  type: array
                  description: Postal address(es) for correspondence
                  items:
                    type: object
                    properties:
                      street:
                        type: string
                        description: Street or PO Box
                        example: Box 123
                      zipCode:
                        type: string
                        description: Postal code
                        example: '11401'
                      town:
                        type: string
                        description: Town or city name
                        example: STOCKHOLM
                phone:
                  type: string
                  description: Main telephone number
                  example: 08-1234567
                fax:
                  type: string
                  description: Fax number if available
                  example: 08-1234568
                email:
                  type: string
                  description: General email address
                  example: info@example.se
                web:
                  type: string
                  description: Company website URL
                  example: www.example.se
            otherInformation:
              type: object
              description: Additional company information and operational details
              properties:
                numberOfEmployees:
                  type: integer
                  description: Exact number of employees
                  example: 45
                numberOfEmployeesInterval:
                  type: string
                  description: Employee count range description
                  example: 20-49 anställda
                shareCapital:
                  type: object
                  description: Company's registered share capital
                  properties:
                    value:
                      type: integer
                      description: Share capital amount
                      example: 500000
                    currency:
                      type: string
                      description: Currency code
                      example: SEK
                latestAccountPeriod:
                  type: object
                  description: Most recent financial year period
                  properties:
                    dateFrom:
                      type: string
                      format: date-time
                      description: Start date of accounting period
                      example: '2025-01-01T00:00:00'
                    dateTo:
                      type: string
                      format: date-time
                      description: End date of accounting period
                      example: '2025-12-31T00:00:00'
                turnoverInterval:
                  type: string
                  description: Estimated turnover range in thousands SEK
                  example: 50000 - 99999 tkr
                numberOfUnits:
                  type: integer
                  description: Number of business units or locations
                  example: 1
                commercialBlock:
                  type: string
                  description: Commercial block code for marketing preferences
                  example: CB6
                commercialBlockDescription:
                  type: string
                  description: Description of commercial block status and preferences
                  example: Tar emot reklam, ej telefonnummerspärrat
                activityDescription:
                  type: string
                  description: >-
                    Description of business activities from articles of
                    association
                  example: Bolaget ska bedriva handel med varor och tjänster
                ceo:
                  type: object
                  description: Chief Executive Officer information
                  properties:
                    personalIdentificationNumber:
                      type: integer
                      description: Personal identification number of the CEO
                      example: 198203159999
                    name:
                      type: string
                      description: Full name of the CEO (last name, first name)
                      example: Andersson, Eva Marie
                soleTrader:
                  type: object
                  description: Sole trader (enskild firma) owner information if applicable
                  properties:
                    personalIdentificationNumber:
                      type: integer
                      description: Personal identification number of the sole trader
                      example: 199105209999
                    name:
                      type: string
                      description: Full name of the sole trader (last name, first name)
                      example: Johansson, Lars Erik
                groupStructure:
                  type: object
                  description: Corporate group hierarchy information
                  properties:
                    immediateParent:
                      type: object
                      description: Direct parent company in the ownership structure
                      properties:
                        organizationNumber:
                          type: integer
                          description: Parent company's organization number
                          example: 10002345678
                        name:
                          type: string
                          description: Parent company name
                          example: EXAMPLE PARENT LTD
                        countryCode:
                          type: string
                          description: ISO country code of parent company
                          example: GB
                    ultimateParent:
                      type: object
                      description: Highest level parent in the ownership chain
                      properties:
                        organizationNumber:
                          type: integer
                          description: Ultimate parent company's organization number
                          example: 10003456789
                        name:
                          type: string
                          description: Ultimate parent company name
                          example: EXAMPLE ULTIMATE HOLDINGS
                        countryCode:
                          type: string
                          description: ISO country code of ultimate parent company
                          example: US
                ongoingMatters:
                  type: array
                  description: Pending registrations and changes in the company register
                  items:
                    type: object
                    properties:
                      registrationDate:
                        type: string
                        format: date-time
                        description: Date when the matter was registered
                        example: '2026-03-15T00:00:00'
                      matterText:
                        type: string
                        description: Description of the ongoing matter
                        example: Ändring av företrädare/firmateckning.
                      caseNumber:
                        type: integer
                        description: Case reference number
                        example: 6123456789
                taParallelFirms:
                  type: array
                  description: Trade association parallel firms if applicable
                  items:
                    type: object
                certificates:
                  type: array
                  description: Professional certificates and authorizations
                  items:
                    type: object
                alcoholPermits:
                  type: array
                  description: Alcohol serving and sales permits if applicable
                  items:
                    type: object
            directors:
              type: object
              description: Board members, management, and signatory information
              properties:
                representativeCheck:
                  type: object
                  description: Summary of negative information on company representatives
                  properties:
                    result:
                      type: integer
                      description: Result code for the check (0 = no negative information)
                      example: 0
                    description:
                      type: string
                      description: Description of the check result
                      example: >-
                        Ingen negativ information hittades på någon av
                        företrädarna
                authorizedSignatory:
                  type: string
                  description: Description of who is authorized to sign for the company
                  example: Firman tecknas av styrelsen
                auditorReservation:
                  type: boolean
                  description: Indicates if auditor has made reservations in latest report
                  example: false
                currentDirectors:
                  type: array
                  description: Currently active board members and management
                  items:
                    type: object
                    properties:
                      name:
                        type: string
                        description: Full name (last name, first name)
                        example: Eriksson, Anna
                      function:
                        type: string
                        description: Role in the company
                        example: Ledamot
                      identificationNumber:
                        type: integer
                        description: Personal identification number
                        example: 198709159999
                      appointmentDate:
                        type: string
                        format: date-time
                        description: Date when appointed to the role
                        example: '2020-05-15T00:00:00'
                      tradingProhibition:
                        type: object
                        description: Trading prohibition information if applicable
                previousDirectors:
                  type: array
                  description: Former board members and management who have left
                  items:
                    type: object
                    properties:
                      name:
                        type: string
                        description: Full name (last name, first name)
                        example: Bergström, Mikael
                      function:
                        type: string
                        description: Role held in the company
                        example: Ledamot
                      identificationNumber:
                        type: integer
                        description: Personal identification number
                        example: 197512089999
                      appointmentDate:
                        type: string
                        format: date-time
                        description: Date when appointed to the role
                        example: '2018-03-10T00:00:00'
                      exitingDate:
                        type: string
                        format: date-time
                        description: Date when they left the role
                        example: '2026-04-20T00:00:00'
                      tradingProhibition:
                        type: object
                        description: Trading prohibition information if applicable
            directorsRepresentativeCheck:
              type: object
              description: >-
                Detailed negative information check results for company
                representatives
              properties:
                payments:
                  type: object
                  description: Payment remark check results
                  properties:
                    result:
                      type: boolean
                      description: True if payment remarks found, false otherwise
                      example: false
                    description:
                      type: string
                      description: Description of payment remark findings
                      example: Ingen av företrädarna har betalningsanmärkningar
                debts:
                  type: object
                  description: Debt balance check results
                  properties:
                    result:
                      type: boolean
                      description: True if debt balance found, false otherwise
                      example: false
                    description:
                      type: string
                      description: Description of debt findings
                      example: Ingen av företrädarna har skuldsaldo
                distraint:
                  type: object
                  description: Distraint attempt check results
                  properties:
                    result:
                      type: boolean
                      description: True if distraint attempts found, false otherwise
                      example: false
                    description:
                      type: string
                      description: Description of distraint findings
                      example: Ingen av företrädarna har utmätningsförsök
                bankruptcy:
                  type: object
                  description: Bankruptcy connection check results
                  properties:
                    result:
                      type: boolean
                      description: True if bankruptcy connections found, false otherwise
                      example: false
                    description:
                      type: string
                      description: Description of bankruptcy findings
                      example: Ingen av företrädarna har kopplingar till konkurs
            beneficialOwner:
              type: object
              description: Beneficial ownership information from company register
              properties:
                registeredDate:
                  type: string
                  format: date-time
                  description: Date when beneficial owner information was registered
                  example: '2021-06-18T00:00:00'
                status:
                  type: object
                  description: Status of beneficial owner registration
                  properties:
                    code:
                      type: integer
                      description: Status code
                      example: 1
                    description:
                      type: string
                      description: Status description
                      example: Det finns en eller flera verkliga huvudmän
                distrust:
                  type: object
                  description: Indication if registered information is suspected incorrect
                  properties:
                    code:
                      type: integer
                      description: Distrust code
                      example: 1
                    description:
                      type: string
                      description: Distrust description
                      example: Informationen antas vara felaktig
                beneficialOwners:
                  type: array
                  description: List of registered beneficial owners
                  items:
                    type: object
                    properties:
                      personalIdentificationNumber:
                        type: integer
                        description: Personal identification number of beneficial owner
                        example: 196503189999
                      name:
                        type: string
                        description: Full name of beneficial owner
                        example: Peter Larsson
                      firstName:
                        type: string
                        description: First name
                        example: Peter
                      lastName:
                        type: string
                        description: Last name
                        example: Larsson
                      citizenship:
                        type: string
                        description: ISO country code of citizenship
                        example: SE
                      residence:
                        type: string
                        description: ISO country code of residence
                        example: SE
                      ownerControl:
                        type: object
                        description: Ownership percentage range
                        properties:
                          description:
                            type: string
                            description: Description of ownership level
                            example: Mer än 25 % men inte mer än 50 %
                      typeOfControl:
                        type: object
                        description: Type of control exercised
            industryKeyValues:
              type: array
              description: Industry-specific key performance indicators and benchmarks
              items:
                type: object
            internalWarningList:
              type: object
              description: Creditsafe internal warning indicators
              properties:
                warningOnCompany:
                  type: boolean
                  description: Direct warning registered on the company
                  example: false
                warningViaDirectors:
                  type: boolean
                  description: Warning via connections to directors or representatives
                  example: false
                directorWarningDetails:
                  type: array
                  description: Details of warnings related to directors
                  items:
                    type: object
            creditScore:
              type: object
              description: Creditsafe credit rating and risk assessment
              properties:
                score:
                  type: integer
                  description: Credit score value (0-100, higher is better)
                  example: 85
                description:
                  type: string
                  description: Risk level description for the score
                  example: Låg risk
                pod:
                  type: number
                  format: float
                  description: Probability of default (POD) percentage
                  example: 0.1234
                limit:
                  type: integer
                  description: Recommended credit limit in SEK
                  example: 8500000
                commentaries:
                  type: array
                  description: Commentary codes explaining the score
                  items:
                    type: object
                    properties:
                      commentaryCode:
                        type: string
                        description: Numeric code for the commentary
                        example: '620'
                      commentaryText:
                        type: string
                        description: Descriptive text for the commentary
                        example: Företaget har högt eget kapital
                      commentaryType:
                        type: integer
                        description: Type of commentary (1 = positive, 2 = negative, etc.)
                        example: 1
                history:
                  type: array
                  description: Historical credit scores over time
                  items:
                    type: object
                    properties:
                      score:
                        type: integer
                        description: Historical score value
                        example: 80
                      description:
                        type: string
                        description: Risk level at that time
                        example: Låg risk
                      date:
                        type: string
                        format: date-time
                        description: Date of the historical score
                        example: '2025-06-10T00:00:00'
            financialStatementsSummary:
              type: array
              description: Summary of key financial statement figures across multiple years
              items:
                type: object
            financialStatements:
              type: array
              description: >-
                Detailed financial statements including profit/loss, balance
                sheet, and notes
              items:
                type: object
            realEstate:
              type: object
              description: Summary of real estate ownership
              properties:
                numberOfRealEstate:
                  type: integer
                  description: Total number of properties owned
                  example: 2
                assessedValueTotal:
                  type: integer
                  description: Total assessed value in SEK
                  example: 125000000
                assessedValueBuilding:
                  type: integer
                  description: Assessed value of buildings in SEK
                  example: 35000000
                assessedValueLand:
                  type: integer
                  description: Assessed value of land in SEK
                  example: 90000000
                assessedValueOwnedPart:
                  type: integer
                  description: Assessed value of owned portion in SEK
                  example: 125000000
                averageOwnedPartPercent:
                  type: integer
                  description: Average ownership percentage across all properties
                  example: 100
                numberOfPropertyMortgages:
                  type: integer
                  description: Number of property mortgages registered
                  example: 45
                numberOfApplicationsLast12Months:
                  type: integer
                  description: New mortgage applications in last 12 months
                  example: 0
                totalAmountPropertyMortgages:
                  type: integer
                  description: Total amount of property mortgages in SEK
                  example: 185000000
            realEstateDetails:
              type: array
              description: Detailed information for each property owned
              items:
                type: object
            vehicles:
              type: object
              description: Vehicle ownership and leasing summary
              properties:
                used:
                  type: integer
                  description: Total number of vehicles used by the company
                  example: 3
                owned:
                  type: integer
                  description: Number of vehicles owned
                  example: 2
                lessee:
                  type: integer
                  description: Number of vehicles leased from others
                  example: 1
                lessor:
                  type: integer
                  description: Number of vehicles leased out to others
                  example: 0
                acquiredLastMonth:
                  type: integer
                  description: Vehicles acquired in the last month
                  example: 0
                disposedLastMonth:
                  type: integer
                  description: Vehicles disposed of in the last month
                  example: 0
            paymentData:
              type: object
              description: Payment behavior statistics from Creditsafe data
              properties:
                companyDBT:
                  type: integer
                  description: Company Days Beyond Terms - average payment delay in days
                  example: 5
                invoicesTotalAvailable:
                  type: integer
                  description: Total number of invoices available in the data
                  example: 32
                invoicesAverageValue:
                  type: number
                  format: float
                  description: Average invoice value in SEK
                  example: 6543.21
                invoicesPaid:
                  type: integer
                  description: Number of invoices that have been paid
                  example: 32
                invoicesOutstanding:
                  type: integer
                  description: Number of invoices still outstanding
                  example: 0
                invoicesPaidDetails:
                  type: array
                  description: Detailed breakdown of paid invoices
                  items:
                    type: object
                invoicesOutstandingDetails:
                  type: array
                  description: Detailed breakdown of outstanding invoices
                  items:
                    type: object
            companyMortgages:
              type: array
              description: Company mortgages and floating charges registered
              items:
                type: object
            taxRespite:
              type: object
              description: Tax respite (anstånd) information
              properties:
                date:
                  type: string
                  format: date-time
                  description: Date of the tax respite registration
                  example: '2026-02-15T00:00:00'
                amount:
                  type: integer
                  description: Amount of tax respite in SEK
                  example: 2500000
                history:
                  type: array
                  description: Historical tax respite records
                  items:
                    type: object
            riskCheck:
              type: object
              description: Risk indicators based on recent company changes
              properties:
                name:
                  type: integer
                  description: Name change indicator (1 = no recent change)
                  example: 1
                nameText:
                  type: string
                  description: Description of name change status
                  example: The company name is unchanged within the last 6 months
                address:
                  type: integer
                  description: Address change indicator (1 = no recent change)
                  example: 1
                addressText:
                  type: string
                  description: Description of address change status
                  example: The company address is unchanged within the last 6 months
                board:
                  type: integer
                  description: Board change indicator (1 = no recent change)
                  example: 1
                boardText:
                  type: string
                  description: Description of board change status
                  example: The board of directors is unchanged within the last 3 months
                auditor:
                  type: integer
                  description: Auditor presence indicator (1 = has auditor)
                  example: 1
                auditorText:
                  type: string
                  description: Description of auditor status
                  example: The company has an auditor
                activity:
                  type: integer
                  description: Business activity change indicator (1 = no recent change)
                  example: 1
                activityText:
                  type: string
                  description: Description of business activity status
                  example: The business activity is unchanged within the last 6 months
                previousRemarks:
                  type: integer
                  description: Previous engagement remarks indicator
                  example: 1
                previousRemarksText:
                  type: string
                  description: Description of previous engagement check
                  example: >-
                    In the new director's last company engagement no payment
                    remarks has been registered within 6 months of exit
            privateClaimsApplications:
              type: object
              description: Private claims applications (ansökan om betalningsföreläggande)
              properties:
                totalNumber:
                  type: integer
                  description: Total number of private claims applications
                  example: 4
                totalAmount:
                  type: integer
                  description: Total amount of claims in SEK
                  example: 125000
                details:
                  type: array
                  description: Detailed list of each claim application
                  items:
                    type: object
            publicAndPrivateClaims:
              type: object
              description: Payment remarks from both public and private sources
              properties:
                totalNumber:
                  type: integer
                  description: Total number of payment remarks
                  example: 1
                totalAmount:
                  type: integer
                  description: Total amount of all payment remarks in SEK
                  example: 1500
                numberPublic:
                  type: integer
                  description: Number of public payment remarks
                  example: 0
                numberPublic12Months:
                  type: integer
                  description: Number of public remarks registered in last 12 months
                  example: 0
                amountPublic:
                  type: integer
                  description: Total amount of public payment remarks in SEK
                  example: 0
                totalNumber12Months:
                  type: integer
                  description: Total number of remarks in last 12 months
                  example: 1
                numberPrivate:
                  type: integer
                  description: Number of private payment remarks
                  example: 1
                totalAmount12Months:
                  type: integer
                  description: Total amount of remarks in last 12 months in SEK
                  example: 1500
                numberPrivate12Months:
                  type: integer
                  description: Number of private remarks in last 12 months
                  example: 1
                amountPrivate:
                  type: integer
                  description: Total amount of private payment remarks in SEK
                  example: 1500
                publicClaimsDetails:
                  type: array
                  description: Detailed list of public payment remarks
                  items:
                    type: object
                amountPublic12Months:
                  type: integer
                  description: Amount of public remarks in last 12 months in SEK
                  example: 0
                latestDatePublic:
                  type: string
                  format: date-time
                  description: Date of most recent public remark
                typeOfPublic:
                  type: string
                  description: Type of public remark
                amountPrivate12Months:
                  type: integer
                  description: Amount of private remarks in last 12 months in SEK
                  example: 1500
                latestDatePrivate:
                  type: string
                  format: date-time
                  description: Date of most recent private remark
                  example: '2026-05-08T00:00:00'
                privateClaimsDetails:
                  type: array
                  description: Detailed list of private payment remarks
                  items:
                    type: object
            debtBalance:
              type: object
              description: >-
                Current outstanding debt balance (skuldsaldo) from enforcement
                authority
              properties:
                date:
                  type: string
                  format: date-time
                  description: Date of debt balance check
                  example: '2026-06-10T00:00:00'
                totalNumber:
                  type: integer
                  description: Total number of debt balance entries
                  example: 0
                totalAmount:
                  type: integer
                  description: Total debt balance amount in SEK
                  example: 0
                numberPublic:
                  type: integer
                  description: Number of public debt entries
                  example: 0
                amountPublic:
                  type: integer
                  description: Amount of public debt in SEK
                  example: 0
                numberPrivate:
                  type: integer
                  description: Number of private debt entries
                  example: 0
                amountPrivate:
                  type: integer
                  description: Amount of private debt in SEK
                  example: 0
                history:
                  type: array
                  description: Historical debt balance records
                  items:
                    type: object
            distraintsAndRepossessionClaims:
              type: object
              description: Distraint attempts (utmätning) and repossession claims
              properties:
                number:
                  type: integer
                  description: Total number of distraint attempts
                  example: 0
                details:
                  type: array
                  description: Detailed list of each distraint attempt
                  items:
                    type: object
            reconstruction:
              type: array
              description: Company reconstruction proceedings (företagsrekonstruktion)
              items:
                type: object
            bankruptcy:
              type: object
              description: Bankruptcy information (konkurs)
              properties:
                code:
                  type: integer
                  description: Bankruptcy status code
                description:
                  type: string
                  description: Bankruptcy status description
                date:
                  type: string
                  format: date-time
                  description: Date of bankruptcy declaration
                trustee:
                  type: object
                  description: Bankruptcy trustee information
    GetDataConsumerResponse:
      type: object
      title: Consumer
      description: Complete consumer data response from GetData API
      properties:
        metaData:
          type: object
          description: API call metadata information
          properties:
            apiLogId:
              type: integer
              description: Unique identifier for this API call in Creditsafe logs
              example: 2098766
            timeStamp:
              type: string
              format: date-time
              description: Date and time when the API call was processed
              example: '2026-06-12T14:35:00'
            resource:
              type: string
              description: Name and identifier of the GetData resource used
              example: GetData (1217)
            method:
              type: string
              description: HTTP method used for the request
              example: GET
            requestUrl:
              type: string
              description: Complete URL of the API request including all parameters
              example: >-
                https://se-webservice.apps.creditsafe.com/getdata?blockname=CONSUMER_BLOCK&language=sv&searchnumber=198505159999&transactionid=TX790
            lodCreated:
              type: boolean
              description: >-
                Indicates whether a Letter of Disclosure (LOD) was created for
                this request
              example: true
        report:
          type: object
          description: Contains all consumer data sections based on the configured block
          properties:
            basicInformation:
              type: object
              description: Basic personal identification and registration information
              properties:
                personalIdentificationNumber:
                  type: integer
                  description: Swedish personal identification number (personnummer)
                  example: 198505159999
                firstName:
                  type: string
                  description: Full first name(s)
                  example: Anna Marie
                givenName:
                  type: string
                  description: Given name (tilltalsnamn) - the name the person goes by
                  example: Marie
                lastName:
                  type: string
                  description: Current last name(s)
                  example: Svensson Eriksson
                previousName:
                  type: string
                  description: Previous name before name change
                  example: Anna Marie Eriksson
                age:
                  type: integer
                  description: Current age in years
                  example: 41
                gender:
                  type: string
                  description: Gender (Man/Kvinna)
                  example: Kvinna
                dateRegisteredInSweden:
                  type: string
                  format: date-time
                  description: Date when first registered in Swedish population register
                  example: '2012-04-15T00:00:00'
                protected:
                  type: boolean
                  description: >-
                    Indicates if person has protected identity (skyddad
                    identitet)
                  example: false
                emigrated:
                  type: boolean
                  description: Indicates if person has emigrated from Sweden
                  example: false
                emigratedDate:
                  type: string
                  format: date-time
                  description: Date of emigration if applicable
                hasTrustee:
                  type: boolean
                  description: Indicates if person has a legal trustee (god man/förvaltare)
                  example: false
                civilStatus:
                  type: object
                  description: Marital status information
                  properties:
                    code:
                      type: integer
                      description: Civil status code
                      example: 2
                    description:
                      type: string
                      description: Civil status description
                      example: Gift
                relations:
                  type: array
                  description: Family relations and guardianship information
                  items:
                    type: object
                    properties:
                      code:
                        type: integer
                        description: Relation type code
                        example: 3
                      description:
                        type: string
                        description: Relation type description
                        example: Vårdnadshavare
                      personalIdentificationNumber:
                        type: integer
                        description: Personal identification number of related person
                        example: 198808229999
                      name:
                        type: string
                        description: Name of related person
                        example: Erik Lars Svensson
                ownsRealEstate:
                  type: boolean
                  description: Indicates whether the person owns real estate
                  example: true
                businessOwner:
                  type: boolean
                  description: Indicates whether the person owns a business
                  example: false
                latestTaxYear:
                  type: integer
                  description: Most recent tax year for which data is available
                  example: 2025
            contactInformation:
              type: object
              description: Current and historical address information
              properties:
                reportDate:
                  type: string
                  format: date-time
                  description: Date when address information was retrieved
                  example: '2026-06-10T00:00:00'
                registeredAddress:
                  type: object
                  description: Current registered address from population register
                  properties:
                    fullAddress:
                      type: string
                      description: Complete address including care of (c/o) if applicable
                      example: Erik Svensson Drottninggatan 15 Lgh 803
                    fullAddressWithoutCareOf:
                      type: string
                      description: Street address without care of name
                      example: Drottninggatan 15 Lgh 803
                    careOf:
                      type: string
                      description: Care of (c/o) name if applicable
                      example: Erik Svensson
                    zipCode:
                      type: string
                      description: Postal code
                      example: '11152'
                    town:
                      type: string
                      description: Town or city name
                      example: Stockholm
                municipality:
                  type: object
                  description: Municipality (kommun) information
                  properties:
                    code:
                      type: integer
                      description: Municipality code
                      example: 80
                    name:
                      type: string
                      description: Municipality name
                      example: Stockholm
                district:
                  type: object
                  description: District (stadsdel) information
                  properties:
                    code:
                      type: integer
                      description: District code
                      example: 218025
                    name:
                      type: string
                      description: District name
                      example: Stockholm-Kungsholmen
                county:
                  type: object
                  description: County (län) information
                  properties:
                    code:
                      type: integer
                      description: County code
                      example: 1
                    name:
                      type: string
                      description: County name
                      example: Stockholm
                specialAddress:
                  type: object
                  description: Special mailing address (särskild postadress) if registered
                  properties:
                    fullAddress:
                      type: string
                      description: Complete special address
                      example: Lars Eriksson Vasagatan 8
                    fullAddressWithoutCareOf:
                      type: string
                      description: Special address without care of name
                      example: Vasagatan 8
                    careOf:
                      type: string
                      description: Care of name for special address
                      example: Lars Eriksson
                    zipCode:
                      type: string
                      description: Postal code
                      example: '11120'
                    town:
                      type: string
                      description: Town or city name
                      example: Stockholm
                foreignAddress:
                  type: object
                  description: Foreign address if person lives abroad
                  properties:
                    fullAddress:
                      type: string
                      description: Complete foreign address
                      example: Hauptstrasse 45 10115 Berlin
                    country:
                      type: string
                      description: Country name
                      example: Tyskland
                addressHistory:
                  type: array
                  description: Historical list of previous addresses
                  items:
                    type: object
                    properties:
                      code:
                        type: integer
                        description: Address type code
                        example: 1
                      description:
                        type: string
                        description: Address type description
                        example: Folkbokföringsadress
                      fullAddress:
                        type: string
                        description: Complete historical address
                        example: Maria Andersson Storgatan 120
                      fullAddressWithoutCareOf:
                        type: string
                        description: Address without care of name
                        example: Storgatan 120
                      careOf:
                        type: string
                        description: Care of name at that time
                        example: Maria Andersson
                      zipCode:
                        type: string
                        description: Postal code
                        example: '90825'
                      town:
                        type: string
                        description: Town or city name
                        example: UMEÅ
                      fromDate:
                        type: string
                        format: date-time
                        description: Date when person moved to this address
                        example: '2008-06-10T00:00:00'
                      toDate:
                        type: string
                        format: date-time
                        description: Date when person moved from this address
                        example: '2026-04-12T00:00:00'
            companyEngagements:
              type: array
              description: Current and historical company board and management positions
              items:
                type: object
                properties:
                  organizationNumber:
                    type: string
                    description: Company's organization number
                    example: '5569876543'
                  name:
                    type: string
                    description: Company name
                    example: Example Trading AB
                  fromDate:
                    type: string
                    format: date-time
                    description: Date when engagement started
                    example: '2023-03-18T00:00:00'
                  toDate:
                    type: string
                    format: date-time
                    description: Date when engagement ended (if applicable)
                    example: '2026-05-22T00:00:00'
                  function:
                    type: object
                    description: Role in the company
                    properties:
                      code:
                        type: integer
                        description: Function code
                        example: 5
                      description:
                        type: string
                        description: Function description
                        example: Ledamot
            creditScore:
              type: object
              description: Creditsafe credit rating for the consumer
              properties:
                score:
                  type: integer
                  description: Credit score value (0-100, higher is better)
                  example: 45
                description:
                  type: string
                  description: Risk level description for the score
                  example: Medel
            incomesLatest:
              type: array
              description: Most recent tax year income information
              items:
                type: object
                properties:
                  taxYear:
                    type: integer
                    description: Tax year for this income data
                    example: 2025
                  income:
                    type: integer
                    description: Total income in SEK
                    example: 485000
                  incomeBusinessActive:
                    type: integer
                    description: Income from active business operations in SEK
                    example: 0
                  incomeBusiness:
                    type: integer
                    description: Business income in SEK
                    example: 0
                  lossFromActiveBusiness:
                    type: integer
                    description: Loss from active business in SEK
                    example: 0
                  lossFromPassiveBusiness:
                    type: integer
                    description: Loss from passive business in SEK
                    example: 0
                  commonReduce:
                    type: integer
                    description: Common reduction amount in SEK
                    example: 0
                  taxableIncome:
                    type: integer
                    description: Taxable income after deductions in SEK
                    example: 485000
                  earnedIncomeAndBusiness:
                    type: integer
                    description: Combined earned income and business income in SEK
                    example: 485000
                  incomeCapital:
                    type: integer
                    description: Capital income in SEK
                    example: 0
                  deficitCapital:
                    type: integer
                    description: Capital deficit in SEK
                    example: 25000
                  totalIncome:
                    type: integer
                    description: Total income after all adjustments in SEK
                    example: 242500
                  finalTax:
                    type: integer
                    description: Final tax amount in SEK
                    example: 118000
                  lateFeeTax:
                    type: integer
                    description: Late fee tax in SEK
                    example: 0
                  taxPenalty:
                    type: integer
                    description: Tax penalty amount in SEK
                    example: 0
                  realEstateFee:
                    type: integer
                    description: Real estate fee in SEK
                    example: 3850
                  realEstateTax:
                    type: integer
                    description: Real estate tax in SEK
                    example: 0
                  generalPension:
                    type: integer
                    description: General pension contributions in SEK
                    example: 18300
            incomes:
              type: array
              description: Historical income information for multiple tax years
              items:
                type: object
                properties:
                  taxYear:
                    type: integer
                    description: Tax year for this income data
                    example: 2025
                  income:
                    type: integer
                    description: Total income in SEK
                    example: 485000
                  incomeBusinessActive:
                    type: integer
                    description: Income from active business operations in SEK
                    example: 0
                  incomeBusiness:
                    type: integer
                    description: Business income in SEK
                    example: 0
                  lossFromActiveBusiness:
                    type: integer
                    description: Loss from active business in SEK
                    example: 0
                  lossFromPassiveBusiness:
                    type: integer
                    description: Loss from passive business in SEK
                    example: 0
                  commonReduce:
                    type: integer
                    description: Common reduction amount in SEK
                    example: 0
                  taxableIncome:
                    type: integer
                    description: Taxable income after deductions in SEK
                    example: 485000
                  earnedIncomeAndBusiness:
                    type: integer
                    description: Combined earned income and business income in SEK
                    example: 485000
                  incomeCapital:
                    type: integer
                    description: Capital income in SEK
                    example: 0
                  deficitCapital:
                    type: integer
                    description: Capital deficit in SEK
                    example: 25000
                  totalIncome:
                    type: integer
                    description: Total income after all adjustments in SEK
                    example: 450000
                  finalTax:
                    type: integer
                    description: Final tax amount in SEK
                    example: 118000
                  lateFeeTax:
                    type: integer
                    description: Late fee tax in SEK
                    example: 0
                  taxPenalty:
                    type: integer
                    description: Tax penalty amount in SEK
                    example: 0
                  realEstateFee:
                    type: integer
                    description: Real estate fee in SEK
                    example: 3850
                  realEstateTax:
                    type: integer
                    description: Real estate tax in SEK
                    example: 0
                  generalPension:
                    type: integer
                    description: General pension contributions in SEK
                    example: 18300
            realEstate:
              type: object
              description: Summary of real estate ownership
              properties:
                numberOfRealEstate:
                  type: integer
                  description: Total number of properties owned
                  example: 2
                assessedValueTotal:
                  type: integer
                  description: Total assessed value in SEK
                  example: 2850000
                assessedValueBuilding:
                  type: integer
                  description: Assessed value of buildings in SEK
                  example: 950000
                assessedValueLand:
                  type: integer
                  description: Assessed value of land in SEK
                  example: 425000
                assessedValueOwnedPart:
                  type: integer
                  description: Assessed value of owned portion in SEK
                  example: 1425000
                averageOwnedPartPercent:
                  type: integer
                  description: Average ownership percentage across all properties
                  example: 50
                numberOfPropertyMortgages:
                  type: integer
                  description: Number of property mortgages registered
                  example: 4
                numberOfApplicationsLast12Months:
                  type: integer
                  description: New mortgage applications in last 12 months
                  example: 0
                totalAmountPropertyMortgages:
                  type: integer
                  description: Total amount of property mortgages in SEK
                  example: 2800000
            realEstateDetails:
              type: array
              description: Detailed information for each property owned
              items:
                type: object
                properties:
                  propertyName:
                    type: string
                    description: Official property designation (fastighetsbeteckning)
                    example: STOCKHOLM 2:18
                  ownership:
                    type: string
                    description: Type of ownership (Lagfart, Tomträtt, etc.)
                    example: Lagfart
                  procureType:
                    type: string
                    description: Method of acquisition
                    example: Köp
                  procureDate:
                    type: string
                    description: Date of acquisition
                    example: 6/12/22
                  purchaseSum:
                    type: integer
                    description: Purchase price in SEK
                    example: 3200000
                  purchaseText:
                    type: string
                    description: Notes about the purchase
                    example: Köpeskilling avser hela fastigheten
                  numberOwners:
                    type: integer
                    description: Total number of owners
                    example: 2
                  ownedPartPercent:
                    type: integer
                    description: Percentage owned by this person
                    example: 50
                  county:
                    type: string
                    description: County (län) where property is located
                    example: STOCKHOLM
                  community:
                    type: string
                    description: Municipality (kommun) where property is located
                    example: STOCKHOLM
                  totalTaxedValue:
                    type: integer
                    description: Total assessed value in SEK
                    example: 2850000
                  landTaxedValue:
                    type: integer
                    description: Assessed land value in SEK
                    example: 850000
                  buildingTaxedValue:
                    type: integer
                    description: Assessed building value in SEK
                    example: 2000000
                  combinedTaxes:
                    type: string
                    description: Combined tax units if applicable
                    example: ENSKEDE 1:5, ENSKEDE 1:6
                  numberOfTaxUnits:
                    type: integer
                    description: Number of tax assessment units
                    example: 2
                  taxUnits:
                    type: object
                    description: Tax unit details
                    properties:
                      id:
                        type: string
                        description: Tax unit identifier
                        example: 654321-1
                      propertyType:
                        type: integer
                        description: Property type code
                        example: 220
                      propertyTypeDescription:
                        type: string
                        description: Property type description
                        example: Småhus, helårsbostad
                      totalTaxedValue:
                        type: integer
                        description: Total assessed value for this unit in SEK
                        example: 2850000
                      landTaxedValue:
                        type: integer
                        description: Land value for this unit in SEK
                        example: 850000
                      buildingTaxedValue:
                        type: integer
                        description: Building value for this unit in SEK
                        example: 2000000
                      taxYear:
                        type: integer
                        description: Tax assessment year
                        example: 2024
            tradingProhibition:
              type: array
              description: Trading prohibition (näringsförbud) records
              items:
                type: object
                properties:
                  active:
                    type: boolean
                    description: Whether the prohibition is currently active
                    example: false
                  courtCode:
                    type: string
                    description: Court code
                    example: '400'
                  courtDescription:
                    type: string
                    description: Name of the court issuing the prohibition
                    example: HOVRÄTTEN FÖR VÄSTRA SVERIGE
                  decisionDate:
                    type: string
                    format: date-time
                    description: Date of the court decision
                    example: '2024-08-20T00:00:00'
                  decisionType:
                    type: string
                    description: Type of decision code
                    example: D
                  decisionTypeDescription:
                    type: string
                    description: Type of decision description
                    example: Domslut
                  temporaryDecisionDate:
                    type: string
                    format: date-time
                    description: Date of temporary decision if applicable
                    example: '2024-08-20T00:00:00'
                  monitoringDate:
                    type: string
                    format: date-time
                    description: Date for monitoring review
                    example: '2027-08-19T00:00:00'
                  startDate:
                    type: string
                    format: date-time
                    description: Start date of the prohibition period
                    example: '2024-09-01T00:00:00'
                  endDate:
                    type: string
                    format: date-time
                    description: End date of the prohibition period
                    example: '2029-09-01T00:00:00'
                  exemptionStartDate:
                    type: string
                    format: date-time
                    description: Start date of exemption period for wind-down
                    example: '2024-08-20T00:00:00'
                  exemptionEndDate:
                    type: string
                    format: date-time
                    description: End date of exemption period for wind-down
                    example: '2025-02-19T00:00:00'
                  comments:
                    type: string
                    description: Additional comments or notes about the prohibition
                    example: >-
                      Anna Marie Svensson Eriksson berättigas att under en tid
                      av sex månader från tingsrättens dom vidta åtgärder för
                      att avveckla näringsverksamhet.
                  previousProhibitionEndDate:
                    type: string
                    format: date-time
                    description: End date of previous prohibition if applicable
                    example: '2021-07-15T00:00:00'
            publicAndPrivateClaims:
              type: object
              description: Payment remarks from both public and private sources
              properties:
                totalAmount12Months:
                  type: integer
                  description: Total amount of remarks in last 12 months in SEK
                  example: 85000
                totalNumber:
                  type: integer
                  description: Total number of payment remarks
                  example: 8
                totalNumber12Months:
                  type: integer
                  description: Total number of remarks in last 12 months
                  example: 3
                totalAmount:
                  type: integer
                  description: Total amount of all payment remarks in SEK
                  example: 95000
                numberPublic:
                  type: integer
                  description: Number of public payment remarks
                  example: 4
                numberPublic12Months:
                  type: integer
                  description: Number of public remarks registered in last 12 months
                  example: 1
                amountPublic:
                  type: integer
                  description: Total amount of public payment remarks in SEK
                  example: 52000
                amountPublic12Months:
                  type: integer
                  description: Amount of public remarks in last 12 months in SEK
                  example: 12500
                latestDatePublic:
                  type: string
                  format: date-time
                  description: Date of most recent public remark
                  example: '2026-05-18T00:00:00'
                typeOfPublic:
                  type: integer
                  description: Type code of public remark
                  example: 58
                numberPrivate:
                  type: integer
                  description: Number of private payment remarks
                  example: 4
                numberPrivate12Months:
                  type: integer
                  description: Number of private remarks in last 12 months
                  example: 2
                amountPrivate:
                  type: integer
                  description: Total amount of private payment remarks in SEK
                  example: 43000
                amountPrivate12Months:
                  type: integer
                  description: Amount of private remarks in last 12 months in SEK
                  example: 5500
                latestDatePrivate:
                  type: string
                  format: date-time
                  description: Date of most recent private remark
                  example: '2026-04-25T00:00:00'
                publicClaimsDetails:
                  type: array
                  description: Detailed list of public payment remarks
                  items:
                    type: object
                    properties:
                      date:
                        type: string
                        format: date-time
                        description: Date of the payment remark
                        example: '2026-05-18T00:00:00'
                      amount:
                        type: integer
                        description: Amount of the remark in SEK
                        example: 1850
                      code:
                        type: integer
                        description: Public remark type code
                        example: 62
                      description:
                        type: string
                        description: Description of the remark type
                        example: Underhållsstöd
                      term:
                        type: string
                        description: Term or duration
                        example: '3'
                      comments:
                        type: string
                        description: Additional comments
                        example: Solidariskt belopp
                privateClaimsDetails:
                  type: array
                  description: Detailed list of private payment remarks
                  items:
                    type: object
                    properties:
                      date:
                        type: string
                        format: date-time
                        description: Date of the payment remark
                        example: '2026-04-25T00:00:00'
                      amount:
                        type: integer
                        description: Amount of the remark in SEK
                        example: 3750
                      code:
                        type: string
                        description: Private remark type code
                        example: U
                      description:
                        type: string
                        description: Description of the remark type
                        example: Utslag
                      creditorOrganizationNumber:
                        type: string
                        description: Creditor's organization number
                        example: '5569876543'
                      creditorName:
                        type: string
                        description: Name of the creditor
                        example: Example Trading AB
                      creditorForeign:
                        type: boolean
                        description: Whether creditor is foreign
                        example: false
                      comments:
                        type: string
                        description: Additional comments
                        example: Utslag
            debtBalance:
              type: object
              description: >-
                Current outstanding debt balance (skuldsaldo) from enforcement
                authority
              properties:
                date:
                  type: string
                  format: date-time
                  description: Date of debt balance check
                  example: '2026-06-10T00:00:00'
                totalNumber:
                  type: integer
                  description: Total number of debt balance entries
                  example: 15
                totalAmount:
                  type: integer
                  description: Total debt balance amount in SEK
                  example: 125000
                numberPublic:
                  type: integer
                  description: Number of public debt entries
                  example: 10
                amountPublic:
                  type: integer
                  description: Amount of public debt in SEK
                  example: 85000
                numberPrivate:
                  type: integer
                  description: Number of private debt entries
                  example: 5
                amountPrivate:
                  type: integer
                  description: Amount of private debt in SEK
                  example: 40000
                history:
                  type: array
                  description: Historical debt balance records
                  items:
                    type: object
                    properties:
                      date:
                        type: string
                        format: date-time
                        description: Date of historical record
                        example: '2026-05-28T19:45:00'
                      numberPublic:
                        type: integer
                        description: Number of public debts at that time
                        example: 12
                      numberPrivate:
                        type: integer
                        description: Number of private debts at that time
                        example: 8
                      totalAmount:
                        type: integer
                        description: Total debt amount at that time in SEK
                        example: 118000
            distraintsAndRepossessionClaims:
              type: object
              description: Distraint attempts (utmätning) and repossession claims
              properties:
                number:
                  type: integer
                  description: Total number of distraint attempts
                  example: 1
                details:
                  type: array
                  description: Detailed list of each distraint attempt
                  items:
                    type: object
                    properties:
                      date:
                        type: string
                        format: date-time
                        description: Date of the distraint attempt
                        example: '2026-03-22T00:00:00'
                      code:
                        type: string
                        description: Distraint type code
                        example: D
                      description:
                        type: string
                        description: Description of the distraint type
                        example: Utmätningsförsök
                      comments:
                        type: string
                        description: Additional comments or outcome
                        example: Gäldenären saknar kända utmätningsbara tillgångar
            debtRelief:
              type: object
              description: Debt relief (skuldsanering) information
              properties:
                isActive:
                  type: boolean
                  description: Whether debt relief is currently active
                  example: false
                code:
                  type: string
                  description: Debt relief status code
                  example: BSL
                description:
                  type: string
                  description: Debt relief status description
                  example: Beslutad
                date:
                  type: string
                  format: date-time
                  description: Date of debt relief decision
                  example: '2024-07-15T00:00:00'
            bankruptcy:
              type: object
              description: Personal bankruptcy (konkurs) information
              properties:
                isActive:
                  type: boolean
                  description: Whether bankruptcy is currently active
                  example: false
                code:
                  type: integer
                  description: Bankruptcy status code
                  example: 5
                description:
                  type: string
                  description: Bankruptcy status description
                  example: Avslutad konkurs
                date:
                  type: string
                  format: date-time
                  description: Date of bankruptcy declaration or closure
                  example: '2023-11-28T00:00:00'
                trustee:
                  type: object
                  description: Bankruptcy trustee information
                  properties:
                    name:
                      type: string
                      description: Name of the trustee
                      example: Pettersson, Maria
                    firm:
                      type: string
                      description: Trustee's law firm or company
                      example: Stockholm Advokatbyrå AB
                    address:
                      type: object
                      description: Trustee's contact address
                      properties:
                        street:
                          type: string
                          description: Street address
                          example: Hamngatan 5
                        box:
                          type: string
                          description: PO Box if applicable
                          example: Box 789
                        zipCode:
                          type: integer
                          description: Postal code
                          example: 11156
                        city:
                          type: string
                          description: City name
                          example: STOCKHOLM
                    phoneNumber:
                      type: object
                      description: Trustee's phone numbers
                      properties:
                        direct:
                          type: string
                          description: Direct phone number
                          example: 08-654321
                        central:
                          type: string
                          description: Central switchboard number
                          example: 08-654320
security:
  - bearerToken: []
