Ksef
Description
Claude Code skill: build KSeF API 2.0 integrations (Krajowy System e-Faktur, Poland's national e-invoicing) — KSeF-token auth, AES/RSA invoice encryption, interactive and batch sending, UPO receipts, purchase-invoice sync, QR codes — in Next.js App Router on Vercel
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
ksef
A [Claude Code skill](https://docs.claude.com/en/docs/claude-code/skills) that teaches an agent to build **KSeF API 2.0** integrations (Krajowy System e-Faktur — Poland's national e-invoicing system) in a **Next.js App Router** app on Vercel — KSeF-token auth, AES/RSA invoice encryption, interactive and batch sending, UPO receipts, incremental purchase-invoice sync, QR verification codes, and the cron-polling architecture serverless forces on you. Official SDKs exist for C# and Java only; this is the TypeScript equivalent.
A KSeF integration has one hard requirement: **an invoice that leaves your app is a legally binding tax document**, filed under a taxpayer's NIP, and nothing in the API checks that the taxpayer is yours. Every defect the field report behind version 1.1.0 turned up broke that requirement quietly rather than loudly: an IV prepended to the ciphertext, so KSeF rejected the invoice with a status code blaming its *size*; a `440` duplicate whose UPO lived in a session the code never looked in; a seller NIP that nobody compared to the authenticating context. The references are written so those cost you a paragraph instead of a week.
Install
Clone into your skills directory:
git clone https://github.com/timerise-ai/ksef.git ~/.claude/skills/ksef
The [skills index](https://github.com/timerise-ai/skills) lists the other Timerise skills and how to clone them all at once.
The skill activates automatically when a task matches its description — sending or receiving structured invoices, KSeF auth, UPO, FA(3), e-faktura, `ksef.mf.gov.pl`. You can also invoke it explicitly with `/ksef`.
What's inside
| File | Contents |
|---|---|
SKILL.md |
Entry point: critical facts, environments, quick start, and the reference directory |
references/architecture-and-vercel.md |
Start here for greenfield: system model, database DDL, cron polling, multi-tenancy, function limits, go-live |
references/crypto-and-client.md |
node:crypto |
Related Skills
Auto Update
Pull the latest ECC repo changes and reinstall the current managed targets.
Development Ecc Guide
Navigate ECC's current agents, skills, commands, hooks, install profiles, and docs from the live repository su
Development Epic Claim
Claim an epic issue, stamp coordination state, and sync local ownership.
Development Epic Publish
Publish a validated epic update back to the issue and local cache.
Development Epic Review
Mark epic review requested, approved, or changes requested.
Development Epic Unblock
Sweep blocked epic issues and reopen anything whose dependencies are closed.
Development Related Agents
Django Build Resolver
Django/Python build, migration, and dependency error resolution specialist. Fixes pip/Poetry errors, migration
Openai Codex CLI
(55.8k ⭐) - Lightweight coding agent that runs in your terminal.
src/agents/ — 11 Agent Definitions
**Generated:** 2026-04-11