> ## 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 status

> The high-level lifecycle status of a submission.



## OpenAPI

````yaml get /reports/mai55/v1/submissions/{submissionId}/status
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}/status:
    get:
      tags:
        - Submissions
      summary: Get submission status
      description: >-
        Returns the current high-level status of the submission: DRAFT,
        PROCESSING, ACTION_REQUIRED, REPORTED, or FAILED.
      operationId: getStatus
      parameters:
        - name: submissionId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmissionStatusResponse'
              examples:
                GetStatus200:
                  $ref: '#/components/examples/GetStatus200'
components:
  schemas:
    SubmissionStatusResponse:
      type: object
      description: Current status of a submission
      properties:
        submissionId:
          type: string
        type:
          type: string
          description: Which sub-report this submission carries
          enum:
            - SIPL
            - SLIK
            - SKIS
          example: SLIK
        status:
          $ref: '#/components/schemas/SubmissionStatus'
      required:
        - status
        - submissionId
        - type
    SubmissionStatus:
      type: string
      description: High-level lifecycle status of a submission
      enum:
        - DRAFT
        - PROCESSING
        - ACTION_REQUIRED
        - REPORTED
        - FAILED
  examples:
    GetStatus200:
      value:
        submissionId: 6f1b0c1e-6c0b-4c39-9a2e-1d9d2f0f7a11
        type: SLIK
        status: PROCESSING
  securitySchemes:
    bearer-jwt:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: >-
            https://auth.sandbox.finventi.com/realms/sti-connector/protocol/openid-connect/token
          scopes: {}

````