Connector guide8-minute read28 MCP tools7 languages

Connect Fakturownia to Gemini CLI via MCP

Fakturownia.pl invoicing API for Polish businesses: invoices with PDF and KSeF status, proforma invoices, clients, products, recorded payments, warehouses and warehouse documents. Issuing, sending, cancelling and deleting invoices are switched off. API token and account prefix.

HCBy HelpCode teamUpdated 8 min read Open-source on GitHub

No credit card · 7-day trial · Self-host alternative available

Fakturownia

Fakturownia

Fakturownia.pl invoicing API for Polish businesses: invoices with PDF and KSeF status, proforma invoices, clients, products, recorded payments, warehouses and warehouse documents. Issuing, sending, cancelling and deleting invoices are switched off. API token and account prefix.

tools

28

Region

PL

Category

Accounting

Authentication

Query Param Auth

Required env vars

FAKTUROWNIA_DOMAINFAKTUROWNIA_API_TOKEN
Install in one click on Cloud

7-day free trial · No credit card

  • 7-day free trial
    No credit card required
  • GDPR & SOC 2 ready
    EU data residency, audit logs
  • Open-source on GitHub
    Open source · AGPL-3.0
  • Works with ChatGPT, Claude, Gemini
    Any MCP-compatible client

Summary

Fakturownia.pl invoicing API for Polish businesses: invoices with PDF and KSeF status, proforma invoices, clients, products, recorded payments, warehouses and warehouse documents. Issuing, sending, cancelling and deleting invoices are switched off. API token and account prefix.

Guided setup

Connect Fakturownia to Gemini in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Fakturownia in the guided setup, then add your MCP URL to Gemini. No code and no server to run.

No credit card · 7-day trial · Self-host alternative available

Try asking

Example prompts for Fakturownia

Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.

Fakturownia · live via MCP
Share
Opus 4.7

Claude is AI and can make mistakes. Please double-check responses.

💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Fakturownia, paste your credentials, mint an MCP API key and you're done. No Docker, no git clone, no local server.

Fakturownia + Gemini

Fakturownia.pl invoicing API for Polish businesses: invoices with PDF and KSeF status, proforma invoices, clients, products, recorded payments, warehouses and warehouse documents. Issuing, sending, cancelling and deleting invoices are switched off. API token and account prefix.

Prerequisites

See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:

FAKTUROWNIA_DOMAIN, FAKTUROWNIA_API_TOKEN

Step 1 — Get credentials

Setting up takes about 2 minutes.

  1. Sign in to Fakturownia and open Ustawienia, Ustawienia konta, Integracja (Settings, Account settings, Integration).
  2. Under Kod autoryzacyjny API (API authorization code) copy the token, or generate one first. Paste it into FAKTUROWNIA_API_TOKEN.
  3. Enter the prefix of your account address into FAKTUROWNIA_DOMAIN: for https://mojafirma.fakturownia.pl it is mojafirma.

API access is part of the paid plans (and of the trial). The token acts as the user who created it and is sent as the api_token query parameter on every call.

Where to start: fakturownia_list_invoices (this month by default), then fakturownia_get_invoice for the lines and fakturownia_get_invoice_pdf for the document. fakturownia_list_clients and fakturownia_list_products find ids for new documents.

Invoices (read): fakturownia_list_invoices, fakturownia_get_invoice, fakturownia_get_invoice_pdf, fakturownia_get_invoice_ksef_status, fakturownia_list_recurring_invoices. Filter with period (this_month, last_month, last_12_months, all, or more with date_from and date_to); search_date_type picks issue, payment or sale date. Cost invoices: income no.

Proformas: fakturownia_create_proforma creates a proforma (not a tax document, never sent to KSeF, nothing e-mailed). Turning it into a VAT invoice is done in Fakturownia or with fakturownia_create_invoice.

Switched off at install (they issue, change or remove legal documents, or contact customers): fakturownia_create_invoice, fakturownia_update_invoice, fakturownia_change_invoice_status, fakturownia_send_invoice_by_email, fakturownia_cancel_invoice, fakturownia_delete_invoice, fakturownia_create_payment and fakturownia_delete_client. A VAT invoice is a tax document; in an account connected to KSeF it may be submitted to the national e-invoicing system, which cannot be undone (mistakes need a correction invoice). Turn these tools on only deliberately. No tool moves money.

Clients and products: fakturownia_list_clients (search by name, e-mail, short name, NIP or external_id), fakturownia_get_client, fakturownia_create_client, fakturownia_update_client; fakturownia_list_products, fakturownia_get_product, fakturownia_create_product, fakturownia_update_product. Products take a gross price and a tax rate; the net price is computed.

