Skip to content

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.

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 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.

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.
paid_ondate (YYYY-MM-DD)noData opłacenia (RRRR-MM-DD); brak = dzisiejsza data po stronie API
uuidslist of UUID (min 1, max 100)yesLista 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: 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