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

# Delete a submission

> Discard a draft submission and every account pushed under it.

<Note>
  The deletion runs in the background — the call returns immediately, and a draft with a large number of accounts may take a while to disappear. Once the submission has been sent to the tax authority it can no longer be deleted.
</Note>


## OpenAPI

````yaml delete /reports/fatca/v1/submissions/{submissionId}
openapi: 3.1.0
info:
  title: FATCA REST API
  description: >
    <p>REST API for reporting FATCA (Foreign Account Tax Compliance Act) US
    reportable account data. Open a submission for

    a reporting year, send the reportable accounts under its id, then submit it
    to the tax authority.</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: FATCA REST API
    description: >-
      REST API for submitting and correcting FATCA account data. Create a
      submission for a reporting year, push the reportable accounts under its
      id, the service will package the account data and send it to the
      regulatory authority.
paths:
  /reports/fatca/v1/submissions/{submissionId}:
    delete:
      tags:
        - FATCA REST API
      summary: Delete a submission
      description: >-
        Deletes a draft submission and every account pushed under it. A
        submission already sent to the tax authority, can not be deleted. The
        deletion runs in the background.
      operationId: deleteSubmission
      parameters:
        - name: submissionId
          in: path
          required: true
          schema:
            type: string
      responses:
        '202':
          description: Deletion accepted; runs in the background
        '409':
          description: Submission already sent to the tax authority
components:
  securitySchemes:
    bearer-jwt:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: >-
            https://auth.sandbox.finventi.com/realms/sti-connector/protocol/openid-connect/token
          scopes: {}

````