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.
| Parameter | Type | Required | Description |
|---|---|---|---|
draft_pid | string | yes | |
expected_revision | integer (≥ 1) | yes |
Access kind and annotations
Write: changes the state of a draft or an approval, creates no document in inFakt
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:invoices:writeapi:invoices:readapi:account:readapi:sensitive:bank_accounts:read