inFakt MCP server tool · Costs and expenses
infakt_cost_note_add
Last updated: · Add Cost Note
Adds a note to one cost after preview and confirmation; existing notes stay.
What it does
The server’s own text, in Polish, written for the assistant. Names of other tools link to their pages.
Dodaje notatkę do jednego dokumentu kosztowego (każdy rodzaj i status).
When to use
użytkownik chce dopisać uwagę do kosztu, np. dla księgowej.
What it returns
nowa notatka przy koszcie w inFakt; istniejące notatki zostają bez zmian.
How to use
uuid z infakt_get_costs_list, content 1–2000 znaków. Pierwsze wywołanie zwraca podgląd i confirmation_token; po zgodzie użytkownika wywołaj ponownie z tym samym payloadem i tokenem.
Examples
infakt_meta_examples("add_cost_note")
Related tools (per the server)
- infakt_get_costs_list - znajdź koszt (uuid)
- infakt_get_cost - odczyt notatki z fields=newest_note
Parameters
Fields of the params object. Types and field descriptions come from the schema the server publishes in tools/list.
| Parameter | Type | Required | Description |
|---|---|---|---|
confirmation_token | string | no | Przy pierwszym wywołaniu pozostaw to pole puste, aby otrzymać preview operacji i podpisany token potwierdzenia. Po akceptacji użytkownika wywołaj narzędzie ponownie z identycznym payloadem oraz zwróconym confirmation_token. |
content | string (min 1, max 2000) | yes | Treść notatki (1–2000 znaków) |
uuid | UUID | yes | UUID kosztu (z infakt_get_costs_list) |
Access kind and annotations
Write with a confirmation token: the first call returns a preview and a token, the second call with that token performs the operation
readOnlyHint: falsewrite: changes data or statedestructiveHint: falsenon-destructive: overwrites or deletes nothingidempotentHint: falsenon-idempotent: each call may add something newopenWorldHint: falseworks only within the inFakt account
OAuth scopes the tool requires:
api:costs:write
Related tools
- infakt_get_costs_list – Lists costs with date, kind and status filters.
- infakt_meta_examples – Example calls for an operation.
- infakt_get_cost – One cost document with its lines.