Skip to content

inFakt MCP server tool · Invoice drafts and approval

infakt_invoice_advance_prepare

Last updated: · Prepare First Advance Invoice

Draft of a first advance invoice in PLN with one VAT rate (23, 8, 5 or 0).

Write through a draft and approvaldestructiveHint

What it does

The server’s own text, in Polish, written for the assistant. Names of other tools link to their pages.

Przygotuj pierwszą zaliczkę PLN/cash z jedną stawką VAT 23, 8, 5 albo 0, bez utworzenia faktury.

Kwoty podawaj jako tekst dziesiętny z walutą. Wszystkie pozycje mają tę samą stawkę VAT. Stawki, o którą prosi użytkownik, a której tu nie ma (zw, np, oo, kilka stawek), nie zamieniaj na inną: powiedz, że ten wariant jej nie obsługuje. infakt_invoice_approve zapisuje zaliczkę w inFakt jako szkic, a wynik sprawdzaj przez infakt_invoice_operation_get.

Schema

infakt_meta_schema("invoice_draft")

Parameters

Fields of the params object. Types and field descriptions come from the schema the server publishes in tools/list.

ParameterTypeRequiredDescription
draft_pidstringno
expected_revisioninteger (≥ 1)no
invoiceobject (advance_amount, advance_date, client_id, currency, invoice_date, not_income, payment_method, services)no
line_changeslist of object (max 1000)no

Access kind and annotations

Write through a draft and approval: the tool builds a draft outside inFakt; the document is created after the user approves it

  • readOnlyHint: false write: changes data or state
  • destructiveHint: true destructive: may overwrite or delete data, or cannot be undone
  • idempotentHint: false non-idempotent: each call may add something new
  • openWorldHint: false works only within the inFakt account

OAuth scopes the tool requires:

  • api:invoices:write
  • api:invoices:read
  • api:account:read

Related tools