KSeF Faktury: Polish VAT Invoices → PDF + FA(3) XML → KSeF

    by Sebastian Kurzynowski

    1

    Issue a Polish VAT invoice with one command: a client PDF and a KSeF-ready FA(3) XML from a single source, with safe sending to KSeF (dry run by default).

    $19

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    KSeF Faktury: Polish VAT Invoices → PDF + FA(3) XML → KSeF

    Example session with this skill installed

    Wystaw fakturę dla ACME na 4500 zł netto za wdrożenie automatyzacji. (Invoice ACME 4,500 PLN net for an automation implementation.)

    • Read your context and instructions
    • Compiled the ksef faktury

    Faktura VAT nr 1/11/2026 — ACME Sp. z o.o.
    netto 4 500,00 VAT 1 035,00 brutto 5 535,00 zł
    wystawiona 19.11.2026, termin płatności 03.12.2026
    PDF: FV-1-11-2026.pdf
    XML: FV-1-11-2026.xml
    XSD: OK — zgodny ze schematem FA(3) v1-0E
    rejestr: dopisano
    Do KSeF nic nie poszło. (suchy bieg wysyłki → czeka na „wysyłaj”)

    FV-1-11-2026.pdf

    Connects securely to your tools. The creator never sees your data.

    About this skill

    For Polish sole traders (JDG) and small businesses that issue their own invoices and must send them to KSeF, Poland's mandatory national e-invoicing system.

    You tell your agent "invoice ACME 4,500 PLN net for the implementation". The agent:

    1. assigns the next number for the month (N/M/YYYY) from a local register,
    2. generates the client PDF and the FA(3) XML from the same data, so amounts, number and description can never drift apart,
    3. validates the XML against the official FA(3) schema of Poland's Ministry of Finance; an invalid XML never uses up an invoice number,
    4. on your explicit "send" it submits the invoice to KSeF (API 2.0) and stores the KSeF number and the UPO receipt.

    It can also download purchase and sales invoices from KSeF for any period, e.g. for your accountant.

    Safety

    • Sending to KSeF is a dry run by default. A KSeF number is irreversible, so the skill first shows a summary and waits for your approval.
    • The Ministry's test environment is available with KSEF_ENV=test, so you can rehearse sending with no consequences.
    • Your KSeF token stays on your machine in ~/.ksef-faktury/.env (chmod 600). The skill never asks you to paste it into the chat and sends it nowhere except the Ministry of Finance API.
    • NIP (tax ID) checksum and VAT rates are validated before anything is written.

    Language

    The skill works in Polish: Polish invoices, Polish tax authority, Polish wording for your accountant. It is built for businesses invoicing in Poland.

    Requirements

    Python 3.9+, pip install lxml cryptography, Chrome or Chromium for PDF. Works on Linux and macOS.

    Not supported (yet)

    Correction and advance invoices, 0% / exempt / not-taxable / OSS rates, currencies other than PLN, buyers without a Polish NIP. This is a tool, not tax advice.

    Author

    Sebastian Kurzynowski, Decentprod: AI and automation implementations for small and medium businesses. Built for my own invoicing. → decentprod.com


    Po polsku: wystawiasz fakturę VAT jednym poleceniem: PDF dla klienta i XML FA(3) z tych samych danych, walidacja schematem MF, bezpieczna wysyłka do KSeF (domyślnie suchy bieg, środowisko testowe dostępne) i pobieranie faktur dla księgowej. Token KSeF zostaje u Ciebie.

    Only standard VAT invoices in PLN for buyers with a Polish NIP. No correction (KOR) or advance (ZAL) invoices, no consumer or foreign buyers. Rates 23/8/5% only, no exempt, 0%, not-taxable or OSS. Bank transfer payment only. The skill itself works in Polish. A tool, not tax advice.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 15 days ago

    Accounts
    MfCrdKSeF token (for sending only)
    Software
    Python 3.9+lxmlcryptography (pip)
    Google Chrome
    orChromium (PDF)

    Linux and macOS. Generate the KSeF token in the Ministry's taxpayer app (InvoiceWrite + InvoiceRead). Without a token the skill still creates the PDF and XML, it just doesn't send.

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Environment Variables

    Allowed Hosts

    api.ksef.mf.gov.pl
    api-test.ksef.mf.gov.pl
    crd.gov.pl

    File Scopes

    ~/.ksef-faktury/
    (dane
    sprzedawcy
    kontrahenci
    rejestr
    token
    schemat
    FA(3))
    katalog
    wskazany
    w
    --katalog
    (PDF/HTML/XML
    faktur
    UPO)

    Czyta KSEF_TOKEN (zmienna środowiskowa albo ~/.ksef-faktury/.env) i wysyła go zaszyfrowanego wyłącznie do API KSeF Ministerstwa Finansów. Opcjonalnie czyta KSEF_ENV, KSEF_BASE, KSEF_FAKTURY_DIR, CHROME_PATH. Z crd.gov.pl pobiera oficjalny schemat FA(3) (sprawdzany SHA-256) i jego importy.

    Listed15 days ago

    What's inside

    Frequently Asked Questions

    Issue a Polish VAT invoice with one command: a client PDF and a KSeF-ready FA(3) XML from a single source, with safe sending to KSeF (dry run by default).

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use KSeF Faktury: Polish VAT Invoices → PDF + FA(3) XML → KSeF on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    New in Business & Operations

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Business & Operations.