Add a row to a statement's staging area
Manual escape hatch for a row the AI extraction dropped — the
statement’s balance_check never reconciles and it cannot be
imported until the missing row exists. Mirrors what the web review
screen’s “add row” does by hand.
The new row is created pending, at row_index one past the current
highest row on the statement, so it never collides with a later
re-extraction (which offsets from the maximum too).
Requires manage:bank_accounts — the same scope import requires,
because a staged row becomes accounting data the moment it is
imported.
Authentication
JWT issued via POST /api/v1/auth/sign_in. Used by mobile and SPA clients. Revoked tokens are rejected.
Lucanto API key. Two prefixes:
lct_pat_<random><checksum>— personal access token (owner: User)lct_live_<random><checksum>— workspace token, live data
Issue keys at /settings/api_keys (personal) or
/:workspace_id/settings/api_keys (workspace). Plaintext token is
shown once and never again.
Path parameters
Bank statement ID. Either the numeric id or the public_id (bst_…).
Headers
Client-supplied unique key (recommended: UUID v4) for safe
retries. Within 24 hours, repeating the same key with the same
request (method, path, query, body) replays the original
response instead of re-executing the action — once the action
has run, a 5xx included; a request stopped before it ran is not
stored. Reusing
a key with a different request returns
422 idempotency_key_conflict (IETF draft §2.7).
Request
Response
informational is a zero-amount line the statement prints for information
(a fee summary such as “BANKFEE 0.00”). It is never imported; correcting its
amount to a non-zero value turns it back into pending.
ISO-4217 currency code, always uppercase (EUR).
