inFakt MCP server tool · Costs and expenses
infakt_get_costs_list
Last updated: · List Costs
Lists costs with date, kind and status filters.
What it does
The server’s own text, in Polish, written for the assistant. Names of other tools link to their pages.
Lista kosztów z filtrami (data wystawienia, rodzaj, statusy). Domyślne sortowanie: created_at desc.
Tylko odczyt z konta użytkownika; bez zmiany statusów i płatności.
Schema
infakt_meta_schema("cost")
Examples
infakt_meta_examples("list_costs") Słowniki: infakt_meta_dictionary("cost_kinds"), infakt_meta_dictionary("cost_accounting_statuses"), infakt_meta_dictionary("payment_statuses")
Parameters
Fields of the params object. Types and field descriptions come from the schema the server publishes in tools/list.
| Parameter | Type | Required | Description |
|---|---|---|---|
cost_accounting_statuses | list of one of: "cost_accounted", "autox_accounted", "cost_rejected", "to_clarify", "cost_not_accounted", "cost_accounting_not_applicable" | no | Filtruj po statusie księgowania kosztu (lista wartości) |
document_statuses | list of one of: "cost_accounted", "autox_accounted", "cost_rejected", "to_clarify", "cost_not_accounted", "cost_accounting_not_applicable", "paid", "unpaid", "partial_payment", "payment_not_applicable" | no | Filtruj po symbolach statusu dokumentu (lista wartości) |
fields | string | no | Ograniczenie zwracanych pól |
issue_date_from | date (YYYY-MM-DD) | no | Data wystawienia od (RRRR-MM-DD) |
issue_date_to | date (YYYY-MM-DD) | no | Data wystawienia do (RRRR-MM-DD) |
kind | list of one of: "document_scan", "cost", "internal_evidence", "work_fund_evidence", "health_fee_evidence" | no | Filtruj po rodzaju dokumentu (lista wartości) |
limit | integer (≥ 1, ≤ 100) | no | Maksymalna liczba wyników na stronę (1-100) |
month | integer (≥ 1, ≤ 12) | no | Filtruj po miesiącu (1-12); wymaga year; jawne issue_date_from/issue_date_to mają pierwszeństwo |
offset | integer (≥ 0) | no | Liczba pominiętych wyników; musi być wielokrotnością limit (offset = (strona - 1) * limit) |
order | one of: "created_at asc", "created_at desc", "issue_date asc", "issue_date desc", "gross_price asc", "gross_price desc", "net_price asc", "net_price desc" | no | Sortowanie (domyślnie "created_at desc") |
payment_statuses | list of one of: "paid", "unpaid", "partial_payment", "payment_not_applicable" | no | Filtruj po statusie płatności (lista wartości) |
source | one of: "infakt", "document_scan", "bdi", "efaktura", "api" | no | Filtruj po źródle dokumentu |
year | integer (≥ 1950, ≤ 2330) | no | Filtruj po roku (sam rok = pełny zakres roku); jawne daty mają pierwszeństwo |
Access kind and annotations
Read: changes nothing in the account
readOnlyHint: trueread-only: changes no datadestructiveHint: falsenon-destructive: overwrites or deletes nothingidempotentHint: trueidempotent: repeating it with the same arguments yields the same stateopenWorldHint: falseworks only within the inFakt account
OAuth scopes the tool requires:
api:costs:read
Related tools
- infakt_meta_schema – YAML schema of a resource.
- infakt_meta_examples – Example calls for an operation.
- infakt_meta_dictionary – Dictionary of allowed values, e.g. invoice types, payment methods.