Ksef — Development skill for Claude Code
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.
How to install Ksef
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open timerise-ai/ksef and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Ksef does
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
Alternatives in Development
- Happy — Mobile and Web client for Claude Code, with realtime voice, encryption and fully featured 16.3k ★
- Layrr — A browser coding agent interface for selecting elements and sending instructions directly to Claude Code 264 ★
- Forward Implementation First — Stop your coding agent from stalling real work on self-invented bookkeeping - receipts, hashes, locks, certifi 186 ★
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
Jp Invoice Check
Checks a Japanese qualified invoice (適格請求書): the six required items of the National Tax Agency, reduced-rate (
Invoice Organizer
Automatically organizes invoices and receipts for tax preparation by reading messy files, extracting key infor
Notebooklm
Query and manage Google NotebookLM notebooks with persistent auth, batch/multi queries, source sync, and struc
Opencode
A powerful, custom opencode configuration, complete with a suite of agents, commands, rules, skills, and a pre
Fiz Invoicing Skill
Emitir faturas em Portugal com IA — Claude Code / Agent skill for the FIZ invoicing API (IVA, isenção, CAE, NI
Ads Review
Google Ads review command. Builds a project-aware Google Ads strategy — keyword universe, Search/PMax structur
Related Agents
Pclsync C Expert
Consultant for the pclsync C library (GNU C99). Expert in cloud sync engines, FUSE virtual filesystems, client
Crypto Solver
Use PROACTIVELY for cryptography challenges. Triggers on RSA, AES, ECC, Diffie-Hellman, hashes, PRNGs, LCG, LF
Deepak
Deepak (Finance, Accounts) — the finance employee — invoicing, receipts, BSP settlement reconciliation, ADM/AC