---
title: "Import Transactions"
method: POST
path: "/api/transactions/import"
tags: ["import"]
---

# Import Transactions

`POST /api/transactions/import`

## Headers

- `X-Workspace-Id` string, nullable

## Request body

- TransactionImportRequest
  - `account_id` string, uuid, required
  - `transactions` TransactionImportInput[], required
    - `description` string, required
    - `amount` union, required
      - number
      - string
    - `date` string, date, required
    - `type` string, required
    - `external_id` string, nullable
    - `currency` string, nullable
    - `fx_rate` union
      - number
      - string
    - `payee_raw` string, nullable
    - `category_name` string, nullable
    - `suggested_category_id` string, uuid, nullable
    - `suggested_category_name` string, nullable
    - `excluded` boolean
    - `category_id` string, uuid, nullable
    - `force_uncategorized` boolean
  - `filename` string
  - `detected_format` string
  - `detect_duplicates` boolean

## Response `201`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/usesecuro/apis/securo.md) · [All operations](https://skmtc.dev/usesecuro/apis/securo/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usesecuro/securo/revisions/1df3dfa0c028/schema)
