Skip to content

inFakt MCP server tool · Approval card (MCP Apps)

infakt_invoice_app_status

Last updated: · Approval Card Status

Checks whether the card can still create the document.

Approval card onlyreadOnlyHintidempotentHint

This tool is called by the approval card in the MCP client (MCP Apps), not by the assistant.

What it does

The server’s own text, in Polish, written for the assistant. Names of other tools link to their pages.

Sprawdź, czy karta zatwierdzenia może jeszcze utworzyć dokument; niczego nie zmienia w inFakt. Tylko dla karty.

Dla wystawionej faktury VAT albo marża wynik niesie w _meta nowy jednorazowy kod KSeF dla przycisku karty (gdy wysyłka do KSeF z karty jest włączona); unieważnia on kod wydany wcześniej dla tej operacji. Po rozpoczęciu wysyłki _meta podaje już tylko operation_pid, bez kodu, aby karta odczytała stan wysyłki.

Parameters

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

ParameterTypeRequiredDescription
draft_pidstringyes
noncestringyes
revisioninteger (≥ 1)yes

Access kind and annotations

Approval card only: called by the approval card in the client, not by the assistant

  • readOnlyHint: true read-only: changes no data
  • destructiveHint: false non-destructive: overwrites or deletes nothing
  • 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:invoices:read
  • api:account:read