Skip to content
fakturownia-users logo

Users

fakturownia-users

Fakturownia CLI users: create or invite account users through the README-backed add-user endpoint and inspect the accepted user payload shape.

SKILL.md

Full skill instructions

Auto-generated by go run ./​cmd/​gen-skills. Do not edit manually.

Users

PREREQUISITE: Read fakturownia-shared first.

Use This Skill When

  • The task is about adding or inviting a user to an account.
  • You need the README-backed user payload shape, especially invite, role, and department_ids[].

Covered Commands

  • fakturownia user create — Create or invite an account user

Notable Flags

  • --input (required): User JSON input as inline JSON, @file, or - for stdin
  • --integration-token (required): Integration token required by the upstream add_user endpoint

Environment

  • FAKTUROWNIA_PROFILE: Select a profile unless --profile is provided
  • FAKTUROWNIA_URL: Override the base account URL from any profile
  • FAKTUROWNIA_API_TOKEN: Override the API token from any profile

Request Discovery

  • Use fakturownia schema user create --json before building invite or password-based user payloads.
  • The CLI accepts the inner user object and wraps it into the upstream { "user": ... } envelope.
  • Pass --integration-token separately; the active profile supplies api_token automatically.
  • Inspect request fields such as invite, email, password, role, and department_ids[] before constructing the payload.

Examples

fakturownia user create --integration-token PARTNER_TOKEN --input '{"invite":true,"email":"[email protected]","role":"member"}' --json
fakturownia user create --integration-token PARTNER_TOKEN --input '{"invite":false,"email":"[email protected]","password":"secret","role":"admin","department_ids":[1,2]}' --json
fakturownia user create --integration-token PARTNER_TOKEN --input @user.json --dry-run --json

Related Skills