Installation
Requirements
Section titled “Requirements”KSeF2 CLI requires Python 3.12 or newer.
For local development from a checkout, use uv:
uv syncuv run ksef2 --helpFor an installed package, use either executable:
ksef2 --helpksef2-cli --helpBoth entry points run the same Typer application.
Verify the command surface
Section titled “Verify the command surface”The top-level command lists global options first and command groups second:
uv run ksef2 --helpUse group help to inspect a specific workflow:
uv run ksef2 invoices --helpuv run ksef2 online --helpuv run ksef2 batch --helpUse --json when you need machine-readable output:
uv run ksef2 --json config pathEnvironment selection
Section titled “Environment selection”The default environment is production. Pass --env before the command group
when you need test or demo:
uv run ksef2 --env test --helpSupported values are:
productiondemotest