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

# Download a report

> Download the file of a report whose job status is `ready`. You can download a report for 30 days after its creation.

For every error this endpoint returns and what it means, see [API errors: Download a report](https://docs.cryptoprocessing.us/api-reference/errors.md#download-a-report).


## OpenAPI

````yaml GET /reporting/v1/jobs/{report_job_id}/download
openapi: 3.1.0
info:
  title: Merchant Backend V2
  version: '1.0'
  description: Documentation for merchant backend processing endpoints
servers:
  - url: https://app.cryptoprocessing.us/api
security:
  - xProcessingKey: []
tags:
  - name: Status
  - name: Balance
  - name: Currencies
  - name: Deposit addresses
  - name: Withdrawal
  - name: Exchange
  - name: Invoices
  - name: Transactions
  - name: Reporting
paths:
  /reporting/v1/jobs/{report_job_id}/download:
    get:
      tags:
        - Reporting
      summary: Download a report
      description: "Download the file of a report whose job status is `ready`. You can download a report for 30\_days after its creation."
      operationId: get-reporting-jobs-download
      parameters:
        - $ref: '#/components/parameters/XProcessingSignatureHeader'
        - $ref: '#/components/parameters/ReportJobIdPath'
      responses:
        '200':
          description: >
            **OK**


            The report file. The `Content-Disposition` header gives its name:


            - Payments report: a CSV file named `<merchant ID>-<merchant
            name>-Payments-<created_at_from>_<created_at_to>.csv`.

            - Transactions report: a CSV file named
            `Transactions-<created_at_from>_<created_at_to>.csv`.

            - Statement: a PDF file named `<merchant ID>-<merchant
            name>-<balance|fee|cash-flow>-statement-<day the statement was
            created>.pdf`, with the day written like `28-nov-2025`.


            If nothing matches the filters, a CSV file has only the header row.
          headers:
            Content-Disposition:
              description: The file name.
              schema:
                type: string
              example: >-
                attachment;
                filename="1234-my-company-Payments-2026-08-01_2026-08-31.csv"
          content:
            application/octet-stream:
              schema:
                oneOf:
                  - title: CSV file
                    type: string
                    contentMediaType: text/csv
                  - title: PDF file
                    type: string
                    contentMediaType: application/pdf
              examples:
                Report file:
                  value: CSV or PDF file
        '403':
          $ref: '#/components/responses/HeaderAuthorization'
        '404':
          $ref: '#/components/responses/ReportNotFound'
        '409':
          description: >
            **Conflict**


            The job [status](/api-reference/endpoints/jobs-info#response-status)
            isn't `ready`, so there is no file to download.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReportError'
              examples:
                Report isn't ready:
                  value:
                    message: Conflict
        '422':
          $ref: '#/components/responses/ReportJobIdValidationError'
        '429':
          $ref: '#/components/responses/TooManyRequests'
components:
  parameters:
    XProcessingSignatureHeader:
      name: X-Processing-Signature
      in: header
      required: true
      description: >-
        Hex-encoded HMAC-SHA512 signature of the request body, [generated using
        your secret key](/api-reference/authentication).
      schema:
        type: string
    ReportJobIdPath:
      name: report_job_id
      in: path
      required: true
      description: >-
        The `report_job_id` from the response to the request that created the
        report.
      schema:
        type: string
        example: fded1f73-3587-4ebe-a568-f3a01f5b2fed
  responses:
    HeaderAuthorization:
      description: |
        **Forbidden**
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                description: Human-readable error message.
              code:
                type: string
                description: Error code.
            description: >-
              Invalid or missing headers, the API key does not have access to
              the endpoint, or your merchant account is disabled. Refer to
              [Errors](/api-reference/errors#general-errors) for troubleshooting
              steps.
          examples:
            Bad signature header:
              value:
                error: Bad signature header
                code: bad_header_signature
            API key does not have the required ability:
              value:
                error: The API key does not have access to this endpoint.
                code: api_key_ability_required
            No signature header:
              value:
                error: No signature header
                code: required_header_signature
            No key header:
              value:
                error: No key header
                code: required_header_key
            Client is not enabled:
              value:
                error: Client is not enabled
                code: client_disabled
    ReportNotFound:
      description: |
        **Not Found**

        The report doesn't exist.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ReportError'
          examples:
            Report doesn't exist:
              value:
                message: Not Found
    ReportJobIdValidationError:
      description: |
        **Unprocessable Entity**

        The report ID isn't valid.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ReportValidationError'
          examples:
            Invalid report ID:
              value:
                message: Unprocessable Entity
                errors:
                  report_job_id: The report job id field is invalid.
    TooManyRequests:
      description: >
        **Too Many Requests**


        You sent too many requests in a short time. The limit is counted per API
        key, so requests from all your servers that use the same key count
        together. Wait before you send the request again, increasing the delay
        if you get `429` again, and handle this error by its status code, not by
        a particular response body. See [Too many
        requests](/api-reference/errors#too-many-requests-429-too-many-requests).
  schemas:
    ReportError:
      type: object
      required:
        - message
      properties:
        message:
          type: string
          description: Human-readable error message.
    ReportValidationError:
      type: object
      required:
        - message
        - errors
      properties:
        message:
          type: string
          description: Human-readable error message.
        errors:
          type: object
          description: >-
            A map of request field names to a human-readable validation error
            message for that field.
          additionalProperties:
            type: string
            description: Human-readable validation error message for this field.
  securitySchemes:
    xProcessingKey:
      type: apiKey
      description: Your [API key](/merchant-administration/generate-and-activate-api-keys).
      in: header
      name: X-Processing-Key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.