Connect Krajowy System e-Faktur (KSeF) to AI agents

Connect Krajowy System e-Faktur (KSeF) to Claude, Codex, Cursor, or other AI agents for your entire team. Metorial security, governance, observability, and gives your team a unified Magic MCP url to connect.

Supported Tools

list_session_invoices

List Session Invoices

List submitted invoices in a KSeF session with their references, hashes, KSeF numbers, and processing results. Use the continuation token to fetch the next page.

close_session

Close Session

Close an online invoice submission session by its reference number, including a session left open after a failed automatic close. This starts generation of the session receipt; check session status to track processing and receipt readiness.

submit_invoice

Submit Invoice

Submit one complete FA(3) XML invoice for processing in KSeF. This action is irreversible. Acceptance starts processing and does not mean that a KSeF number has been issued.

download_invoice_upo

Download Invoice UPO

Download the official receipt for an accepted invoice in a KSeF session.

get_session_status

Get Session Status

Check an invoice submission session for its current processing status, invoice counts, and available session UPO pages.

download_session_upo

Download Session UPO

Download a generated XML receipt page for an invoice submission session.

list_sessions

List Sessions

List online invoice submission sessions. Filter by reference, dates, or status, then use the continuation token to retrieve more results.

get_connection_status

Get Connection Status

Verify KSeF access and return the configured environment, authenticated context, and current effective context limits.

get_invoice_status

Get Invoice Status

Check a submitted invoice by its session and invoice references. Return its processing result, KSeF number, duplicate origin, and receipt readiness.

search_invoices

Search Invoices

Search KSeF invoice metadata by party role, date range, identifiers, amounts, and document type.

download_invoice

Download Invoice

Download the original XML invoice identified by its KSeF number.

More integrations teams use with Krajowy System e-Faktur (KSeF)

Metorial Search

Search the web and fetch readable content from selected pages. Built for fast discovery and content extraction.

Notion

Create, read, update, and archive pages and databases in a Notion workspace. Manage blocks (paragraphs, lists, headings, embeds, etc.) within pages. Query databases with filters and sorts across rich property types including text, numbers, dates, selects, relations, and formulas. Search across pages and databases by title. Add and read comments on pages and blocks. Upload files to pages. Manage workspace users and retrieve user profiles. Receive real-time webhook notifications for page changes, new pages, comments, and database schema updates.

Slack

Slack: connect with bot OAuth or user OAuth to work with messages, conversations, search, files, Canvases, Lists, profiles, reactions, reminders, and workspace productivity settings.

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Subscribe to real-time change events via Change Data Capture and Platform Events. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Apolloio

Search and prospect B2B contacts and companies from a database of over 275 million people and 70 million organizations. Enrich people and company data with emails, phone numbers, and firmographic details. Create and manage contacts, accounts, deals, and tasks. Add contacts to email sequences and manage sequence statuses. Log and search call records. Perform bulk operations for contact creation, account creation, task creation, and data enrichment.

Technical notes for Krajowy System e-Faktur (KSeF)

Search and download invoices from Poland's National e-Invoice System (KSeF), submit FA(3) XML invoices, inspect online submission sessions, and download official UPO receipts.

Connect Krajowy System e-Faktur (KSeF) to production AI agents

See how Metorial gives Krajowy System e-Faktur (KSeF) access the governance, tracing, and security controls teams need.

Frequently asked questions

Common questions about connecting Krajowy System e-Faktur (KSeF) to AI agents with Metorial.

  1. Can Metorial connect Krajowy System e-Faktur (KSeF) to AI agents?
    Yes. Metorial connects AI agents to Krajowy System e-Faktur (KSeF) through a governed integration layer, so teams can use the provider while keeping access controlled and observable.
  2. Metorial is MCP compatible and lets teams expose approved provider tools to MCP-capable agents and clients through a controlled access layer.
  3. Metorial applies policies across users, groups, providers, agents, and individual tools, then records the context around every agent interaction.
  4. Yes. Metorial records provider activity so teams can inspect tool calls, troubleshoot integrations, and give security teams the visibility they need.