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

# Downloads the result files

> Downloads the result file of the transaction.

<Note>For how to find result file identifiers and download extracted data, see [Processing documents with a single API call](/vantage/developer/processing-documents/processing-documents-single-api).</Note>


## OpenAPI

````yaml /openapi.json get /api/publicapi/v1/transactions/{transactionId}/files/{fileId}/download
openapi: 3.0.1
info:
  title: Vantage processing REST API
  description: >-
    The Vantage Processing REST API lets you process documents programmatically:
    create transactions, upload files, launch skills, monitor progress, and
    download results. For authentication and a first end-to-end request, see the
    [Getting started guide](/vantage/developer/getting-started).
  version: '1.0'
  x-application-version: 1.0.0-20251028.13+6e102d0c2a7a440df9ee9615e09b3c8c333587ac
servers:
  - url: https://vantage-us.abbyy.com
    description: Production United States
  - url: https://vantage-eu.abbyy.com
    description: Production Europe
  - url: https://vantage-au.abbyy.com
    description: Production Australia
security:
  - OAuth2Security:
      - global.wildcard
      - openid
      - permissions
paths:
  /api/publicapi/v1/transactions/{transactionId}/files/{fileId}/download:
    get:
      tags:
        - Transactions
      summary: Downloads the result files
      description: Downloads the result file of the transaction.
      operationId: DownloadFile
      parameters:
        - name: transactionId
          in: path
          description: >-
            Transaction identifier. You receive it in the response after the
            transaction has been successfully created.
          required: true
          schema:
            type: string
            format: uuid
        - name: fileId
          in: path
          description: >-
            File identifier. You can find it in the transaction details, under
            documents - resultFiles.
          required: true
          schema:
            type: string
      responses:
        '200':
          description: >-
            Returns the raw bytes of the requested result file. The `fileId`
            comes from the transaction status response
            (`documents[].resultFiles[]`), where each entry also has a `type`: a
            Document skill produces a `Json` file (full results and field
            metadata; structure described in the [JSON schema
            reference](/vantage/developer/output/json/json-schema)) and a
            `FieldsJson` file (extracted values only). Other formats (XML, and
            so on) depend on the skill's export settings. The example below
            shows an abridged values-only (`FieldsJson`) result.
          content:
            application/octet-stream:
              schema:
                type: string
                format: binary
              example:
                Version: '3.0'
                Fields:
                  Invoice Number: INV-2024-0042
                  Invoice Date: 01/15/2024
                  Currency: USD
                  Total: 1,250.00
                  Business Unit:
                    Name: Acme Corp
                    City: Springfield
                    CountryCode: US
                  Line Items:
                    - Description: Widget, industrial grade
                      Quantity: '2'
                      Unit Price: '625.00'
                      Total Price: 1,250.00
        '403':
          description: Forbidden
          content:
            application/octet-stream:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
        '404':
          description: Transaction or file not found
          content:
            application/octet-stream:
              schema:
                $ref: '#/components/schemas/Microsoft.AspNetCore.Mvc.ProblemDetails'
components:
  schemas:
    Microsoft.AspNetCore.Mvc.ProblemDetails:
      type: object
      properties:
        type:
          type: string
          nullable: true
          description: URI reference that identifies the problem type.
        title:
          type: string
          nullable: true
          description: Short, human-readable summary of the problem type.
        status:
          type: integer
          format: int32
          nullable: true
          description: HTTP status code for this occurrence of the problem.
        detail:
          type: string
          nullable: true
          description: >-
            Human-readable explanation specific to this occurrence of the
            problem.
        instance:
          type: string
          nullable: true
          description: >-
            URI reference that identifies this specific occurrence of the
            problem.
      additionalProperties: {}
  securitySchemes:
    OAuth2Security:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://vantage-us.abbyy.com/auth2/connect/authorize
          tokenUrl: https://vantage-us.abbyy.com/auth2/connect/token
          scopes:
            global.wildcard: Global wildcard
            openid: User Id
            permissions: User permissions

````