Skip to main content
POST
Record an answer about one transaction row

Authorizations

Authorization
string
header
required

Portal API key minted in portal Settings → API access. Scope read or write; pinned to one company. Send as Authorization: Bearer lac_sk_....

Body

application/json
row_id
string
required

Display context from the selected row; never resolved as canonical identity.

Example:

"g-phone"

resource_uri
string<uri>
required

Server-authored resource_ref.uri of the selected bank transaction.

resource_revision
string
required

Server-authored resource_ref.revision of the selected bank transaction.

kind
enum<string>
required

Which answer this is. split must carry the parts in note; reclassify must carry proposed_account.

Available options:
no_receipt,
private,
split,
reclassify
note
string

Free-text detail. Required for split (name the parts).

proposed_account
string

For reclassify only: what the row should be, in your own words ("phone costs"). It is NOT an account code — Björn maps it onto the chart of accounts. Maximum 200 characters; put longer detail in note.

Maximum string length: 200
Example:

"phone costs"

customer_id
string

Target company. Optional for API keys.

Response

Declaration recorded and Björn woken.

event_id
string

The dispatched customer.declaration.recorded event.

declaration
object
status
object

The row state this declaration commits the row to.