Skip to content

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.

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.
gtu_idinteger (≥ 1, ≤ 13)noKod GTU (1-13)
namestringnoNazwa produktu/usługi
pkwiustringnoKod PKWiU
quantitynumber (> 0)noIlość
symbolstringnoSymbol produktu (PKWiU/CN/PKOB)
tax_symbolone of: "0", "5", "7", "8", "23", "np", "zw"noStawka VAT
unitstringnoJednostka miary (np. szt., kg, godz.)
unit_net_priceintegernoCena jednostkowa netto w groszach (np. 6623 = 66.23 PLN)
uuidUUIDyesUUID produktu
vat_exemption_reasonintegernoID 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: 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