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)
- infakt_get_invoice - status i obecne pozycje szkicu
- infakt_corrective_invoice_create - korekta wystawionej faktury
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_date | date (YYYY-MM-DD) | no | Data wystawienia faktury (RRRR-MM-DD) |
notes | string | no | Dodatkowe uwagi |
payment_date | date (YYYY-MM-DD) | no | Termin płatności (RRRR-MM-DD) |
sale_date | date (YYYY-MM-DD) | no | Data sprzedaży (RRRR-MM-DD) |
services | list of object (min 1) | no | Pełna nowa lista pozycji, także niezmienionych: zastępuje wszystkie obecne, pominięte są usuwane |
uuid | UUID | yes | UUID 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: 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_invoice_create_similar – Prepares a copy of an existing VAT invoice or proforma as a draft for approval; lines and client can be replaced.
- infakt_meta_examples – Example calls for an operation.
- infakt_get_invoice – Details of one invoice of any type.
- infakt_corrective_invoice_create – Creates a corrective invoice for an issued VAT invoice of a saved client (
client_id).