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

# Lista sprawozdań finansowych

> Zwraca metadane wszystkich rocznych sprawozdań finansowych (RDF/eKRS) złożonych przez spółkę: identyfikator dokumentu, okres sprawozdawczy, format pliku, rozmiar i sumę SHA-256. Spółkę wskazuje dokładnie jeden parametr: krs, nip, regon lub id.



## OpenAPI

````yaml /openapi.json get /v1/rdf/documents
openapi: 3.1.0
info:
  title: krdata API
  description: >

    krdata udostępnia dane z polskich rejestrów gospodarczych (KRS, CRBR, KRZ,
    MSiG, biała lista VAT)

    w postaci jednego, spójnego API.


    Uwierzytelnianie odbywa się przez klucz API przekazywany w nagłówku
    `x-api-key`.

    Limity zapytań oraz dzienne pule (PDF, WPV, raporty) wynikają z wybranego
    abonamentu —

    szczegóły zwraca endpoint `GET /v1/usage/summary`.
  version: 0.1.0
servers:
  - url: https://api.krdata.pl
    description: Production
security: []
paths:
  /v1/rdf/documents:
    get:
      tags:
        - RDF
      summary: Lista sprawozdań finansowych
      description: >-
        Zwraca metadane wszystkich rocznych sprawozdań finansowych (RDF/eKRS)
        złożonych przez spółkę: identyfikator dokumentu, okres sprawozdawczy,
        format pliku, rozmiar i sumę SHA-256. Spółkę wskazuje dokładnie jeden
        parametr: krs, nip, regon lub id.
      operationId: rdf-documents
      parameters:
        - name: krs
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                pattern: ^\d{10}$
              - type: 'null'
            title: Krs
        - name: nip
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                pattern: ^\d{10}$
              - type: 'null'
            title: Nip
        - name: regon
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                pattern: ^(\d{9}|\d{14})$
              - type: 'null'
            title: Regon
        - name: id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: uuid
              - type: 'null'
            title: Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/RdfDocument'
                title: Response Rdf-Documents
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyHeader: []
components:
  schemas:
    RdfDocument:
      properties:
        id:
          type: integer
          title: Id
        krs:
          type: string
          title: Krs
        name:
          type: string
          title: Name
        format:
          anyOf:
            - type: string
            - type: 'null'
          title: Format
        byte_size:
          anyOf:
            - type: integer
            - type: 'null'
          title: Byte Size
        sha256:
          anyOf:
            - type: string
            - type: 'null'
          title: Sha256
        period_start:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Period Start
        period_end:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Period End
        filing_date:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Filing Date
        is_correction:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Is Correction
        fetched_at:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: Fetched At
        has_financials:
          type: boolean
          title: Has Financials
      type: object
      required:
        - id
        - krs
        - name
        - has_financials
      title: RdfDocument
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    APIKeyHeader:
      type: apiKey
      in: header
      name: x-api-key

````