inFakt MCP server tool · Invoices: actions
infakt_mark_invoice_as_paid
Last updated: · Mark Invoice as Paid
Marks an invoice as paid on a given date, no earlier than the issue date.
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.
Oznacza fakturę jako opłaconą. Typy: vat (async), advance, corrective, margin, final (sync).
Zapisuje płatność w ewidencji inFakt; nie wykonuje przelewu.
Examples
infakt_meta_examples("mark_invoice_as_paid")
Limits
- paid_date nie może być wcześniejsza niż data wystawienia
Related tools (per the server)
- infakt_get_invoice - szczegóły faktury
- infakt_async_status - status operacji (dla VAT)
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_type | one of: "vat", "advance", "corrective", "margin", "final" | yes | Typ faktury. Obsługiwane: vat (async), corrective, margin, advance, final (sync). |
paid_date | date (YYYY-MM-DD) | no | Data faktycznej zapłaty (RRRR-MM-DD). Domyślnie dziś po stronie API. |
uuid | UUID | yes | UUID faktury, która ma zostać oznaczona jako opłacona |
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_meta_examples – Example calls for an operation.
- infakt_get_invoice – Details of one invoice of any type.
- infakt_async_status – Status of an async operation, e.g. invoice creation or a KSeF submission.