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)
- infakt_get_invoices_list - znajdź fakturę (uuid)
Parameters
Fields of the params object. Types and field descriptions come from the schema the server publishes in tools/list.
| Parameter | Type | Required | Description |
|---|---|---|---|
confirmation_token | string | no | Przy 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_type | one of: "vat", "advance", "corrective", "corrective_oss", "final", "internal", "margin", "oss" | yes | Typ faktury (vat, advance, corrective, itp.) |
uuid | UUID | yes | UUID 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: 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:write
Related tools
- infakt_meta_examples – Example calls for an operation.
- infakt_get_invoices_list – Lists invoices of one type with date, number and period filters; returns the basic fields by default, the rest via
fields=.