inFakt MCP server tool · Costs and expenses
infakt_costs_mark_unpaid
Last updated: · Mark Costs as Unpaid
Reverts the payment of up to 100 costs after preview and confirmation; 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 niezapłacone (cofa zapłatę) na koncie użytkownika; nie wykonuje przelewów.
When to use
koszt oznaczono jako zapłacony przez pomyłkę albo płatność nie doszła.
What it returns
jeden wpis w entities na każdy żądany uuid: success, failure (np. koszt już niezapłacony albo spoza konta) lub missing; success=true tylko gdy wszystkie się powiodły.
How to use
uuids 1–100. allow_correction=true dopuszcza korektę JPK, tylko za zgodą użytkownika. Pierwsze wywołanie zwraca podgląd i confirmation_token; potem to samo wywołanie z tokenem.
Examples
infakt_meta_examples("mark_costs_unpaid")
Related tools (per the server)
- infakt_get_costs_list - znajdź koszty (payment_statuses=["paid"])
- infakt_costs_mark_paid - ponowne oznaczenie jako zapłacone
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. |
uuids | list of UUID (min 1, max 100) | yes | Lista UUID dokumentów kosztowych do oznaczenia jako niezapł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_examples – Example calls for an operation.
- infakt_get_costs_list – Lists costs with date, kind and status filters.
- infakt_costs_mark_paid – Marks up to 100 costs as paid; makes no transfers.