GitHub

Installation

Install or run KSeF2 CLI with uv and inspect the available command groups.

Ta strona nie została jeszcze przetłumaczona na polski — pokazujemy wersję angielską z tego samego wydania.

Na tej stronie

Requirements

KSeF2 CLI requires Python 3.12 or newer.

For local development from a checkout, use uv:

uv sync
uv run ksef2 --help
bash

For an installed package, use either executable:

ksef2 --help
ksef2-cli --help
bash

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 --help
bash

Use group help to inspect a specific workflow:

uv run ksef2 invoices --help
uv run ksef2 online --help
uv run ksef2 batch --help
bash

Use --json when you need machine-readable output:

uv run ksef2 --json config path
bash

Environment selection

The default environment is production. Pass --env before the command group when you need test or demo:

uv run ksef2 --env test --help
bash

Supported values are:

  • production
  • demo
  • test

Next steps