inFakt MCP server tool · Meta tools
infakt_meta_schema
Last updated: · Get Schema
YAML schema of a resource.
What it does
The server’s own text, in Polish, written for the assistant. Names of other tools link to their pages.
Pobiera schemat YAML dla zasobów InFakt Public API.
When to use
- Potrzebujesz wiedzieć "jakie dane" lub "które pola" są dostępne
- Chcesz zrozumieć typy danych, wymagania lub walidacje
- Przygotowujesz zapytania API i potrzebujesz specyfikacji pól
- Sprawdzasz strukturę odpowiedzi API
What it returns
Zwraca kompletny schemat YAML pokazujący:
- Nazwy pól i typy danych (string, integer, boolean, date, etc.)
- Pola wymagane vs opcjonalne (oznaczone ?)
- Opisy pól i ograniczenia
- Wartości enum dla ograniczonych pól
How to use
Przekaż typ zasobu jako parametr string. Narzędzie zwraca schemat w formacie YAML z definicjami pól i opisami.
Resource types
-- FAKTURY (8 typów w spójnej kolejności):
- "vat_invoice" - struktura faktury VAT
- "corrective_invoice" - struktura faktury korygującej
- "advance_invoice" - faktura zaliczkowa
- "final_invoice" - faktura końcowa
- "internal_invoice" - faktura wewnętrzna
- "margin_invoice" - faktura marżowa
- "oss_invoice" - faktura OSS (One Stop Shop)
- "corrective_oss_invoice" - korekta faktury OSS
-- ENCJE PODSTAWOWE (4 typy):
- "client" - struktura danych klienta/kontrahenta
- "product" - definicje produktu/usługi
- "cost" - struktura dokumentu kosztowego
- "bank_account" - informacje o koncie bankowym
-- DETAL KONTA (2 typy):
- "account_details" - szczegóły konta użytkownika
- "account_activities" - log aktywności konta
-- FINANSE (5 typów):
- "book" - struktura księgi rachunkowej
- "income_tax" - struktura podatku dochodowego
- "insurance_fees" - struktura składki ZUS
- "vat_eu_tax" - struktura podatku VAT UE
- "vat_exemption" - struktura zwolnienia VAT
-- SYSTEM (4 typy):
- "jpk_file" - struktura pliku JPK
- "ksef_integration" - dane integracji KSeF
- "fiscal_report" - struktura raportu fiskalnego
- "internal_evidence" - struktura ewidencji wewnętrznej
-- STAWKI PODATKOWE (3 typy):
- "vat_rate" - definicje stawek VAT
- "flat_rate" - definicje stawek ryczałtowych
- "moss_vat_rate" - definicje stawek MOSS
Examples
meta_schema("vat_invoice") → Zwraca kompletny schemat faktury VAT meta_schema("client") → Zwraca strukturę danych klienta meta_schema("vat_rate") → Zwraca definicje stawek VAT
Related tools (per the server)
- meta_examples: Praktyczne przykłady użycia
- meta_dictionary: Słowniki dozwolonych wartości
Parameters
This tool takes a single argument instead of a params object.
| Parameter | Type | Required | Description |
|---|---|---|---|
resource_type | string | yes |
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:invoices:read
Related tools
- infakt_meta_examples – Example calls for an operation.
- infakt_meta_dictionary – Dictionary of allowed values, e.g. invoice types, payment methods.