Skip to main content
Glama
fiscai-yuki-api-connector

fiscai-yuki-api-connector

Boeking: volgend item en voorstel

yuki_boeking_voorstel

Retrieves the next unprocessed bank transaction or workflow document and prepares or updates a Belgian booking proposal (account, VAT, relation, amount) without posting anything.

Instructions

Toont het volgende onbehandelde item (document uit de documentworkflow of bankverrichting op de wachtrekening) met een boekingsvoorstel (rekening, btw-code, relatie, bedrag, omschrijving; Belgisch MAR en btw-stelsel). Met item_id en aanpassingen krijgt u een bijgewerkt voorstel. Boekt NIETS. Voor workflowdocumenten (aankoop of verkoop) geeft het nooit een token: die handel je af in de Yuki-backoffice (knop 'Afhandelen'). Controleert eerst op een bestaande boeking (GetTransactionDetails rond de documentdatum): bij 'mogelijk al geboekt', 'al geboekt' of een mislukte controle is het item geblokkeerd (geen token) tenzij deblokkeren=true met deblokkeer_reden. Anders een eenmalig bevestigingstoken (met vervaltijd) gebonden aan exact dit voorstel. STANDAARD UIT: werkt alleen met YUKI_WRITE_ENABLED=ja.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "administratie": "<administratie>",
      "bron": "<bron>"
    },
    "name": "yuki_boeking_voorstel"
  }
}

Input Schema

NameRequiredDescriptionDefault
totNoJJJJ-MM-DD, standaard vandaag
vanNoJJJJ-MM-DD, standaard 1 januari van dit jaar
bronYeswachtrekening (niet-verwerkte bankverrichtingen op de wachtrekening) of documentworkflow (documenten in een archiefmap)
domeinNoOptioneel: domeinlabel. Kiest sleutel YUKI_ACCESS_KEY_<DOMEIN> als die bestaat en telt de calls op dat domein.
map_idNoVoor bron=documentworkflow: archiefmap-ID (zie yuki_archief_mappen)
item_idNoOptioneel: een bepaald item (anders het volgende)
vernieuwenNoSla de antwoordcache over (kost een Yuki-call)
deblokkerenNoAlleen na uitdrukkelijke keuze van de gebruiker: een door de dubbelcontrole geblokkeerd item toch voorstellen (vereist deblokkeer_reden; komt in het auditlog)
aanpassingenNoWijzigingen: type (aankoop|verkoop|bank), rekening, tegenrekening, btw_code (21|12|6|0), btw_bedrag, btw_nul_reden (verplicht bij btw 0: verlegd|intracommunautair|vrijgesteld|buiten_toepassingsgebied|kleine_onderneming|prive_niet_aftrekbaar|ander), btw_nul_toelichting (verplicht bij ander), btw_regels_bevestigd (verplicht bij verlegd/intracommunautair), btw_extra_regels (lijst {rekening,bedrag,omschrijving}, saldo 0), btw_aftrek (bool), btw_rekening, relatie, relatiecode, bedrag_incl, datum, omschrijving, referentie, categorie
administratieYesAdministratie: naam of Administration ID (GUID). Zie yuki_administraties.
wachtrekeningNoVoor bron=wachtrekening: code van de wachtrekening in het rekeningschema (bv. MAR 499; eerst controleren met yuki_rekeningschema)
deblokkeer_redenNoReden voor het deblokkeren (minstens 10 tekens)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Goes well beyond the annotations: it discloses the duplicate-booking pre-check, the three blocking states and their consequence (no token), the escape hatch with audit logging, the one-time expiring token bound to the exact proposal, and the YUKI_WRITE_ENABLED=ja gate. The 'Boekt NIETS' statement is not a contradiction of readOnlyHint=false — the tool issues tokens and writes audit entries, so the annotation is consistent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with the core action and the 'books nothing' constraint, then the blocking/token rules. It is dense and semicolon-heavy in the blocking sentence, but no sentence is filler and the ordering follows the agent's decision path.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 12-parameter tool with a nested aanpassingen object and no output schema, the description covers what comes back (proposal fields, token with expiry, blocked states) and the gating conditions. An agent has everything needed to call it and to interpret the response without extra documentation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: it explains that item_id plus aanpassingen yields a revised proposal, that deblokkeren is only allowed after an explicit user choice and lands in the audit log, and it enumerates what the proposal itself contains (account, VAT code, relation, amount, description).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb and resource: it shows the next unprocessed item (workflow document or suspense-account bank transaction) together with a booking proposal. It also explicitly states what it does NOT do ('Boekt NIETS') and scopes the two source types, so an agent can tell it apart from yuki_boeking_bevestigen and yuki_boeking_status without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Clear context for when to call it (fetch next item, or re-fetch a proposal by passing item_id plus aanpassingen) and explicit exclusions: workflow documents are never tokenized and must be handled in the Yuki backoffice, and blocked items require deblokkeren with a reason. The one gap is that the follow-up step (confirming the token via yuki_boeking_bevestigen) is only implied by 'Boekt NIETS', not named.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools