Skip to main content
POST
Create import

Authorizations

X-Api-Key
string
header
required

API key for authentication. Generate one from your account settings.

Body

raw_file_content
string

Raw CSV or Sure NDJSON content as a string. CSV content is limited to 10MB. Required for SureImport unless a multipart file is uploaded.

file
file

CSV or Sure NDJSON upload when using multipart/form-data. CSV files are limited to 10MB.

type
enum<string>

Import type (defaults to TransactionImport)

Available options:
TransactionImport,
TradeImport,
AccountImport,
MintImport,
ActualImport,
YnabImport,
CategoryImport,
RuleImport,
MerchantImport,
PdfImport,
QifImport,
SureImport
account_id
string<uuid>

Account ID to import into

publish
string

Set to "true" to automatically queue for processing if configuration is valid

date_col_label
string

CSV imports only. Header name for the date column

amount_col_label
string

CSV imports only. Header name for the amount column

name_col_label
string

CSV imports only. Header name for the transaction name column

category_col_label
string

CSV imports only. Header name for the category column

tags_col_label
string

CSV imports only. Header name for the tags column

notes_col_label
string

CSV imports only. Header name for the notes column

account_col_label
string

CSV imports only. Header name for the account column when importing rows across multiple accounts

qty_col_label
string

CSV trade imports only. Header name for the quantity column

ticker_col_label
string

CSV trade imports only. Header name for the ticker column

price_col_label
string

CSV trade imports only. Header name for the price column

entity_type_col_label
string

CSV imports only. Header name for the entity type column

currency_col_label
string

CSV imports only. Header name for the currency column

exchange_operating_mic_col_label
string

CSV trade imports only. Header name for the exchange operating MIC column

date_format
string

CSV imports only. Date format pattern (e.g., "%m/%d/%Y")

number_format
enum<string>

CSV imports only. Number format for parsing amounts

Available options:
1,234.56,
1.234,56,
1 234,56,
1,234
signage_convention
enum<string>

CSV imports only. How to interpret positive/negative amounts

Available options:
inflows_positive,
inflows_negative
col_sep
enum<string>

CSV imports only. Column separator

Available options:
,,
;
amount_type_strategy
enum<string>

CSV imports only. Amount parsing strategy

Available options:
signed_amount,
custom_column
amount_type_inflow_value
string

CSV imports only. Column value that marks an amount as an inflow when using custom_column strategy

Response

import created

data
object
required