inFakt MCP server tool · Costs and expenses
infakt_costs_mark_paid
Last updated: · Mark Costs as Paid
Marks up to 100 costs as paid; makes no transfers.
What it does
The server’s own text, in Polish, written for the assistant. Names of other tools link to their pages.
Oznacza koszty jako zapłacone na koncie użytkownika; nie wykonuje przelewów.
uuids: 1–100. paid_on: data zapłaty, domyślnie dziś. allow_correction=true dopuszcza korektę JPK. Zwraca success (true tylko dla wszystkich uuid) i entities (uuid, number, status). Brakujące uuid są pomijane w entities — porównaj z żądaniem.
Help
infakt_meta_schema("cost"), infakt_meta_examples("mark_costs_paid"). Koszty wyszukasz przez infakt_get_costs_list.
Parameters
Fields of the params object. Types and field descriptions come from the schema the server publishes in tools/list.
| Parameter | Type | Required | Description |
|---|---|---|---|
allow_correction | boolean | no | Zezwól na korektę deklaracji podatkowej (JPK), jeśli operacja ją wywoła |
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. |
paid_on | date (YYYY-MM-DD) | no | Data opłacenia (RRRR-MM-DD); brak = dzisiejsza data po stronie API |
uuids | list of UUID (min 1, max 100) | yes | Lista UUID dokumentów kosztowych do oznaczenia jako zapłacone (1-100) |
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: truedestructive: may overwrite or delete data, or cannot be undoneidempotentHint: trueidempotent: repeating it with the same arguments yields the same stateopenWorldHint: falseworks only within the inFakt account
OAuth scopes the tool requires:
api:costs:write
Related tools
- infakt_meta_schema – YAML schema of a resource.
- infakt_meta_examples – Example calls for an operation.
- infakt_get_costs_list – Lists costs with date, kind and status filters.