inFakt MCP server tool · Invoices: actions
infakt_oss_invoice_create
Last updated: · Create OSS Invoice
Creates an OSS invoice for a consumer in another EU country with that country’s VAT rate.
What it does
The server’s own text, in Polish, written for the assistant. Names of other tools link to their pages.
Tworzy fakturę OSS (async). Kraj UE inny niż PL.
Workflow
infakt_get_rates_list(rate_type="moss", country="XX") → wybierz stawkę → użyj value jako tax_rate
Examples
infakt_meta_examples("create_oss_invoice") Typy usług: infakt_meta_dictionary("oss_service_types")
Related tools (per the server)
- infakt_get_rates_list - stawki VAT UE (rate_type="moss")
- infakt_async_status - status tworzenia faktury (status_type="oss_invoice_creation")
Parameters
Fields of the params object. Types and field descriptions come from the schema the server publishes in tools/list.
| Parameter | Type | Required | Description |
|---|---|---|---|
advance_price | integer | no | Kwota zaliczki w groszach |
check_duplicate_number | boolean | no | Czy sprawdzać duplikaty numerów faktur |
client_city | string | no | Miasto |
client_email | string | no | Email klienta |
client_first_name | string | yes | Imię klienta |
client_flat_number | string | no | Numer mieszkania |
client_last_name | string | yes | Nazwisko klienta |
client_post_code | string | no | Kod pocztowy |
client_street | string | no | Nazwa ulicy |
client_street_number | string | no | Numer budynku |
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. |
country | string (min 2, max 2) | yes | Kod kraju UE klienta, bez Polski |
currency | string (min 3, max 3) | yes | Kod waluty (np. "EUR", "PLN") |
gross_price | integer | no | Laczna wartosc brutto w groszach |
issue_date | date (YYYY-MM-DD) | no | Data wystawienia faktury (RRRR-MM-DD) |
net_price | integer | no | Laczna wartosc netto w groszach |
notes | string | no | Dodatkowe uwagi |
number | string | no | Numer faktury (generowany automatycznie jeśli nie podano) |
payment_date | date (YYYY-MM-DD) | no | Data otrzymania zapłaty (RRRR-MM-DD), nie termin płatności. Nie może być późniejsza niż service_date (domyślnie dziś). Pomiń, jeśli nieznana. |
recipient_signature | string | no | Podpis odbiorcy |
sale_type | one of: "service", "merchandise" | yes | Typ sprzedazy: 'service' lub 'merchandise' |
seller_signature | string | no | Podpis sprzedawcy |
service_date | date (YYYY-MM-DD) | no | Data wykonania usługi (RRRR-MM-DD) |
service_place_primary | string | yes | Glowne miejsce swiadczenia uslugi |
service_place_secondary | string | no | Dodatkowe miejsce świadczenia usługi |
service_type | one of: "electronic", "broadcasting", "telecommunications" | yes | Typ uslugi: 'electronic', 'broadcasting' lub 'telecommunications' |
services | list of object (min 1) | yes | Lista usług/produktów (wymagana co najmniej jedna pozycja) |
tax_price | integer | no | Laczna kwota VAT w groszach |
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: falsenon-idempotent: each call may add something newopenWorldHint: falseworks only within the inFakt account
OAuth scopes the tool requires:
api:invoices:write
Related tools
- infakt_get_rates_list – VAT, flat-rate or OSS VAT rates for EU countries.
- infakt_meta_examples – Example calls for an operation.
- infakt_meta_dictionary – Dictionary of allowed values, e.g. invoice types, payment methods.
- infakt_async_status – Status of an async operation, e.g. invoice creation or a KSeF submission.