Skip to content

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.

Write with a confirmation tokendestructiveHintidempotentHint

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)

Parameters

Fields of the params object. Types and field descriptions come from the schema the server publishes in tools/list.

ParameterTypeRequiredDescription
allow_correctionbooleannoZezwól na korektę deklaracji podatkowej (JPK), jeśli operacja ją wywoła
confirmation_tokenstringnoPrzy 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.
uuidslist of UUID (min 1, max 100)yesLista 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: false write: changes data or state
  • destructiveHint: true destructive: may overwrite or delete data, or cannot be undone
  • idempotentHint: true idempotent: repeating it with the same arguments yields the same state
  • openWorldHint: false works only within the inFakt account

OAuth scopes the tool requires:

  • api:costs:write

Related tools