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