Record an answer about one transaction row
Records what you say about one bank-transaction row: that no receipt exists, that the payment was private, how it splits, or that it belongs in a different place in the books. The declaration is evidence for Björn, never a posting and never an edit: he reads it, acts with his own judgment, and closes it — so the row reads “Reviewing” until he does.
Declarations attach to bank-transaction rows only. Journal-entry rows (je:…), payslip rows and split constituent rows (…#L2) are refused. One open declaration exists per row: a second answer replaces it in place and returns the same declaration id. Requires a write-scoped key.
Authorizations
Portal API key minted in portal Settings → API access. Scope read or write; pinned to one company. Send as Authorization: Bearer lac_sk_....
Body
Display context from the selected row; never resolved as canonical identity.
"g-phone"
Server-authored resource_ref.uri of the selected bank transaction.
Server-authored resource_ref.revision of the selected bank transaction.
Which answer this is. split must carry the parts in note; reclassify must carry proposed_account.
no_receipt, private, split, reclassify Free-text detail. Required for split (name the parts).
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.
200"phone costs"
Target company. Optional for API keys.