Sammelabstimmung anlegen
Erzeugt eine Sammelabstimmung für eine oder mehrere Banktransaktionen gegen mehrere offene Debitoren- oder Kreditorenposten. Alle Banktransaktionen müssen vom selben Bankkonto stammen und dieselbe Richtung haben. Gebühren, Rundungen, Reserven oder Write-offs werden als adjustments erfasst.
create_bank_match_group
Authorization
Authorization string header erforderlich API-Key im Format
ll_.... Übergabe als Bearer Token im OAuth-Flow. Scopes
bank:write
Parameter
bank_transaction_ids array<string (uuid)> erforderlich Offene Banktransaktionen desselben Bankkontos
allocations array erforderlich Aufteilungen auf offene Posten: { intent_id, candidate_kind, open_item_account, allocated_bank_amount, settled_document_amount? }
adjustments array optional Optionale Ausgleichszeilen: { account_number, posting_side, amount, description? }
Antwort
200
Erfolgreich
MCP
JSON create_bank_match_group {
"tool": "create_bank_match_group",
"params": {
"bank_transaction_ids": [
"<string>"
],
"allocations": [
{
"intent_id": "<string>",
"candidate_kind": "<string>",
"open_item_account": "<string>",
"allocated_bank_amount": 1
}
],
"adjustments": [
{
"account_number": "<string>",
"posting_side": "<string>",
"amount": 1,
"description": "<string>"
}
]
}
} 200 Response
JSON {
"ok": true,
"match_group_id": "<string>",
"intent_id": "<string>",
"mode": "<string>"
}