Payments, stock, settings: fakturownia_list_payments (recorded payments, read-only), fakturownia_list_warehouses, fakturownia_list_warehouse_documents, fakturownia_get_warehouse_document, fakturownia_list_departments (issuers: department_id), fakturownia_list_categories.

Field notes: ids are numbers. Amounts are decimals in the document currency (default PLN). Tax rates are numbers (23, 8, 5, 0) or the texts zw (exempt) and np (not subject). Statuses: issued, sent, paid, partial, rejected. KSeF state (gov_status): ok means accepted with a KSeF number in gov_id; processing, send_error and others are explained in gov_error_messages. Each invoice has a token: the link /invoice/TOKEN opens it without login, so do not share it carelessly.

Paging and limits: lists take page from 1 and per_page up to 100; a shorter page is the last. Fakturownia does not publish its rate limits; a 429 means wait and retry later. Some refusals come back with HTTP 200 and "status": "error", which the connector reports as a failed call.

Step 2 — Install the adapter

curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d

Step 3 — Add the connector in Gemini

Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide shows YOUR_SERVER_ID.

Gemini CLI reads MCP servers from ~/.gemini/settings.json (on Windows %USERPROFILE%\.gemini\settings.json). Add:

{
  "mcpServers": {
    "anythingmcp": {
      "httpUrl": "https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID",
      "headers": { "X-API-Key": "YOUR_MCP_API_KEY" }
    }
  }
}
  1. Create an MCP API key in AnythingMCP under MCP Servers → your server → API keys, and paste it in place of YOUR_MCP_API_KEY.
  2. Save the file and restart gemini.
  3. Run /mcp inside Gemini CLI (or gemini mcp list in your shell) — anythingmcp should show as connected.
  4. Start prompting — Gemini CLI can now call the Fakturownia tools.

Available tools

