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

# Export liability report

> Queues an asynchronous export job that produces one CSV per filing, bundles them into a zip, uploads the zip to storage, and emails a signed download link to `delivery_recipients` when complete. All filings in a single request must belong to the same corporation (max 100 filings). Poll job status via the jobs endpoint, filtering by `entity=FILING` and `operation=EXPORT_INDIRECT_TAX_FILINGS_LIABILITY_REPORT`.



## OpenAPI

````yaml POST /filings/liability-report/export
openapi: 3.0.1
info:
  title: Commenda Public APIs
  description: >-
    APIs for Commenda entity management, partner incorporation, indirect tax,
    compliance, and corporate operations.
  license:
    name: NONE
    url: NONE
  version: 1.0.0
servers:
  - url: https://api.prod.commenda.io/api/v1
    description: Commenda platform APIs, including Partner Incorporation and Commenda OS.
  - url: https://transaction-tax.api.in.commenda.io/api/v1
    description: Global Indirect Tax API.
security:
  - bearerAuth: []
paths:
  /filings/liability-report/export:
    post:
      tags:
        - Filings
      summary: Export liability report as zipped CSVs
      description: >-
        Queues an asynchronous export job that produces one CSV per filing,
        bundles them into a zip, uploads the zip to storage, and emails a signed
        download link to `delivery_recipients` when complete. All filings in a
        single request must belong to the same corporation (max 100 filings).
        Poll job status via the jobs endpoint, filtering by `entity=FILING` and
        `operation=EXPORT_INDIRECT_TAX_FILINGS_LIABILITY_REPORT`.
      operationId: exportLiabilityReport
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExportLiabilityReportRequest'
      responses:
        '200':
          description: Export job queued successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/ExportLiabilityReportResponse'
                  message:
                    type: string
                    example: Successfully queued liability report export.
        '400':
          description: >-
            Bad request — invalid body, filing not found, or filings span
            multiple corporations
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Caller is not authorized to access one or more filings
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    ExportLiabilityReportRequest:
      type: object
      required:
        - filing_ids
        - delivery_recipients
      properties:
        filing_ids:
          type: array
          description: List of filing UUIDs to include in the export. Maximum 100 entries.
          minItems: 1
          maxItems: 100
          items:
            type: string
            format: uuid
        delivery_recipients:
          type: array
          description: >-
            Email addresses that will receive a signed download link to the
            generated zip when the export job completes.
          minItems: 1
          items:
            type: string
            format: email
          example:
            - tax-team@example.com
    ExportLiabilityReportResponse:
      type: object
      properties:
        job_id:
          type: string
          description: >-
            Identifier of the queued export job. Poll job status via the jobs
            endpoint, filtering by `entity=FILING` and
            `operation=EXPORT_INDIRECT_TAX_FILINGS_LIABILITY_REPORT`.
          example: j1a2b3c4-d5e6-7890-abcd-ef1234567890
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          properties:
            type:
              type: string
              description: 'Specific Error type. Example: CLIENT_INVALID_REQUEST_BODY.'
              example: CLIENT_INVALID_REQUEST_BODY
            doc_url:
              type: string
              description: >-
                A link to the docs with details about this error. Example:
                https://sales-tax-docs.commenda.io/
              example: https://sales-tax-docs.commenda.io/
            title:
              type: string
              description: >-
                A short title describing the error. Example: Missing query
                parameters.
              example: Failed to validate the request body
            detail:
              type: string
              description: >-
                A json string with a description on how to fix the error.
                Example {"description":"Please pass in a valid corporation_id"}
            status:
              type: number
              description: >-
                The status code. It should be the same as the HTTP protocol
                status code. Example: 200
              example: 400
            instance:
              type: string
              description: >-
                The relative path that was hit by the user. Example:
                /api/v1/corporations/1
            Errors:
              type: array
              items:
                type: object
                properties:
                  details:
                    type: string
                    description: More details on how to solve this particular error.
                  pointer:
                    type: string
                    description: >-
                      Relative reference to missing or invalid piece of passed
                      information.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````