---
title: "Create a new file import account"
method: POST
path: "/CheckAccount/Factory/fileImportAccount"
tags: ["CheckAccount"]
---

# Create a new file import account

`POST /CheckAccount/Factory/fileImportAccount`

Creates a new banking account for file imports (CSV, MT940).

## Request body

- CreateFileImportAccount
  - `name` string — Name of the check account
  - `importType` 'CSV' | 'MT940' — Import type. Transactions can be imported by this method on the check account.
  - `accountingNumber` integer, nullable — The booking account used for this bank account, e.g. 1800 in SKR04 and 1200 in SKR03. Must be unique among all your CheckAccounts. Ignore to use a sensible default.
  - `iban` string, nullable — IBAN of the bank account, without spaces

## Response `201`

Created

- object
  - `objects` CreateFileImportAccountResponse — CheckAccount model. Showing the properties relevant to file import accounts.
    - `id` string — The check account id
    - `objectName` string — The check account object name, always 'CheckAccount'
    - `create` string, date-time — Date of check account creation
    - `update` string, date-time — Date of last check account update
    - `sevClient` object — Client to which check account belongs. Will be filled automatically
      - `id` string, required — Unique identifier of the client
      - `objectName` string, required — Model name, which is 'SevClient'
    - `name` string — Name of the check account
    - `iban` string, nullable — The IBAN of the account
    - `type` 'online' | 'offline' — The type of the check account. Account with a CSV or MT940 import are regarded as online.
    - `importType` 'CSV' | 'MT940' — Import type, for accounts that are type "online" but not connected to a data provider. Transactions can be imported by this method on the check account.
    - `currency` string — The currency of the check account.
    - `defaultAccount` '0' | '1' — Defines if this check account is the default account.
    - `status` '0' | '100' — Status of the check account. 0 <-> Archived - 100 <-> Active
    - `autoMapTransactions` '0' | '1' — Defines if transactions on this account are automatically mapped to invoice and vouchers when imported if possible.
    - `accountingNumber` string — The booking account used for this bank account, e.g. 1800 in SKR04 and 1200 in SKR03. Must be unique among all your CheckAccounts. Ignore to use a sensible default.

## Other responses

- `400` — Bad request
- `401` — Authentication required
- `422` — Invalid value given
- `500` — Server error

---

[API](https://skmtc.net/sevdesk/apis/sevdesk-api.md) · [All operations](https://skmtc.net/sevdesk/apis/sevdesk-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sevdesk/sevdesk-api/versions/a32cec0fecea/schema)
