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

# Export Transactions

> Request a PDF or CSV export of transaction history

<ParamField header="Authorization" type="string" required>
  Bearer token: `Bearer YOUR_ACCESS_TOKEN`
</ParamField>

<ParamField body="format" type="string" required>
  Export format: `pdf` or `csv`.
</ParamField>

<ParamField body="date_from" type="string">
  Start date filter (ISO 8601 date, e.g., `2026-03-01`).
</ParamField>

<ParamField body="date_to" type="string">
  End date filter (ISO 8601 date, e.g., `2026-03-31`).
</ParamField>

<ParamField body="types" type="string[]">
  Filter by transaction types. If omitted, all types are included.
</ParamField>

<RequestExample>
  ```bash theme={null}
  curl -X POST '/unified-transactions/export' \
    -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
    -H 'Content-Type: application/json' \
    -d '{
      "format": "pdf",
      "date_from": "2026-03-01",
      "date_to": "2026-03-31",
      "types": ["deposit", "withdrawal", "swap"]
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json theme={null}
  {
    "success": true,
    "data": {
      "export_id": "exp_01abc123",
      "format": "pdf",
      "status": "processing",
      "filters": {
        "date_from": "2026-03-01",
        "date_to": "2026-03-31",
        "types": ["deposit", "withdrawal", "swap"]
      },
      "created_at": "2026-04-01T12:00:00Z"
    }
  }
  ```
</ResponseExample>

<Note>
  Export files are available for download for **24 hours** after generation. Use the [Download Export](/api-reference/unified-transactions/download) endpoint to retrieve the file.
</Note>
