Skip to main content
POST
Validate import content without creating an 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.

type
enum<string>

Import type to validate (defaults to TransactionImport)

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

Account ID used for account-scoped CSV import validation

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

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

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:
,,
;
rows_to_skip
integer

CSV imports only. Number of leading rows to skip before reading headers

Required range: x >= 0
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 content preflighted

data
object
required