Skip to content

inFakt MCP server tool · Invoice drafts and approval

infakt_invoice_draft_discard

Last updated: · Discard Invoice Draft

Cancels a draft before it is issued; deletes nothing in inFakt.

WritedestructiveHintidempotentHint

What it does

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

Anuluj lokalny projekt przed rozpoczęciem wystawiania. Nie usuwa faktur w inFakt.

Parameters

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

ParameterTypeRequiredDescription
draft_pidstringyes
expected_revisioninteger (≥ 1)yes

Access kind and annotations

Write: changes the state of a draft or an approval, creates no document in inFakt

  • 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:invoices:write
  • api:invoices:read
  • api:account:read
  • api:sensitive:bank_accounts:read