Skip to content

inFakt MCP server tool · Invoices: actions

infakt_invoice_update

Last updated: · Update Invoice

Edits a draft VAT invoice: dates, notes and the full list of lines; an issued invoice is not changed.

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.

Edytuje szkic faktury VAT (status draft). Pominięte pola pozostają bez zmian.

Limits

  • Tylko szkic VAT; wystawioną fakturę popraw korektą.
  • services zastępuje wszystkie pozycje - podaj pełną listę, także pozycje bez zmian.
  • Klienta nie zmienisz - dla innego klienta użyj infakt_invoice_create_similar z client_id.

Examples

infakt_meta_examples("update_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_datedate (YYYY-MM-DD)noData wystawienia faktury (RRRR-MM-DD)
notesstringnoDodatkowe uwagi
payment_datedate (YYYY-MM-DD)noTermin płatności (RRRR-MM-DD)
sale_datedate (YYYY-MM-DD)noData sprzedaży (RRRR-MM-DD)
serviceslist of object (min 1)noPełna nowa lista pozycji, także niezmienionych: zastępuje wszystkie obecne, pominięte są usuwane
uuidUUIDyesUUID szkicu faktury VAT (z infakt_get_invoices_list)

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