Skip to main content
POST
Bulk update transactions

Authorizations

Authorization
string
header
required

An API key prefixed with finta_, or the access token from a Finta CLI browser login (finta login), prefixed with finta_oat_. A CLI login's access token lasts one hour and the CLI renews it itself.

Headers

Idempotency-Key
string
required

Nonblank string of 1–255 characters. Whitespace-only and oversized keys return 400 invalid_request with param Idempotency-Key.

Required string length: 1 - 255
Pattern: \S

Body

application/json

Exactly one non-empty selector and a non-empty updates object; no unknown top-level keys.

filters
object
required

Exactly these eleven filters are public, plus category, a name in place of category_id; combine supplied fields with AND against pre-update values. Selects all matches without pagination. start_date and end_date are inclusive and end_date must not precede start_date. Explicit null is invalid for filters.

updates
object
required

Omitted fields are unchanged. tag_id must be the sole field, a tag_ ID or null. Null clears tag/department/spread or restores the original date. merchant and category_id cannot be null. accounting_date and accounting_shift cannot coexist, including a null date. Shared eligibility restrictions apply at execution. Jobs may skip rows, including admitted category-only save-validation refusals, as described for bulk_update. Global validation and execution failures retain the documented chunk failure behavior.

Response

Original queued acceptance, including on replay after success or failure. Retrieve Location for the current outcome.

id
string
required
Pattern: ^job_[A-Za-z0-9]+$
object
enum<string>
required
Available options:
job
type
enum<string>
required
Available options:
bulk_update_transactions
status
enum<string>
required

queued awaits execution; processing has a frozen selection; success has committed edits and durable reporting refresh intent and may carry per-transaction errors for skipped rows, including rows not attempted because the job stopped after saving earlier chunks; failed has no committed edits. Reporting refresh can finish after success.

Available options:
queued,
processing,
success,
failed
matched_count
integer | null
required

Null until selection succeeds, then the number of frozen targets, including skipped rows. A successful empty selection is zero.

Required range: x >= 0
updated_count
integer
required

Distinct transactions actually changed, including assignment provenance, counted once each. Removing an already-empty department is excluded even when it writes manual protection against later automated assignment. Skipped rows are excluded. Failed jobs always report zero.

Required range: x >= 0
errors
object
required

Paginated errors for failed jobs or skipped transactions on success. Follow has_more and next_cursor for either status.

category_resolution
object

Only on the 202 to a request whose updates.category Finta's model matched (matched jev); the stored acceptance a replay returns leaves it out.

filters_category_resolution
object

Only on the 202 to a request whose filters.category Finta's model matched (matched jev); the stored acceptance a replay returns leaves it out.