---
title: "Export transactions"
method: GET
path: "/api/v1/transactions/export"
tags: ["Transactions"]
---

# Export transactions

`GET /api/v1/transactions/export`

Export transactions as CSV or XLSX file.

## Query parameters

- `format` 'csv' | 'xlsx' | 'pdf'
- `scope` 'all' | 'bank' | 'fiat' | 'crypto'
- `type` string, nullable — Comma-separated transaction types
- `incomeOnly` boolean, nullable
- `tag` string, nullable — Comma-separated tags
- `status` string, nullable — Comma-separated unified statuses
- `contactId` string, nullable — Comma-separated contact UUIDs
- `bank_account_id` string, nullable — Comma-separated bank account UUIDs
- `bankAccountId` string, nullable — Comma-separated bank account UUIDs
- `cardId` string, nullable — Comma-separated Card UUIDs
- `fromDate` string, date-time, nullable
- `toDate` string, date-time, nullable
- `asOf` string, date, nullable — Reporting-date cutoff (YYYY-MM-DD). Caps results at the end of that day; ignored when toDate is set.
- `hasInvoice` boolean, nullable — True → only transactions linked to an invoice; False → only those without one; omitted → no filter.
- `q` string, nullable — Free-text search across description, merchant, tag, hash/wallet, contact name, counterparty user, invoice contractor, IBAN, and exact amount. Min 2 chars; values shorter are ignored.

## Headers

- `x-api-key` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-08-27** `7ed1b58c5607` — 4 info
  - added the new optional `query` request parameter `asOf`
  - added the new optional `query` request parameter `hasInvoice`
  - added the new optional `query` request parameter `scope`
  - added the new enum value `pdf` to the `query` request parameter `format`

[Change history](https://skmtc.dev/hevn-inc/apis/hevn-api/changes/api/v1/transactions/export/get.md)

---

[API](https://skmtc.dev/hevn-inc/apis/hevn-api.md) · [All operations](https://skmtc.dev/hevn-inc/apis/hevn-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hevn-inc/hevn-api/revisions/7ed1b58c5607/schema)
