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

# Get submission report

> Reported-versus-pending counts of persons and messages.



## OpenAPI

````yaml get /reports/mai55/v1/submissions/{submissionId}/report
openapi: 3.1.0
info:
  title: MAI55 REST API
  description: >
    <p>REST API for reporting MAI55 data to the Lithuanian State Tax
    Inspectorate. Open a submission for a

    reporting year, push the reportable persons under its id, then submit it to
    the tax authority.</p>


    <p>A submission carries exactly one sub-report, chosen with
    <code>type</code>: <strong>SIPL</strong> (account

    incomes), <strong>SLIK</strong> (account balances) or <strong>SKIS</strong>
    (outstanding debt

    agreements).</p>
  version: 0.0.1
servers:
  - url: https://api.rrc.dev.finventi.com
    description: Development
  - url: https://api.rrc.finventi.com
    description: Production
security:
  - bearer-jwt: []
tags:
  - name: Submissions
  - name: SLIK
  - name: SKIS
  - name: SIPL
paths:
  /reports/mai55/v1/submissions/{submissionId}/report:
    get:
      tags:
        - Submissions
      summary: Get submission report
      description: >-
        Detailed reporting status of the submission: overall status, how many
        persons are reported versus still pending, and the number of messages
        sent to the tax authority.
      operationId: getSubmissionReport
      parameters:
        - name: submissionId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmissionReport'
              examples:
                GetReport200:
                  $ref: '#/components/examples/GetReport200'
components:
  schemas:
    SubmissionReport:
      type: object
      description: >-
        Detailed reporting status: overall status, reported and pending person
        counts, and the number of messages sent to the tax authority. Persons
        with outstanding errors are listed, page by page, by the errors
        endpoint.
      properties:
        submissionId:
          type: string
        type:
          type: string
          description: Which sub-report this submission carries
          enum:
            - SIPL
            - SLIK
            - SKIS
          example: SLIK
        reportingYear:
          type: integer
          format: int32
          example: 2025
        kind:
          $ref: '#/components/schemas/SubmissionKind'
        status:
          $ref: '#/components/schemas/SubmissionStatus'
        persons:
          $ref: '#/components/schemas/ProgressCount'
          description: Persons you pushed, each of which is one reportable person entry
        messages:
          $ref: '#/components/schemas/ProgressCount'
          description: >-
            Messages sent to the tax authority: total generated, accepted, and
            still awaiting a response
      required:
        - kind
        - messages
        - persons
        - reportingYear
        - status
        - submissionId
        - type
    SubmissionKind:
      type: string
      description: >-
        SUBMISSION reports a year not yet reported for this sub-report;
        CORRECTION amends what was already reported for it.
      enum:
        - SUBMISSION
        - CORRECTION
    SubmissionStatus:
      type: string
      description: High-level lifecycle status of a submission
      enum:
        - DRAFT
        - PROCESSING
        - ACTION_REQUIRED
        - REPORTED
        - FAILED
    ProgressCount:
      type: object
      description: Totals split into already-reported and still-pending
      properties:
        total:
          type: integer
          format: int64
        reported:
          type: integer
          format: int64
        pending:
          type: integer
          format: int64
      required:
        - pending
        - reported
        - total
  examples:
    GetReport200:
      value:
        submissionId: 6f1b0c1e-6c0b-4c39-9a2e-1d9d2f0f7a11
        type: SLIK
        reportingYear: 2025
        kind: SUBMISSION
        status: PROCESSING
        persons:
          total: 41328
          reported: 40000
          pending: 1328
        messages:
          total: 5
          reported: 4
          pending: 1
  securitySchemes:
    bearer-jwt:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: >-
            https://auth.sandbox.finventi.com/realms/sti-connector/protocol/openid-connect/token
          scopes: {}

````