ToolWhat it does
fakturownia_list_invoicesList invoices and other sales or cost documents, newest first by default: id, number, kind, status (issued, sent, paid, partial, rejected)…
fakturownia_get_invoiceGet one invoice with its lines: number, kind, status, dates, seller and buyer data, positions (name, quantity, prices, tax), totals, paid…
fakturownia_get_invoice_ksef_statusRead the KSeF (Polish national e-invoicing system) state of one invoice: gov_status (ok, processing, send_error, server_error, offline…
fakturownia_get_invoice_pdfDownload the PDF of one invoice, attached as a file (up to 4 MB)
fakturownia_list_recurring_invoicesList recurring invoice definitions: id, name, invoice_id (the template), start_date, every (for example 1m), next_invoice_date, end_date…
fakturownia_create_proformaCreate a proforma invoice (an offer or payment request, not a tax document and never sent to KSeF). Give client_id or buyer data, and the…
fakturownia_create_invoiceIssue a new document of any kind (VAT invoice, receipt, correction, advance, final and others). A VAT invoice is a tax document; with KSeF…
fakturownia_update_invoiceChange an existing invoice (partial: only the fields sent). Lines are changed by their id; a line with _destroy 1 is removed. Editing an…
fakturownia_change_invoice_statusSet the status of an invoice: issued, sent, paid, partial or rejected. Marking it paid changes the books and the paid amount (no money…
fakturownia_send_invoice_by_emailE-mail an invoice to the buyer (or the given addresses) from Fakturownia. With KSeF active, a VAT invoice to a company can only be sent…
fakturownia_cancel_invoiceCancel an invoice with an optional reason. A cancelled tax document stays in the register; one already in KSeF needs a correction invoice…
fakturownia_delete_invoiceDelete an invoice permanently. Cannot be undone and breaks the numbering; never use it for documents already in KSeF. Installed switched…
fakturownia_list_clientsList or search clients (buyers): id, name, shortcut, tax_no, email, phone, street, post_code, city, country, bank_account, external_id…
fakturownia_get_clientGet one client by id: name, tax_no, address, e-mail, phone, bank account, external_id, discount, payment_to_kind, default currency, note…
fakturownia_create_clientAdd a client (buyer) with name, tax number, address and contact data. Returns the client with its id
fakturownia_update_clientChange a client (only the fields sent). Existing invoices keep the buyer data they were issued with
fakturownia_delete_clientDelete a client from the client list. Cannot be undone. Installed switched off
fakturownia_list_productsList products and services: id, name, code, ean_code, price_net, price_gross, tax, currency, quantity_unit, stock level…
fakturownia_get_productGet one product by id: name, code, EAN, prices, tax, unit, stock (per warehouse with warehouse_id), category and description
fakturownia_create_productAdd a product or service. Give the gross price and the tax rate; Fakturownia computes the net price. Returns the product with its id
fakturownia_update_productChange a product (only the fields sent). Price changes apply to new invoices only
fakturownia_list_paymentsList payments recorded in Fakturownia (bank and cash receipts linked to invoices): id, name, price, currency, paid, paid_date, kind…
fakturownia_create_paymentRecord a payment against one or more invoices (bookkeeping only, no money moves). It changes the paid amount and status of the invoices.…
fakturownia_list_warehousesList warehouses: id, name, kind, description. Use the id with the product tools to read stock per warehouse
fakturownia_list_warehouse_documentsList warehouse documents (PZ goods received, WZ goods issued, MM transfers): id, kind, number, issue_date, warehouse_id, client_id…
fakturownia_get_warehouse_documentGet one warehouse document with its lines (product_id, quantity, prices), warehouse and linked invoices
fakturownia_list_departmentsList the companies and departments of the account (the issuers of documents): id, name, shortcut, tax_no, address and bank account. The id…
fakturownia_list_categoriesList document categories: id, name and description. The id is the category_id of an invoice

Example prompts

  • "Which invoices from last month are still unpaid?"
  • "What is the KSeF status of invoice FV 112/11/2026?"
  • "Create a proforma for client Nordwind sp. z o.o. for 10 hours of consulting at 250 PLN net, 23% VAT."
  • "Show the PDF of invoice FV 98/11/2026."
  • "Which payments did we record this week?"

FAQ

Where does the API token come from? In Fakturownia under Ustawienia, Ustawienia konta, Integracja: copy the Kod autoryzacyjny API (generate it first if empty) and enter your account prefix. API access is part of the paid plans and the trial.

Can it send invoices to KSeF? No. It reads the KSeF status of invoices but has no tool that submits to KSeF. Issuing VAT invoices is switched off, because in an account connected to KSeF Fakturownia may submit an issued invoice, which cannot be undone. Proformas are never sent to KSeF.

Which tools install switched off? fakturownia_create_invoice, fakturownia_update_invoice, fakturownia_change_invoice_status, fakturownia_send_invoice_by_email, fakturownia_cancel_invoice, fakturownia_delete_invoice, fakturownia_create_payment and fakturownia_delete_client.

Where does Gemini CLI look for MCP servers? In ~/.gemini/settings.json for your user, or in .gemini/settings.json inside a project. gemini mcp list shows each server and whether it connects.

Next steps

Was this guide helpful?

Connect Fakturownia to Gemini in 2 minutes

Start a free trial on AnythingMCP Cloud, connect Fakturownia in the guided setup, then add your MCP URL to Gemini. No code and no server to run.

Related guides

Connectors

Connect Fakturownia to ChatGPT via MCP

Fakturownia.pl invoicing API for Polish businesses: invoices with PDF and KSeF status, proforma invoices, clients, products, recorded payments, warehouses and warehouse documents. Issuing, sending, cancelling and deleting invoices are switched off. API token and account prefix.

Connectors

Connect Fakturownia to Claude via MCP

Fakturownia.pl invoicing API for Polish businesses: invoices with PDF and KSeF status, proforma invoices, clients, products, recorded payments, warehouses and warehouse documents. Issuing, sending, cancelling and deleting invoices are switched off. API token and account prefix.

Connectors

Connect Fakturownia to Microsoft Copilot via MCP

Fakturownia.pl invoicing API for Polish businesses: invoices with PDF and KSeF status, proforma invoices, clients, products, recorded payments, warehouses and warehouse documents. Issuing, sending, cancelling and deleting invoices are switched off. API token and account prefix.

Connectors

Connect Fakturownia to Cursor via MCP

Fakturownia.pl invoicing API for Polish businesses: invoices with PDF and KSeF status, proforma invoices, clients, products, recorded payments, warehouses and warehouse documents. Issuing, sending, cancelling and deleting invoices are switched off. API token and account prefix.

Connectors

Connect Fakturownia to Meta Muse via MCP

Fakturownia.pl invoicing API for Polish businesses: invoices with PDF and KSeF status, proforma invoices, clients, products, recorded payments, warehouses and warehouse documents. Issuing, sending, cancelling and deleting invoices are switched off. API token and account prefix.

Connectors

Fakturownia MCP Server: Invoices, Clients and Stock

Fakturownia.pl invoicing API for Polish businesses: invoices with PDF and KSeF status, proforma invoices, clients, products, recorded payments, warehouses and warehouse documents. Issuing, sending, cancelling and deleting invoices are switched off. API token and account prefix.