The basis of a proposed Command in the Mandant's records: an active Regel that would issue exactly it, an identical earlier capture a person booked (same Geschäftspartner, Kategorie and Steuersatz), and for a Bankumsatz whether the Abgleich has exactly this one candidate. Read only, within the caller's rights.
curl --request POST \ --url https://example.com/v1/queries/command.basis \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "origin": { "display_name": "example", "id": "example", "kind": "example" }, "payload": { "command": "example", "payload": null }, "rationale": "example" }'Authorizations
Abschnitt betitelt „Authorizations“Parameters
Abschnitt betitelt „Parameters“Header Parameters
Abschnitt betitelt „Header Parameters“The Mandant a session acts on; an API-Schlüssel is bound to its own.
Request Body
Abschnitt betitelt „Request Body“object
Who or what a call comes from beyond its Actor, set by the caller (an automation, an integration): stored and hashed with the log entry, shown and filtered in the Verlauf.
object
The name a person reads in the Verlauf, 1 to 120 characters.
The caller’s own id of it, 1 to 200 characters.
What kind of caller, 1 to 40 of a-z, 0-9 and _ (for example automation, integration).
object
A Mandant Command of the registry.
Its payload, as it would be sent.
Why the Actor issues this; stored in the Command-Log.
Responses
Abschnitt betitelt „Responses“Result
object
For bank_transaction.assign: what the deterministic Abgleich says about it.
What the deterministic Abgleich says about a proposed bank_transaction.assign.
object
The candidates of the Bankumsatz by the rules of the Abgleich (none once it is linked).
The proposal links exactly that candidate, nothing else.
The unambiguous candidate (what bank_transaction.assign_matching links).
object
Posten, zahlung, umbuchung, rueckbuchung, fixkosten.
An expected expense of a recurring expense (art fixkosten).
object
Betrag, rechnungsnummer, anzahlungsrechnung, name, iban, datum.
For buchung.record: the latest capture a person booked (or confirmed) with the same
Geschäftspartner (else Aussteller), the same Kategorien and Steuersätze, not reversed.
object
The entry of the Command-Log (history.get).
Example generated
{ "bank_match": { "candidates": 1, "proposal_matches": true, "single_match": { "amount": "example", "bank_transaction_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "buchung_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "date": "2026-04-15", "kind": "example", "lauf_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "matches": true, "open_item_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "reasons": [ { "code": "example", "text": "example" } ], "text": "example" } }, "precedent": { "buchung_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "seq": 1, "time": "2026-04-15T12:00:00Z" }, "rule": { "name": "example", "rule_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }}default
Abschnitt betitelt „default“Problem
object
What is wrong.
The Command the next step names, whatever the language of next_step.
What to do next.
Fields that complete the refused call when the refusal carries a proposal: merged into its payload, the same call goes through.
Example
{ "code": "validation"}