Skip to content

inFakt MCP server tool · Costs and expenses

infakt_get_costs_list

Last updated: · List Costs

Lists costs with date, kind and status filters.

ReadreadOnlyHintidempotentHint

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.

ParameterTypeRequiredDescription
cost_accounting_statuseslist of one of: "cost_accounted", "autox_accounted", "cost_rejected", "to_clarify", "cost_not_accounted", "cost_accounting_not_applicable"noFiltruj po statusie księgowania kosztu (lista wartości)
document_statuseslist 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"noFiltruj po symbolach statusu dokumentu (lista wartości)
fieldsstringnoOgraniczenie zwracanych pól
issue_date_fromdate (YYYY-MM-DD)noData wystawienia od (RRRR-MM-DD)
issue_date_todate (YYYY-MM-DD)noData wystawienia do (RRRR-MM-DD)
kindlist of one of: "document_scan", "cost", "internal_evidence", "work_fund_evidence", "health_fee_evidence"noFiltruj po rodzaju dokumentu (lista wartości)
limitinteger (≥ 1, ≤ 100)noMaksymalna liczba wyników na stronę (1-100)
monthinteger (≥ 1, ≤ 12)noFiltruj po miesiącu (1-12); wymaga year; jawne issue_date_from/issue_date_to mają pierwszeństwo
offsetinteger (≥ 0)noLiczba pominiętych wyników; musi być wielokrotnością limit (offset = (strona - 1) * limit)
orderone 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"noSortowanie (domyślnie "created_at desc")
payment_statuseslist of one of: "paid", "unpaid", "partial_payment", "payment_not_applicable"noFiltruj po statusie płatności (lista wartości)
sourceone of: "infakt", "document_scan", "bdi", "efaktura", "api"noFiltruj po źródle dokumentu
yearinteger (≥ 1950, ≤ 2330)noFiltruj po roku (sam rok = pełny zakres roku); jawne daty mają pierwszeństwo

Access kind and annotations

Read: changes nothing in the account

  • readOnlyHint: true read-only: changes no data
  • destructiveHint: false non-destructive: overwrites or deletes nothing
  • 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:costs:read

Related tools