inFakt MCP server tool · Products
infakt_product_update
Last updated: · Update Product
Changes selected fields of a product; net, VAT and gross are recomputed by the server.
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.
Zmienia produkt (uuid z infakt_get_products_list). Podaj tylko pola do zmiany; ceny w groszach.
Examples
infakt_meta_examples("update_product")
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. |
gtu_id | integer (≥ 1, ≤ 13) | no | Kod GTU (1-13) |
name | string | no | Nazwa produktu/usługi |
pkwiu | string | no | Kod PKWiU |
quantity | number (> 0) | no | Ilość |
symbol | string | no | Symbol produktu (PKWiU/CN/PKOB) |
tax_symbol | one of: "0", "5", "7", "8", "23", "np", "zw" | no | Stawka VAT |
unit | string | no | Jednostka miary (np. szt., kg, godz.) |
unit_net_price | integer | no | Cena jednostkowa netto w groszach (np. 6623 = 66.23 PLN) |
uuid | UUID | yes | UUID produktu |
vat_exemption_reason | integer | no | ID z infakt_get_vat_exemptions_list, wymagane dla tax_symbol="zw" |
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_get_products_list – Lists products and services with prices.
- infakt_meta_examples – Example calls for an operation.