Skip to main content
POST
Submit transaction upload

Authorizations

Authorization
string
header
required

API key prefixed with finta_

Body

application/json
account_id
string

An acct_ ID from GET or POST /accounts. Required on the first call.

upload_id
string | null

The id returned by the first call.

file_totals
object

Computed from the file itself. Required on the first call; cannot change.

columns
enum<string>[]

The order of values in each row. Required with the first rows.

Available options:
row,
date,
description,
amount
rows
((string | number | null)[])[]

row is the 1-based row number; resending it replaces the row. date is as the file writes it, so Finta can tell month/day from day/month. description is at most 40 characters. amount is a signed decimal such as -45.00.

Maximum array length: 500
date_format
enum<string>

Order of numeric dates, when an open question asks.

Available options:
MDY,
DMY
sign_convention
enum<string>

How the file signs money out. Defaults to negative_is_money_out.

Available options:
negative_is_money_out,
positive_is_money_out
exclude
object[]

Rows to leave out. Adds to earlier exclusions.

acknowledged_warnings
enum<string>[]

Blocking warnings you accept, covering the rows they list now.

Available options:
possible_duplicate,
overlaps_existing_data,
possible_investment_trade,
possible_reversal_pair
allow_synced_account
boolean

Upload to an account that syncs from an integration. Confirm with the user first.

commit
boolean

Import the upload if nothing blocks it.

Response

The upload after this call.

id
string
required

Pass as upload_id on later calls.

object
enum<string>
required
Available options:
transaction_upload
account_id
string
required
status
enum<string>
required
Available options:
draft,
importing,
imported,
failed
rows_expected
integer
required
rows_received
integer
required
rows_remaining
integer
required
totals_match
boolean | null
required

Null until every row is received and readable.

summary
object
required

What a commit would import, or did.

errors
object[]
required

Fix by resending or excluding rows; no override.

warnings
object[]
required
open_questions
object[]
required
ready_to_commit
boolean
required
next_step
string
required
result
object | null
required

Null while the upload is a draft.