Skip to content

inFakt MCP server tool · Invoices: actions

infakt_invoice_delete

Last updated: · Delete Invoice

Deletes an invoice of any type after preview and confirmation; refuses invoices sent to KSeF.

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.

Usuwa fakturę dowolnego typu. Operacji nie można cofnąć.

Limits

  • faktury wysłanej do KSeF nie usuniesz - wystaw do niej korektę
  • zaliczkę usuniesz dopiero po fakturze końcowej i kolejnych zaliczkach

Examples

infakt_meta_examples("delete_invoice")

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
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.
invoice_typeone of: "vat", "advance", "corrective", "corrective_oss", "final", "internal", "margin", "oss"yesTyp faktury (vat, advance, corrective, itp.)
uuidUUIDyesUUID faktury do usunięcia

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:invoices:write

Related tools