Zum Inhalt springen

CLI-Befehle

Jeder Unterbefehl von decuma mit seinem --help, aus der Registry erzeugt (scripts/docs-gen.sh). Der Hilfetext ist Englisch, wie die CLI. Wie die CLI funktioniert: CLI.

Eingebaute Befehle

decuma serve

Run the server against a migrated database, as the application role

Usage: decuma serve [OPTIONS] --database-url <DATABASE_URL> --storage <ABLAGE>

Options:
      --database-url <DATABASE_URL>
          [env: DECUMA_DATABASE_URL]

      --listen <LISTEN>
          [env: DECUMA_LISTEN=]
          [default: 127.0.0.1:8080]

      --flags <FLAGS>
          Feature flags that are on, comma-separated
          
          [env: DECUMA_FLAGS=]
          [default: ""]

      --storage <ABLAGE>
          Belegablage: file:/absolute/path or s3://bucket (endpoint, region, credentials and AWS_VIRTUAL_HOSTED_STYLE_REQUEST from the AWS_* variables)
          
          [env: DECUMA_STORAGE=]

  -h, --help
          Print help

decuma migrate

Apply the migrations, as the owner role

Usage: decuma migrate --owner-database-url <OWNER_DATABASE_URL>

Options:
      --owner-database-url <OWNER_DATABASE_URL>
          [env: DECUMA_OWNER_DATABASE_URL]

  -h, --help
          Print help

decuma dev

Start a throwaway local instance: own database, migrated, on a free port

Usage: decuma dev [OPTIONS] --postgres-url <POSTGRES_URL>

Options:
      --postgres-url <POSTGRES_URL>
          Superuser connection to a local PostgreSQL
          
          [env: DECUMA_DEV_POSTGRES_URL]

      --keep
          Keep the database on exit

      --seed <SEED>
          Load a named seed (muster-gmbh)

      --clock <CLOCK>
          The instance time (RFC 3339); it stands still until moved through PUT /dev/clock. Second-factor codes are also accepted at the real time, for an authenticator app

      --until-step <UNTIL_STEP>
          Replay the seed only up to and including this step (1-based)

      --listen <LISTEN>
          [default: 127.0.0.1:0]

      --flags <FLAGS>
          Feature flags that are on, comma-separated
          
          [env: DECUMA_FLAGS=]
          [default: ""]

      --storage <ABLAGE>
          Belegablage (default: a folder in the temporary directory, removed with the database)
          
          [env: DECUMA_STORAGE=]

  -h, --help
          Print help

decuma login

Sign in and keep the session in the configuration directory, for Account Commands

Usage: decuma login [OPTIONS] --email <EMAIL>

Options:
      --email <EMAIL>
          

      --password-stdin
          Read the password from standard input instead of a prompt

      --code <CODE>
          The code of the second factor, if it is on

      --url <URL>
          [env: DECUMA_URL=]
          [default: http://127.0.0.1:8080]

  -h, --help
          Print help

decuma logout

End the stored session and remove it

Usage: decuma logout [OPTIONS]

Options:
      --url <URL>
          [env: DECUMA_URL=]
          [default: http://127.0.0.1:8080]

  -h, --help
          Print help

decuma mcp

MCP server on standard input and output for the instance at DECUMA_URL, with DECUMA_API_KEY

Usage: decuma mcp [OPTIONS]

Options:
      --url <URL>
          [env: DECUMA_URL=]
          [default: http://127.0.0.1:8080]

  -h, --help
          Print help

decuma download

Download a file of the Mandant to a path: the hash of a stored file (file.store, beleg.get) or the download_url of an export. Uploads take @PATH in file.store --content

Usage: decuma download [OPTIONS] --to <ZIEL> <REF>

Arguments:
  <REF>
          The SHA-256 of the file, or the download reference (`/v1/files/...`)

Options:
      --to <ZIEL>
          Where to write the file

      --url <URL>
          [env: DECUMA_URL=]
          [default: http://127.0.0.1:8080]

      --mandant <MANDANT>
          [env: DECUMA_MANDANT]

  -h, --help
          Print help
Print a one-time link that creates an Account while registration is closed (the first Inhaber). Only to a terminal: a log must not hold it

Usage: decuma setup-link --database-url <DATABASE_URL> --storage <ABLAGE>

Options:
      --database-url <DATABASE_URL>
          [env: DECUMA_DATABASE_URL]

      --storage <ABLAGE>
          [env: DECUMA_STORAGE=]

  -h, --help
          Print help

decuma reset-access

Print a one-time password reset link for an Account, for an installation without SMTP. Only to a terminal. The second factor and the recovery codes stay

Usage: decuma reset-access --database-url <DATABASE_URL> --storage <ABLAGE> <EMAIL>

Arguments:
  <EMAIL>
          

Options:
      --database-url <DATABASE_URL>
          [env: DECUMA_DATABASE_URL]

      --storage <ABLAGE>
          [env: DECUMA_STORAGE=]

  -h, --help
          Print help

decuma check-rule-data

Check the rule files (*.toml) of a folder: sources, validity ranges, overlaps. Exit 1 on findings

Usage: decuma check-rule-data <DIR>

Arguments:
  <DIR>
          

Options:
  -h, --help
          Print help
One search over pages and functions, Belege, invoices, contacts, Buchungen, Bankumsätze (payer or payee, remittance text) and the knowledge base: a few letters, a number, an amount in German notation (1.428,00) or a date (TT.MM.JJJJ). Ranked: exact ref, number, amount or date; then a prefix of the name; then every word found; newest first within a tie. Groups by kind, best first; each hit one line, date, amount and its link (a page hit may name the Command it starts).

Usage: decuma search [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --je-art <INTEGER>
          Hits per kind, default 5, at most 100.

      --kind <STRING>
          Only this kind (page, beleg, invoice, contact, buchung, bank_transaction, knowledge): "Alle n
          anzeigen".

      --text <STRING>
          (required) At least two characters.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

abschlussbuchung

decuma abschlussbuchung.adjust

A posted Abschlussbuchung whose recomputed value differs: Storno and replacement in one transaction. Nothing is adjusted silently.

Usage: decuma abschlussbuchung.adjust [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --schluessel <STRING>
          (required)

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma abschlussbuchung.adopt

Post one Abschlussbuchung (or every computed one in order) as a Buchung with its calculation sheet as Eigenbeleg; the Steuerrückstellungen only after every other entry is posted or declined. An open check blocks nothing here.

Usage: decuma abschlussbuchung.adopt [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --schluessel <STRING>
          One entry, or none for every computed one in order ("Alle übernehmen").

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

access

decuma access.commands

List the Commands and queries you can use on this Mandant (MCP tools follow it).

Usage: decuma access.commands [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --areas <ARRAY>
          Exactly these areas (core only when named). [shape: [core | belege | bank | books | reports | assets | sales | filings | year_end | payroll | company | administration]]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma access.flags

List the feature flags as they apply to you, and whether each is on.

Usage: decuma access.flags [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma access.get

One Zugriff with its rights and what the person did in the Mandant.

Usage: decuma access.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --access-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma access.invite

Invite a person by e-mail to work on this Mandant with a set of capabilities; the link is mailed and shown once.

Usage: decuma access.invite [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --beruf <STRING>
          The Beruf of a Berater as the person states it; required for a Berater. [values: steuerberater, wirtschaftspruefer, rechtsanwalt, buchhalter]

      --email <STRING>
          (required)

      --kind <STRING>
          teammitglied (default) or berater: a Berater works with the same switches, never with the
          Freigabe, and can record a Prüfvermerk. [values: teammitglied, berater]

      --permissions <OBJECT>
          Default: everything but the Freigabe. [shape: {lohn?, release?, verwalten?}]

      --valid-days <INTEGER>
          How long the link works, 1 to 30 days (default 7).

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma access.mine

Your own access to this Mandant: Inhaber or team member, with the capabilities in effect.

Usage: decuma access.mine [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma access.revoke

Revoke a Zugriff: the person's next request on the Mandant is refused and their API-Schlüssel of the Mandant stop working; what they did stays in the history.

Usage: decuma access.revoke [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --access-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma access.set_permissions

Change the capabilities of a Zugriff; they apply from the next request.

Usage: decuma access.set_permissions [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --access-id <STRING>
          (required)

      --permissions <OBJECT>
          (required) The rights of a team member. Seeing and working on the books (Belege, Buchungen, Rechnungen,
          exports) is always part of a Zugriff; "Nur lesen" switches it off. [shape: {lohn?, release?, verwalten?}]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma access.set_read_only

Switch every capability of a Zugriff off in one step (true), or restore them as they were (false).

Usage: decuma access.set_read_only [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --access-id <STRING>
          (required)

      --nur-lesen[=<BOOL>]
          (required)
          
          [possible values: true, false]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma access.tools

List the Commands and queries you can use on this Mandant as tools: payload and output schema, Freigabeklasse and marks. Check a concrete call with command.check.

Usage: decuma access.tools [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma access.update_profession

As Berater, change the Beruf you state for this Mandant (self-declared, limits nothing). Earlier Prüfvermerke keep theirs.

Usage: decuma access.update_profession [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --beruf <STRING>
          (required) The Beruf a Berater states: shown on the Prüfvermerk as self-declared, limits nothing. [values: steuerberater, wirtschaftspruefer, rechtsanwalt, buchhalter]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

account

Accept the current version of the installation's legal texts (terms, privacy notice, data processing agreement), recorded with version and time.

Usage: decuma account.accept_legal_texts [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --texts <ARRAY>
          (required)  [shape: [{kind: agb | datenschutz | avv, version}]]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma account.confirm_email

Confirm the e-mail address with the token of the confirmation link.

Usage: decuma account.confirm_email [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --token <STRING>
          (required) The token from the link.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma account.delete

Delete your Account and every Mandant you own, with their Belege. Needs your password. Cannot be undone.

Usage: decuma account.delete [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --password <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma account.forgot_password

Send a link to set a new password. Answers the same whether the address has an Account or not.

Usage: decuma account.forgot_password [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --email <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma account.generate_recovery_codes

Create 8 recovery codes for the second factor; the earlier codes stop working. Needs your password.

Usage: decuma account.generate_recovery_codes [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --password <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma account.get

Read your Account: e-mail, name, language, whether the address is confirmed and the second factor on.

Usage: decuma account.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma account.history.check

Verify the hash chain of the Account's Command-Log and report the first broken link.

Usage: decuma account.history.check [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma account.mark_email_confirmed

Mark the e-mail address of the Account as confirmed. Only the installation itself (seed, operator jobs).

Usage: decuma account.mark_email_confirmed [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma account.register

Register an Account with e-mail and password.

Usage: decuma account.register [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --display-name <STRING>
          

      --einrichtungscode <STRING>
          The code of an Einrichtungslink (`decuma setup-link`): creates the Account while
          registration is closed, with the address counted as confirmed.

      --email <STRING>
          (required)

      --password <STRING>
          (required) At least 12 characters with one that is neither letter nor digit.

      --rechtstexte-angenommen[=<BOOL>]
          The person accepts the terms and has read the privacy notice of the installation
          (`installation.links`); required where the installation configures their versions.
          
          [possible values: true, false]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma account.request_email_confirmation

Send a new confirmation link to the address. Answers the same whether the address has an Account or not.

Usage: decuma account.request_email_confirmation [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --email <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma account.reset_access

Make a one-time password reset link for an Account, returned instead of mailed. Only the installation itself (decuma reset-access on the server).

Usage: decuma account.reset_access [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --email <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma account.reset_password

Set a new password with the token of the reset link; ends every session of the Account.

Usage: decuma account.reset_password [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --new-password <STRING>
          (required)

      --token <STRING>
          (required) The token from the link.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma account.reset_password_with_recovery_code

Set a new password with your e-mail address and an unused recovery code; ends every session.

Usage: decuma account.reset_password_with_recovery_code [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --code <STRING>
          (required) An unused recovery code of the second factor.

      --email <STRING>
          (required)

      --new-password <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma account.second_factor.confirm

Switch the second factor on with a code from the authenticator app.

Usage: decuma account.second_factor.confirm [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --code <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma account.second_factor.disable

Switch the second factor off and remove the recovery codes. Needs your password.

Usage: decuma account.second_factor.disable [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --password <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma account.second_factor.set_up

Start the second factor: returns a secret for an authenticator app; confirm it with a code.

Usage: decuma account.second_factor.set_up [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --password <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma account.set_data

Set your name or your language; fields left out stay.

Usage: decuma account.set_data [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --display-name <STRING>
          

      --language <STRING>
          de or en. [values: de, en]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma account.set_usage

Say what you use Decuma for (unternehmen, haushalt, mehrere). It only decides how the app addresses you: "your business", "your household" or "client" (Mandant) for several.

Usage: decuma account.set_usage [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --usage <STRING>
          (required) What the person uses Decuma for; chosen once in the onboarding, changeable in Konto > Du. [values: unternehmen, haushalt, mehrere]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma account.update_password

Change your password; needs the current one.

Usage: decuma account.update_password [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --new-password <STRING>
          (required)

      --password <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

advisor_firm

decuma advisor_firm.list

The Kanzlei view: every Mandant where you hold an active Zugriff, with what waits there (open questions, Voranmeldungen without a Prüfvermerk, the next Frist). A list only; open a Mandant to work in it. With an API-Schlüssel: the row of the key's Mandant only.

Usage: decuma advisor_firm.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

androhung

decuma androhung.list

The recorded Androhungen of an Ordnungsgeld with their six weeks, the amounts after them and whether the Offenlegung is recorded.

Usage: decuma androhung.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma androhung.record

Records an Androhung of an Ordnungsgeld for not disclosing a Jahresabschluss, with the day it arrived and the amount: the six weeks become a Frist until the Offenlegung is recorded, and the amounts after them are returned.

Usage: decuma androhung.record [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --amount <STRING>
          (required) The Ordnungsgeld threatened.

      --beleg-id <STRING>
          The Androhung in the Belegablage.

      --geschaeftsjahr <INTEGER>
          (required) The business year whose Jahresabschluss is to be disclosed.

      --zugang-am <STRING>
          (required) The day the Androhung arrived.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

antrag

decuma antrag.catalog

The forms of Mein ELSTER this product prepares, with the exact name as the portal lists it, the norm and the day the name was read.

Usage: decuma antrag.catalog [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma antrag.prepare

Prepares an Antrag of Mein ELSTER as an Einreichung (formular fristverlaengerung, vorauszahlung_anpassen, bankverbindung, adresse or sonstige_nachricht): the data as a list from the master data, the text to copy, the form name of the catalogue with the day it was read, and what to know. Released and filed with the Commands of the Einreichung.

Usage: decuma antrag.prepare [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

api_key

decuma api_key.create

Create an API-Schlüssel for this Mandant with a set of Freigabeklassen; the secret is shown once.

Usage: decuma api_key.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --approval-classes <ARRAY>
          (required) What the key may do on its own; queries of the Mandant are always allowed. [shape: [ledger_write | filing | money | external_communication | bulk_correction | submission | administration]]

      --name <STRING>
          (required)

      --valid-until <STRING>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma api_key.list

List the API-Schlüssel of this Mandant (without secrets): filter, sort, page; no CSV export.

Usage: decuma api_key.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bis <STRING>
          Up to this day (inclusive).

      --filter <OBJECT>
          Categorical filters: column -> the values to keep.

      --format <STRING>
          csv: every filtered row, in `csv`; xlsx and pdf: the same rows as a file, in `datei`. [values: json, csv, xlsx, pdf]

      --page <INTEGER>
          The page, from 1.

      --per-page <INTEGER>
          Rows per page, 1 to 500 (default 50).

      --sorting <STRING>
          A sortable column, ascending, or with a leading `-` descending.

      --text <STRING>
          Rows whose text columns contain this, ignoring case.

      --von <STRING>
          From this day on (inclusive), over the list's date column.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma api_key.revoke

Revoke an API-Schlüssel; it is refused from now on (a team member: only their own).

Usage: decuma api_key.revoke [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

approval_policy

decuma approval_policy.get

Read the Freigaberichtlinie of the Mandant: which Actor may do what alone.

Usage: decuma approval_policy.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma approval_policy.set

Replace the Freigaberichtlinie of the Mandant (Inhaber only); the Freigabe of a Meldung stays with a human of the Mandant. Run by a person only: the Freigaberichtlinie sets what programs may do alone, and no program changes its own limits.

Usage: decuma approval_policy.set [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --rules <ARRAY>
          (required) The complete new policy; it replaces the rows (allow or ask; the Freigabe itself stays
          with a human of the Mandant whatever a row of filing says). [shape: [{actor_id?, actor_kind, approval_class: ledger_write | filing | money | external_communication | bulk_correction | submission | administration, condition?: {all: [object]} | {eines: [object]} | {nicht: object} | {feld, op: gleich | ungleich | kleiner | kleiner_gleich | groesser | groesser_gleich | enthaelt | beginnt_mit | eines_von, wert: object}, entscheidung}]]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma approval_policy.set_cell

Set one cell of the Freigaberichtlinie (Inhaber only): darf allein (optionally up to an amount) or fragt nach. The row Übermittlung is fixed. Run by a person only: the Freigaberichtlinie sets what programs may do alone, and no program changes its own limits.

Usage: decuma approval_policy.set_cell [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --approval-class <OBJECT>
          (required) How much consent a Command needs. [values: ledger_write, filing, money, external_communication, bulk_correction, submission, administration]

      --column <STRING>
          (required)  [values: teammitglied, regel, agent, api_schluessel]

      --entscheidung <STRING>
          (required)  [values: darf_allein, fragt_nach]

      --until-amount <STRING>
          With darf_allein: up to this amount; above it the Actor asks.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma approval_policy.table

The Freigaberichtlinie as the table of its screen: rows Buchung, Zahlung, externe Kommunikation, Sammelkorrektur, Einreichung, Übermittlung; columns team member, Regel, Agent, API-Schlüssel.

Usage: decuma approval_policy.table [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

asset

decuma asset.complete

Complete an Anlage im Bau or an Anzahlung: an Umbuchung of its cost to the Konto of its kind on the day of completion, from which the Abschreibung runs (a building at its rate of § 7 Abs. 4 EStG); the Anlagenspiegel shows it as Umbuchung.

Usage: decuma asset.complete [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --asset-id <STRING>
          (required)

      --date <STRING>
          (required) The day of completion or delivery (R 7.4 Abs. 1 EStR): the Abschreibung starts with it.

      --erstes-jahr <STRING>
          A building: how its first year is counted, volle_monate_mit_anschaffungsmonat (the
          person's answer to the proposal).

      --gebaeude <OBJECT>
          Completed into a building (Bauten im Bau): what decides its rate (§ 7 Abs. 4 Satz 1 EStG);
          the day of completion is `datum`. [shape: {bauantrag?, fertigstellung?, ohne_grund_und_boden?, wohnzwecke}]

      --kind <STRING>
          (required) The kind it is completed into (abschluss anlagearten, written off linearly).

      --origin <OBJECT>
          [values: tabelle, bmf_computer, eigene_schaetzung]

      --years <INTEGER>
          The useful life when it deviates from the proposal of the kind or none exists.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma asset.create

Create the entry of an Anlage from the Buchung of its purchase (cost, Konto and Beleg from the Buchung): treatment by the limits and the choice of the year, useful life with its origin.

Usage: decuma asset.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --buchung-id <STRING>
          (required) The Buchung of the purchase: cost, Konto and Beleg come from it.

      --category <STRING>
          computerhardware, software, pkw, ... (the proposals of the rule data), or none.

      --erstes-jahr <STRING>
          How the year of acquisition of a building is counted: volle_monate_mit_anschaffungsmonat
          (the person's answer to the proposal).

      --gebaeude <OBJECT>
          A building: what decides its rate (§ 7 Abs. 4 Satz 1 EStG). [shape: {bauantrag?, fertigstellung?, ohne_grund_und_boden?, wohnzwecke}]

      --invoice-tax <STRING>
          Line without a rate: the tax the invoice shows.

      --kind <STRING>
          The kind of the rule data abschluss anlagearten (asset.kinds); else the kind of the Konto
          of the purchase where only one kind has it.

      --konto <STRING>
          The Konto of the line of the Buchung (Grund und Boden and Gebäude of one purchase are two
          entries); default: the first line on an Anlagekonto.

      --lieferung <STRING>
          (required) The day of delivery (R 7.4 Abs. 1 EStR), not the day of the invoice.

      --line <INTEGER>
          The purchase line (offene_kaeufe `line`) when the Buchung holds several.

      --name <STRING>
          (required)

      --origin <OBJECT>
          [values: tabelle, bmf_computer, eigene_schaetzung]

      --selbstaendig-nutzbar[=<BOOL>]
          Usable on its own (§ 6 Abs. 2 Satz 2 EStG): the person's answer, asked up to the pool limit.
          
          [possible values: true, false]

      --voll-im-ersten-jahr[=<BOOL>]
          Computerhardware and Software with one year: the whole amount in the first year.
          
          [possible values: true, false]

      --wahl-des-jahres <STRING>
          Sofortabzug or Sammelposten for the year: given once, it holds for every asset of the year.

      --years <INTEGER>
          The useful life when it deviates from the proposal or none exists (with herkunft and reason).

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma asset.kinds

The kinds of an asset a capture or an entry of the Anlagenverzeichnis names: Konto, Konto of the Abschreibung, how it is written off, the proposed useful life with its origin.

Usage: decuma asset.kinds [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma asset.list

The Anlagenverzeichnis of a Wirtschaftsjahr: every Anlage with its AfA-Plan, the purchases on Konten of the Anlagevermögen without an entry, and the Anlagenspiegel per position (§ 284 Abs. 3 HGB).

Usage: decuma asset.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma asset.record_disposal

Record the Abgang of an Anlage with day and proceeds: the Abschreibung up to it is offered for confirmation, the remaining book value computed. The Buchung of the Abgang is made by hand.

Usage: decuma asset.record_disposal [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --asset-id <STRING>
          (required)

      --date <STRING>
          (required)

      --erloes <STRING>
          (required) Proceeds without Umsatzsteuer.

      --zeitanteil <STRING>
          How the share of the year is counted: the person's own setting (monate_mit_abgangsmonat,
          monate_ohne_abgangsmonat, tage); asked without a preselected answer. [values: monate_mit_abgangsmonat, monate_ohne_abgangsmonat, tage]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma asset.update_useful_life

Change the useful life of an Anlage with origin and a reason, while no Abschreibung of it is posted; the proposal of the workbook follows.

Usage: decuma asset.update_useful_life [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --asset-id <STRING>
          (required)

      --origin <OBJECT>
          (required) Where a useful life comes from (kept with its reason). [values: tabelle, bmf_computer, eigene_schaetzung]

      --years <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

attention

decuma attention.list

What needs attention on this Mandant, most urgent first: Meldungen of ended periods (overdue first, those ready for the person's Freigabe), other open Fristen, the year-end of an ended Wirtschaftsjahr, open questions, Belege not booked, Bankumsätze not resolved, and Hinweise from the Meldungen and the year-end. Each item names its due day, amount, and the Command to call next, or why only a person can take the step.

Usage: decuma attention.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --horizon-days <INTEGER>
          Days ahead a Frist is listed before it can be acted on, 0 to 400 (default 30).

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

automation

decuma automation.list

What is paused by a reason, with what would have run since (listed, not caught up).

Usage: decuma automation.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --reason <STRING>
          Only what this reason paused; all reasons when left out.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma automation.pause

Pause everything that fires by itself in one step, with a reason: the Regeln, the series of recurring Rechnungen, the recurring expenses and the automatic Mahnwesen. Nothing is deleted or changed; what a person paused before is left alone. One notice lists what was paused.

Usage: decuma automation.pause [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --reason <STRING>
          (required) Why: a short key such as `downgrade`.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma automation.resume

Switch on again exactly what a reason paused (automation.pause), in one step; what a person paused stays paused. What fell due meanwhile is listed in the result and not caught up: everything runs from today on.

Usage: decuma automation.resume [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --reason <STRING>
          (required) Why: a short key such as `downgrade`.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

bank_account

decuma bank_account.close

Close a Bankkonto from a day on: lines booked after it are refused from then on.

Usage: decuma bank_account.close [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bank-account-id <STRING>
          (required)

      --closed-on <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bank_account.create

Add a Bankkonto of a Betrieb: name, IBAN, the Konto it posts to (default the bank Konto of the Kontenplan), the statement balance at the start of eroeffnet_am (the first day whose Bankumsätze Decuma holds; not the day the bank opened it). The opening balance is not booked: a warning names the difference to the Konto, and another one a Konto shared with another Bankkonto.

Usage: decuma bank_account.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --anfangssaldo-eur <STRING>
          An account in another currency with an opening balance: its euro value (as booked on the
          Konto at the opening).

      --betrieb-id <STRING>
          

      --currency <STRING>
          The currency the account is kept in (ISO 4217), default EUR.

      --iban <STRING>
          (required)

      --konto <STRING>
          Default: the bank Konto of the Kontenplan.

      --name <STRING>
          (required)

      --opened-on <STRING>
          (required) The first day Decuma holds the statements of this account for: Bankumsätze start on it and
          none before it can be imported. Not the day the bank opened the account; when the books start
          mid-year, the day of the first statement line kept here.

      --opening-balance <STRING>
          (required) The balance on the bank statement at the start of `eroeffnet_am` (the closing balance of
          the day before).

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bank_account.list

The Bankkonten of the Mandant with their balance (the main account, on the bank Konto of the Kontenplan, first), and the ways bank data arrives in this build (file import, API).

Usage: decuma bank_account.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bank_account.update

Change a Bankkonto: name, IBAN, Konto, the remembered mapping profile; the opening balance and its date only while no Bankumsatz exists.

Usage: decuma bank_account.update [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bank-account-id <STRING>
          (required)

      --iban <STRING>
          

      --konto <STRING>
          

      --name <STRING>
          

      --opened-on <STRING>
          Only while no Bankumsatz exists.

      --opening-balance <STRING>
          Only while no Bankumsatz exists.

      --profile-id <STRING>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

bank_connection

decuma bank_connection.accounts

List the accounts the bank connection of this installation offers; add one as Bankkonto with bank_account.create, then fetch its lines with bank_transaction.fetch.

Usage: decuma bank_connection.accounts [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bank_connection.banks

The banks of a country a Bankzugang can be started with (the bank picker), optionally only those for business or personal accounts, by name: the name bank_connection.start takes, and the logo when the provider gives one.

Usage: decuma bank_connection.banks [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --country <STRING>
          (required) ISO 3166-1 alpha-2, such as DE.

      --psu-type <STRING>
          Only the banks for this kind of account holder. [values: business, personal]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bank_connection.complete

Complete a Bankzugang with what the bank sent back (state and code, or error): binds the accounts to Bankkonten and reads them the first time. The callback of the person who confirmed at the bank; the state is single use and expires after 30 minutes.

Usage: decuma bank_connection.complete [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --code <STRING>
          The code the bank sent back. Not written to the Command-Log (its SHA-256 is).

      --error <STRING>
          The error the bank sent back instead of a code (such as the account holder cancelling).

      --state <STRING>
          (required) The state the bank sent back. Not written to the Command-Log.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bank_connection.list

Every Bankzugang of the Mandant, newest first, with its status (active, expiring, expired, revoked, superseded, failed, pending), its health and its Bankkonten.

Usage: decuma bank_connection.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bank_connection.revoke

End a Bankzugang: nothing is read any more, then the consent is withdrawn at the provider. Bankkonten and their lines stay.

Usage: decuma bank_connection.revoke [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bank_connection.start

Start a Bankzugang: read-only access to the accounts at a bank, which the account holder confirms at the bank within 30 minutes by opening the returned url. With renews: a new consent for an earlier Bankzugang. Then bank_connection.list.

Usage: decuma bank_connection.start [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --aspsp-country <STRING>
          (required) ISO 3166-1 alpha-2, such as DE.

      --aspsp-name <STRING>
          (required) The bank as the provider names it.

      --psu-type <STRING>
          (required) Whether the account holder is a business or a person, as the provider asks. [values: business, personal]

      --renews <STRING>
          The Bankzugang this one renews (in any state); it is superseded when this one completes.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bank_connection.sync

Read the accounts of an active Bankzugang now: new lines from 7 days before the last delivered day, all history the first time; delivered like bank_transaction.deliver (known lines skipped). Fetched lines notify nobody.

Usage: decuma bank_connection.sync [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

bank_file

decuma bank_file.import

Import a bank statement file (camt.053.001.08, MT940, CSV with a mapping profile) into a Bankkonto: kept unchanged as a Beleg, known lines skipped, refused as a whole when its opening balance does not continue the lines held.

Usage: decuma bank_file.import [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bank-account-id <STRING>
          (required)

      --closing-balance <STRING>
          For a CSV file without a balance column: the closing balance of the statement, which
          completes the balance check at once (a file that does not lead to it is refused).

      --content <STRING>
          (required) The file, base64. Not written to the Command-Log. [file: @PATH]

      --encoding <STRING>
          The encoding of an MT940 file, which the format does not fix (default: UTF-8 if valid, else ISO 8859-1). [values: utf-8, iso-8859-1, windows-1252]

      --kurse <ARRAY>
          An account in another currency: documented rates or euro amounts of single lines; the
          other lines take the ECB reference rate of their booking day. [shape: [{betrag_eur?, exchange_rate?, nachweis, position}]]

      --profile-id <STRING>
          For a CSV file; remembered on the Bankkonto when the import succeeds.

      --ueberschriften-uebernehmen[=<BOOL>]
          Confirms the headings of this file for a saved profile that names none: they are saved in the
          profile (a profile without a header row is saved as such), then the file is read.
          
          [possible values: true, false]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

bank_import

decuma bank_import.check_balance

Complete the balance check of a file imported without balances (saldo_nicht_geprueft on the Bankkonto): the closing balance of the statement must equal the opening balance of the Bankkonto plus every line held up to the file's last booking day, else refused.

Usage: decuma bank_import.check_balance [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bank-account-id <STRING>
          (required)

      --closing-balance <STRING>
          (required) The closing balance the bank statement states for the file's last booking day.

      --delivery-id <STRING>
          (required) The import without balances (`saldo_nicht_geprueft` of the Bankkonto).

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bank_import.set_start_date

Answer the question anfangsdatum_fehlt of an MT940 import whose opening balance has no date: the day of the opening balance. Lines with a booking day (month and day) are booked in the one year it fits; lines without one follow the rule of a statement without booking day (one booking day: the closing day; else one question buchungstag_fehlt).

Usage: decuma bank_import.set_start_date [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --date <STRING>
          (required) The day of the opening balance: the statement runs from the day after it.

      --question-id <STRING>
          (required) The Rückfrage `anfangsdatum_fehlt` of the import.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

bank_profile

decuma bank_profile.create

Add a mapping profile for CSV bank files (columns, date and number format, sign, skipped lines, encoding); a copy is this Command with another profile's data.

Usage: decuma bank_profile.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --name <STRING>
          (required)

      --profile <OBJECT>
          (required) Which column holds which field, date and number format, sign convention, lines to skip and
          the text encoding. Columns count from 1. [shape: {columns: {amount, bank_reference?, iban?, name?, original_amount?, original_currency?, original_rate?, posting_date, remittance_info?, saldo?, value_date?}, currency?, datumsformat: TT.MM.JJJJ | JJJJ-MM-TT | TT.MM.JJ | TT-MM-JJJJ | TT-MM-JJ | TT/MM/JJJJ | TT/MM/JJ | JJJJ/MM/TT | JJJJ.MM.TT | MM/TT/JJJJ, dezimaltrenner, encoding: utf-8 | iso-8859-1 | windows-1252, fusszeilen?, kopfzeilen, ohne_ueberschriften?, tausendertrenner?, trennzeichen, ueberschriften?: [string], vorzeichen: {kind: im_betrag} | {column, haben, kind: kennzeichen, soll}}]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bank_profile.list

The mapping profiles for CSV bank files: the example profile of the build first, then the Mandant's own.

Usage: decuma bank_profile.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bank_profile.update

Change a mapping profile of the Mandant; the example profile is copied, never changed.

Usage: decuma bank_profile.update [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --name <STRING>
          

      --profile <OBJECT>
          Which column holds which field, date and number format, sign convention, lines to skip and
          the text encoding. Columns count from 1. [shape: {columns: {amount, bank_reference?, iban?, name?, original_amount?, original_currency?, original_rate?, posting_date, remittance_info?, saldo?, value_date?}, currency?, datumsformat: TT.MM.JJJJ | JJJJ-MM-TT | TT.MM.JJ | TT-MM-JJJJ | TT-MM-JJ | TT/MM/JJJJ | TT/MM/JJ | JJJJ/MM/TT | JJJJ.MM.TT | MM/TT/JJJJ, dezimaltrenner, encoding: utf-8 | iso-8859-1 | windows-1252, fusszeilen?, kopfzeilen, ohne_ueberschriften?, tausendertrenner?, trennzeichen, ueberschriften?: [string], vorzeichen: {kind: im_betrag} | {column, haben, kind: kennzeichen, soll}}]

      --profile-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

bank_transaction

decuma bank_transaction.assign

Match a payment of the bank statement (Zahlung, Bankumsatz) to the invoice it pays, or link it otherwise: Offene Posten (posts the payment Buchung), a payment recorded before (no second Buchung), a transfer between own Bankkonten, or a Beleg not booked yet (captured with the Bankkonto as the way).

Usage: decuma bank_transaction.assign [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bank-transaction-id <STRING>
          (required)

      --customer-paid-on <STRING>
          A payout of a payment provider: the day the customers' payments arrived there by its report.

      --difference <OBJECT>
          [values: rest_offen, bankgebuehr, kursdifferenz, skonto]

      --erfassung <OBJECT>
          [shape: {amendment_received_on?, beleg_id?, belegdaten: {belegart?: rechnung | kleinbetragsrechnung | fahrausweis | vertrag | sonstiges | eigenbeleg | lohnsteuerbescheinigung | kontoauszug | versicherungsbescheinigung | spendenquittung | handwerkerrechnung | mietunterlage | rentenbescheinigung | betriebsunterlage | credit_note | dunning_notice | bewirtung_beleg, belegdatum?, brutto?, currency?, empfaenger?, issuer?, issuer_country?, issuer_postal_address?, issuer_steuernummer?, issuer_ust_idnr?, leistung?, leistungsdatum?, positions?: [{brutto?, drink?, steuersatz?, text}], prepaid_credit?, received_latest?: {evidence: email_time | receipt_stamp | portal_log | own_transfer | own_letter, latest_confirmed?, on, reference}, rechnung_erhalten_am?, rechnungsnummer?, recipient_postal_address?, recipient_ust_idnr?, rows?: [{brutto?, category?, cost_center_id?, delivered_on?, foreign_vat?, is_service?, leistungsdatum?, mitbenutzung?: {assignment?: ganz | anteilig | keine, entgelt?, erstmals_verwendet?, gesellschafter_id?, kind: laufend | gegenstand, months?, natuerliche_person?, unternehmensanteil}, netto?, partly_deductible?, steuer?, steuersatz?, steuerschluessel?, supply_from?, supply_to?, trip_documented?, vehicle?: company | owner | other, wirtschaftsgut?: {gehoert_zu?, invoice_tax?, kind?, land_purchase?: taxed_by_option | no_option | whole_business | incidental_cost, restnutzungsdauer?, selbstaendig_nutzbar, useful_life_years?}}], skonto?: {percent, tage?}, supply_from?, supply_precision?: month | days, supply_sections?: [{first_day, last_day}], supply_to?, whole_month?}, betrieb_id?, bewirtung?: {occasion, only_drinks?, participants: [string]}, business_partner_id?, case_id?, deducted_on_invoice?, e_rechnung_weg?: objektiver_nachweis | uebergangsregel_angenommen, eigenbeleg?: {empfaenger, rationale, zweck}, gesellschafter_id?, gift?: {recipient?, scatter_items?}, input_tax_share?: full | partial | none, not_paid_before?, paid?: bank | bar | noch_offen | card | credit_card | privat_ausgelegt, prepaid_period?: payment | supply, prepayment_for?: building | machinery | equipment | goods | intangible_asset | land | service, prepayments?: [string], refund?, refunded?, refunded_on?, self_billing_tax?: object | declare_excess, text?, typical_work_clothing?, wait_for_amendment?}]

      --fixkosten-lauf-id <STRING>
          An expected expense of a recurring expense (Fixkosten): books its rate, once.

      --posten <ARRAY>
          [shape: [string]]

      --provider-payments <ARRAY>
          The same: the payments recorded before (payment.record, weg payment_provider) it carries. [shape: [string]]

      --receipt-day <STRING>
          The same, when the contract leaves the day open: the day a person states.

      --transfer-bank-transaction-id <STRING>
          

      --zahlung-buchung-id <STRING>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bank_transaction.assign_matching

Link every open Bankumsatz marked passt (an unambiguous candidate: its amount to the cent and a second reason, such as the name on a plausible date or the Rechnungsnummer it quotes, matched by no other open line; never the amount alone) to that candidate, in one step.

Usage: decuma bank_transaction.assign_matching [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bank-account-id <STRING>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bank_transaction.clarify

Book a bank payment or fee that has no Beleg (Kontoführung, bank charges), or say its Beleg follows or that it is private: the answer to the question (Rückfrage) of a Bankumsatz without candidate, by bank_transaction_id. kein_beleg: no document exists; the product writes the Eigenbeleg and books the Bankumsatz on the Kategorie given (category.list), no Vorsteuer; where the recipient owes the tax, with paid_in_advance or supply_to. refund_of_payment: a credit refunds an earlier payment without an invoice (refund_of); it reduces the same Kennzahlen in the period of the refund. beleg_folgt: the Beleg is linked later (with prepayment_for on a debit, an own Anzahlung paid before the supplier's Anzahlungsrechnung, booked gross on the Anzahlung Konto until that invoice is captured into the same case; or with category, supplier_seat, supply_to and eigenbeleg, the expense of a supplier at home, booked gross without Vorsteuer now; capturing the invoice into the same case moves its tax to the Vorsteuer in the period of the invoice). privat: a Privateinlage of a natürliche Person.

Usage: decuma bank_transaction.clarify [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --answer <OBJECT>
          (required)  [values: beleg_folgt, kein_beleg, privat, refund_of_payment]

      --bank-transaction-id <STRING>
          (required)

      --category <STRING>
          

      --eigenbeleg <OBJECT>
          [shape: {empfaenger, rationale, zweck}]

      --paid-in-advance[=<BOOL>]
          With kein_beleg and a Kategorie whose tax the recipient owes (§ 13b UStG): the service was
          paid in advance, so the payment decides the period.
          
          [possible values: true, false]

      --prepayment-for <OBJECT>
          With beleg_folgt on a debit: an own Anzahlung paid before the supplier's Anzahlungsrechnung.
          It is booked gross on the Anzahlung Konto of this kind; capturing the Anzahlungsrechnung into
          the same Vorgang later moves its tax share to the Vorsteuer. [values: building, machinery, equipment, goods, intangible_asset, land, service]

      --refund-in-currency <STRING>
          The same, when that payment was in a foreign currency the statement does not name: the
          refunded amount in it.

      --refund-of <STRING>
          With refund_of_payment: the bank_transaction_id of the payment that is refunded.

      --steuersatz <STRING>
          

      --supplier-seat <STRING>
          With beleg_folgt and a category: where the supplier sits. Only a supplier at home can be waited for. [values: inland, eu, drittland]

      --supply-from <STRING>
          With supply_to: the first day of the section; the same day says that the service was supplied
          on one day, not before the payment of that day.

      --supply-to <STRING>
          The same: the last day of the service instead; paid by the end of it, the payment decides. With
          beleg_folgt and a category: the day of the supply.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bank_transaction.decide_held_back

Answer the question bankumsaetze_vorgelegt of an import without balances: per held-back line whether it is a payment of its own (booked now) or the same line again (dropped). Every line of the question needs an answer.

Usage: decuma bank_transaction.decide_held_back [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --question-id <STRING>
          (required) The Rückfrage `bankumsaetze_vorgelegt` of the import.

      --rows <ARRAY>
          (required) One answer per line of the Rückfrage. [shape: [{nr, uebernehmen}]]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bank_transaction.deliver

Deliver Bankumsätze through the API with the opening and closing balance of the range; checked like a file (known lines, continuity) and kept as a Beleg. Send an Idempotency-Key.

Usage: decuma bank_transaction.deliver [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bank-account-id <STRING>
          (required)

      --bookkeeping-start <STRING>
          Lines booked before it are stored and deduplicated but open no Vorgang.

      --closing-balance <OBJECT>
          [shape: {amount, date}]

      --opening-balance <OBJECT>
          Both balances, or neither: lines without balances are read without a balance check
          (warning `saldo_nicht_geprueft`), as a file without balances. [shape: {amount, date}]

      --source <STRING>
          `fetch`: read from the bank by a sync; a line without bank reference equal to
          held lines on booking day, amount and counterparty is paired silently, counted in
          `rows_paired`. Default `api`. [values: api, fetch]

      --umsaetze <ARRAY>
          (required)  [shape: [{amount, bank_reference?, ende_zu_ende_referenz?, iban?, name?, posting_date, remittance_info?, return_reason?, value_date?}]]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bank_transaction.fetch

Fetch the booked lines of a Bankkonto for a range of days from the bank connection; checked and kept like bank_transaction.deliver (known lines skipped, continuity). Send an Idempotency-Key.

Usage: decuma bank_transaction.fetch [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bank-account-id <STRING>
          (required)

      --first-day <STRING>
          (required) First booking day, inclusive.

      --last-day <STRING>
          (required) Last booking day, inclusive.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bank_transaction.get

The Abgleich of one Bankumsatz: what it is linked to, or its candidates by rules with the reason for each, and its question.

Usage: decuma bank_transaction.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bank-transaction-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bank_transaction.list

The Bankumsätze of the Mandant (lines of bank statements and deliveries), oldest first, with the state of their Abgleich (offen, zugeordnet, rueckfrage), whether one candidate fits, and the sums.

Usage: decuma bank_transaction.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bis <STRING>
          Up to this day (inclusive).

      --filter <OBJECT>
          Categorical filters: column -> the values to keep.

      --format <STRING>
          csv: every filtered row, in `csv`; xlsx and pdf: the same rows as a file, in `datei`. [values: json, csv, xlsx, pdf]

      --page <INTEGER>
          The page, from 1.

      --per-page <INTEGER>
          Rows per page, 1 to 500 (default 50).

      --sorting <STRING>
          A sortable column, ascending, or with a leading `-` descending.

      --text <STRING>
          Rows whose text columns contain this, ignoring case.

      --von <STRING>
          From this day on (inclusive), over the list's date column.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bank_transaction.mark_payout

Mark a bank credit not linked yet as the payout of a payment provider. A question asks once per provider: under Istversteuerung what the contract says, under Sollversteuerung whether customers pay there before the supply; the Voranmeldungen the payout may concern wait for the answer or the day. Linking the payout to its Posten (bank_transaction.assign) takes the day of the report and the provider's fee as difference bankgebuehr; the fee of a provider in another EU member state then asks how it is taxed.

Usage: decuma bank_transaction.mark_payout [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --advance <OBJECT>
          The payout is an advance: credited before the customers' payments arrived at the provider. [shape: {customer_paid_on?}]

      --bank-transaction-id <STRING>
          (required)

      --payment-provider-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bank_transaction.propose_category

Ask the decision port for the Kategorie of an open debit without Beleg and without candidate: a confident Kategorie that can be booked on an Eigenbeleg becomes the proposed answer kein_beleg of its question, with its reason; a Kategorie that needs a Beleg, or no confident answer, leaves the question as it is. Nothing is booked (the installation only, after the Regeln).

Usage: decuma bank_transaction.propose_category [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bank-transaction-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bank_transaction.set_not_paid_until

State that the customers whose sold claims a payout paid (contract buys_claim) have not paid the buyer up to a day: the Voranmeldungen up to that day no longer wait for this payout. until null takes it back. Run by a person only.

Usage: decuma bank_transaction.set_not_paid_until [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bank-transaction-id <STRING>
          (required)

      --until <STRING>
          The last day up to which the customers have not paid; null takes an earlier statement back.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bank_transaction.set_posting_date

Answer the question buchungstag_fehlt of an MT940 import over several days: the booking day of each line that names none (a day of the statement); the lines are booked then.

Usage: decuma bank_transaction.set_posting_date [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --question-id <STRING>
          (required) The Rückfrage `buchungstag_fehlt` of the import.

      --rows <ARRAY>
          (required) One booking day per line of the Rückfrage. [shape: [{nr, posting_date}]]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bank_transaction.unassign

Zuordnung lösen, a Korrektur: every live link of the Bankumsatz ends; a payment Buchung the link posted is reversed by a Storno and its Offene Posten reopen.

Usage: decuma bank_transaction.unassign [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bank-transaction-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bank_transaction.unmark_payout

Take back the mark of a bank credit as a payment provider's payout (it is none), while it is not linked. It can be marked again. Run by a person only.

Usage: decuma bank_transaction.unmark_payout [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bank-transaction-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

beleg

decuma beleg.assign

Add a Beleg as further evidence to an existing Buchung (no second Buchung); its own case is closed.

Usage: decuma beleg.assign [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --beleg-id <STRING>
          (required)

      --buchung-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma beleg.deliver

Step 2 of uploading a Beleg, receipt, invoice or E-Rechnung: put the files stored with file.store (pages: their hashes, in page order) into the inbox (Eingang) as one Beleg. Checks duplicates by file and content, opens a case and reads it: an E-Rechnung (XML, or a PDF with embedded XML) from its structure, anything else through the reading port if one is configured. Returns the case, its state and the Belegdaten read.

Usage: decuma beleg.deliver [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --channel <STRING>
          [values: app, api]

      --pages <ARRAY>
          (required) The SHA-256 of the stored files (`file.store`), in page order. [shape: [string]]

      --skip-quality-check[=<BOOL>]
          Deliver pictures below the quality limits anyway: the Beleg is stored unread (the reading
          port is not asked) and its data is entered by hand.
          
          [possible values: true, false]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma beleg.export_zip

Download the original files of every Beleg of this Mandant as one ZIP (<Beleg number>/<page>-<sha256>); without the right "Sieht Lohn" without the Belege that touch payroll (payroll_included false); returns a reference valid for 10 minutes for this session or key.

Usage: decuma beleg.export_zip [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma beleg.get

Read a Beleg: its pages, its Belegdaten with every earlier reading, whether it is an E-Rechnung (with the report of a failed check), a credit note's kind and the invoice it corrects, its case and Buchungen.

Usage: decuma beleg.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --beleg-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma beleg.list

Every Beleg of the Mandant with its Belegdaten and status; the tab "Ohne Buchung" is the filter status ohne_buchung, with why it is open and the next steps. The filter betrieb_id keeps the Belege of one Betrieb.

Usage: decuma beleg.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bis <STRING>
          Up to this day (inclusive).

      --filter <OBJECT>
          Categorical filters: column -> the values to keep.

      --format <STRING>
          csv: every filtered row, in `csv`; xlsx and pdf: the same rows as a file, in `datei`. [values: json, csv, xlsx, pdf]

      --page <INTEGER>
          The page, from 1.

      --per-page <INTEGER>
          Rows per page, 1 to 500 (default 50).

      --sorting <STRING>
          A sortable column, ascending, or with a leading `-` descending.

      --text <STRING>
          Rows whose text columns contain this, ignoring case.

      --von <STRING>
          From this day on (inclusive), over the list's date column.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma beleg.merge

Join two or more Belege into a new Beleg with all their pages, naming those it replaces; both stay, their cases are closed.

Usage: decuma beleg.merge [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --beleg-ids <ARRAY>
          (required) Two or more Belege, in page order. [shape: [string]]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma beleg.read_again

Read a Beleg again (neu einlesen, OCR) whose reading failed or found nothing (still unread): through the reading port as at the delivery; the case is then gelesen or has its proposal. A value read wrong is corrected with beleg_data.correct instead. A new reading by a program keeps the holds of the earlier one; only a person releases them.

Usage: decuma beleg.read_again [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --beleg-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

beleg_data

decuma beleg_data.correct

Correct what was read from a Beleg (Belegdaten korrigieren: a wrong amount, date, issuer or number): send only the fields to change, the others keep their recorded value (rows replace the lines as a whole; clear removes a field). A new record, the earlier stays readable; on a booked Beleg (with korrektur_buchen) also a Storno and a new Buchung from the corrected values. On a Beleg booked by hand the record only completes the Beleg; no Buchung changes. A correction by a program is saved and logged; only a person releases a Beleg held because its picture differs from its data or shows a dish at 19 percent.

Usage: decuma beleg_data.correct [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --beleg-id <STRING>
          (required)

      --belegdaten <OBJECT>
          (required) The fields to correct: a field left out (or null) keeps its recorded value. `rows` replace
          the recorded lines as a whole; a line that names no amount keeps the amounts of the recorded
          one when the number of lines is the same. [shape: {belegart?: rechnung | kleinbetragsrechnung | fahrausweis | vertrag | sonstiges | eigenbeleg | lohnsteuerbescheinigung | kontoauszug | versicherungsbescheinigung | spendenquittung | handwerkerrechnung | mietunterlage | rentenbescheinigung | betriebsunterlage | credit_note | dunning_notice | bewirtung_beleg, belegdatum?, brutto?, currency?, empfaenger?, issuer?, issuer_country?, issuer_postal_address?, issuer_steuernummer?, issuer_ust_idnr?, leistung?, leistungsdatum?, positions?: [{brutto?, drink?, steuersatz?, text}], prepaid_credit?, received_latest?: {evidence: email_time | receipt_stamp | portal_log | own_transfer | own_letter, latest_confirmed?, on, reference}, rechnung_erhalten_am?, rechnungsnummer?, recipient_postal_address?, recipient_ust_idnr?, rows?: [{brutto?, category?, cost_center_id?, delivered_on?, foreign_vat?, is_service?, leistungsdatum?, mitbenutzung?: {assignment?: ganz | anteilig | keine, entgelt?, erstmals_verwendet?, gesellschafter_id?, kind: laufend | gegenstand, months?, natuerliche_person?, unternehmensanteil}, netto?, partly_deductible?, steuer?, steuersatz?, steuerschluessel?, supply_from?, supply_to?, trip_documented?, vehicle?: company | owner | other, wirtschaftsgut?: {gehoert_zu?, invoice_tax?, kind?, land_purchase?: taxed_by_option | no_option | whole_business | incidental_cost, restnutzungsdauer?, selbstaendig_nutzbar, useful_life_years?}}], skonto?: {percent, tage?}, supply_from?, supply_precision?: month | days, supply_sections?: [{first_day, last_day}], supply_to?, whole_month?}]

      --clear <ARRAY>
          The fields whose recorded value is removed (the Beleg does not state it). [shape: [belegart | issuer | belegdatum | leistungsdatum | supply_from | supply_to | prepaid_credit | rechnungsnummer | rechnung_erhalten_am | received_latest | brutto | currency | issuer_postal_address | issuer_steuernummer | issuer_ust_idnr | recipient_ust_idnr | empfaenger | recipient_postal_address | leistung | skonto | rows | positions]]

      --korrektur-buchen[=<BOOL>]
          On a booked Beleg: post the Korrektur (Storno and new Buchung). Without it the Command is
          refused, so that the person is asked first.
          
          [possible values: true, false]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

bescheid

decuma bescheid.comparison

The comparison of a Bescheid with the declared values, one row per line (erklärt, Bescheid, Abweichung): the declared side is the snapshot of the transmitted Meldung of the period, the values of a Meldung filed elsewhere, or the typed values, and says which. Where the Formulardefinition carries formulas a difference is marked as own or as following from another line.

Usage: decuma bescheid.comparison [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bescheid.confirm

Confirms a Bescheid ("Passt"): closes the check and puts its payments and new Vorauszahlungen into the payment plan. Allowed with open deviations, which the warning names.

Usage: decuma bescheid.confirm [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bescheid.get

One Bescheid with its Einspruchsfrist, the comparison with the declared values, the payments and the three ways (named, none chosen).

Usage: decuma bescheid.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bescheid.list

Every recorded Bescheid, newest first.

Usage: decuma bescheid.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma bescheid.record

Records a Bescheid typed or from its document: Steuerart, year, kind, date, way of Bekanntgabe, the lines, credited amounts, Nebenbestimmungen, payments and new Vorauszahlungen. Returns the Einspruchsfrist step by step and the comparison with the declared values.

Usage: decuma bescheid.record [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --angaben <OBJECT>
          What is recorded of a Bescheid besides its head. [shape: {aufgabe_am?, erklaert?: object, erlaeuterungen?, neue_vorauszahlungen?: [{amount, kirchensteuer?, solidaritaetszuschlag?, termin}], payment_due?, person?, rechtsbehelf?, rechtsbehelf_bis?, rows?: object, verbunden?: [string], vorbehalt_der_nachpruefung?, vorlaeufig?, zugang_am?}]

      --bekanntgabeweg <STRING>
          (required) How the Bescheid was made known (§§ 122, 122a AO). [values: post, elektronisch, datenabruf]

      --beleg-id <STRING>
          The document in the Belegablage.

      --date <STRING>
          (required)

      --kind <STRING>
          (required) jahresbescheid, vorauszahlungsbescheid, geaendert, gemeinde or zinsbescheid.

      --steuerart <STRING>
          (required) koerperschaftsteuer, gewerbesteuer, umsatzsteuer, ...

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

betrieb

decuma betrieb.activity_guide

Before choosing Gewerbebetrieb or freiberuflich (taetigkeitsart of betrieb.create): what H 15.6 EStH and the BMF letter on Heilberufe say about the activity named, with the source, and what each answer entails (Gewerbeanzeige, Gewerbesteuer, IHK, § 141 AO, Istversteuerung, Anlage S or G, § 35 EStG) with the Finanzamt it points to. Never classifies the activity and never preselects an answer.

Usage: decuma betrieb.activity_guide [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --activity <STRING>
          (required) The activity in the person's words ("Übersetzung", "Pilot").

      --home-tax-office <STRING>
          The Finanzamt of the person's home.

      --management-tax-office <STRING>
          The Finanzamt of the place the business is managed from.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma betrieb.create

Add a Betrieb of one Person to a natürliche Person. Other Mandantenarten have exactly one Betrieb.

Usage: decuma betrieb.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --kontenrahmen <STRING>
          The Kontenrahmen (a loaded kennung; default skr04); fixed at creation.

      --name <STRING>
          (required)

      --person-id <STRING>
          (required) The Person the Betrieb belongs to.

      --taetigkeitsart <STRING>
          (required) Gewerbebetrieb or freiberufliche Tätigkeit. [values: gewerbebetrieb, freiberuflich]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma betrieb.set_activity

Set the Beginn and the optional Ende der Tätigkeit of a Betrieb. The Beginn decides the year of foundation (Kleinunternehmer limit, Voranmeldungszeitraum of a founder, § 18 Abs. 2 UStG); without it the Betrieb counts from the year of its first Buchung. The Ende shortens the Besteuerungszeitraum of the Umsatzsteuererklärung of its year (§ 16 Abs. 3 UStG) and moves its Frist (frist.list). taetigkeitsart: Gewerbebetrieb or freiberuflich, for a natürliche Person or a Personengesellschaft.

Usage: decuma betrieb.set_activity [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          (required)

      --end <STRING>
          Ende der Tätigkeit, optional.

      --start <STRING>
          Beginn der Tätigkeit; null: not known.

      --taetigkeitsart <STRING>
          natürliche Person: Gewerbebetrieb or freiberuflich; left out, it stays. [values: gewerbebetrieb, freiberuflich]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma betrieb.set_buchfuehrungspflicht_notice

Record the day the Finanzamt announced its notice that a Betrieb has to keep books (§ 141 Abs. 2 Satz 1 AO); from the following Wirtschaftsjahr the Einnahmenüberschussrechnung of the Betrieb is refused. Null removes it.

Usage: decuma betrieb.set_buchfuehrungspflicht_notice [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          (required)

      --mitteilung-am <STRING>
          The day the Finanzamt's notice of the duty to keep books was announced (§ 141 Abs. 2 AO);
          null removes it.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma betrieb.set_datev

Set the Beraternummer and Mandantennummer the Berater uses, for the header of the DATEV-Format export.

Usage: decuma betrieb.set_datev [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --beraternummer <INTEGER>
          (required) 1001 to 9999999, as the Berater gives it.

      --betrieb-id <STRING>
          

      --mandantennummer <INTEGER>
          (required) 1 to 99999.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma betrieb.set_tax_ids

Record the Steuernummer and the Wirtschafts-Identifikationsnummer (with its Unterscheidungsmerkmal) of a Betrieb, with the day they hold from and their source; fields left out stay. The USt-IdNr. belongs to the Unternehmer (master_data.set), the Identifikationsnummer to the Person (person.set_idnr). A Wirtschafts-Identifikationsnummer is refused as Steuernummer.

Usage: decuma betrieb.set_tax_ids [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          (required)

      --source <STRING>
          The letter, Bescheid, ELSTER-Postfach or Bekanntmachung it came with.

      --tax-number <STRING>
          The Steuernummer the Finanzamt gave this Betrieb; on its Rechnungen unless the Rechnungsangaben
          name another. Empty removes it.

      --valid-from <STRING>
          (required)

      --wirtschafts-idnr <STRING>
          The Wirtschafts-Identifikationsnummer with the Unterscheidungsmerkmal of this Betrieb
          (DE, nine digits, hyphen, five digits; § 139c Abs. 5a AO). Never on a Rechnung. Empty removes it.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

buchung

decuma buchung.add_currency

Add the currency, amounts and rate month of an invoice in a foreign currency that was captured in euro, when Entgelt and tax divided by the rate give the booked amounts to the cent (else correct the capture). The payment may then leave an exchange difference (bank_transaction.assign, difference kursdifferenz). Nothing is booked.

Usage: decuma buchung.add_currency [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --buchung-id <STRING>
          (required)

      --currency <STRING>
          (required) ISO 4217 code of the invoice.

      --month <STRING>
          (required) The month whose rate converts the invoice (YYYY-MM), § 16 Abs. 6 UStG.

      --rows <ARRAY>
          (required) One per captured line, in their order. [shape: [{netto, steuer?}]]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma buchung.correct

Correct a Buchung: its Storno and the replacement in one transaction; when the replacement is refused nothing is written.

Usage: decuma buchung.correct [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --buchung-id <STRING>
          (required)

      --neu <OBJECT>
          (required) The replacement: a manual Buchung or a capture. [shape: {buchung: {belege?: [string], betrieb_id?, case_id?, date, eigenbeleg?: {empfaenger, rationale, zweck}, leistungsdatum?, nachschuss_beschluss?: {abandonrecht, payment_expected, resolved_on}, rechnung_erhalten_am?, rows: [{amount, amount_is?: netto | brutto, beleg_id?, cost_center_id?, konto, side: debit | credit, steuer?, steuerschluessel?, vorsteuer_abziehbar?}], text}} | {erfassung: {amendment_received_on?, beleg_id?, belegdaten: {belegart?: rechnung | kleinbetragsrechnung | fahrausweis | vertrag | sonstiges | eigenbeleg | lohnsteuerbescheinigung | kontoauszug | versicherungsbescheinigung | spendenquittung | handwerkerrechnung | mietunterlage | rentenbescheinigung | betriebsunterlage | credit_note | dunning_notice | bewirtung_beleg, belegdatum?, brutto?, currency?, empfaenger?, issuer?, issuer_country?, issuer_postal_address?, issuer_steuernummer?, issuer_ust_idnr?, leistung?, leistungsdatum?, positions?: [{brutto?, drink?, steuersatz?, text}], prepaid_credit?, received_latest?: {evidence: email_time | receipt_stamp | portal_log | own_transfer | own_letter, latest_confirmed?, on, reference}, rechnung_erhalten_am?, rechnungsnummer?, recipient_postal_address?, recipient_ust_idnr?, rows?: [{brutto?, category?, cost_center_id?, delivered_on?, foreign_vat?, is_service?, leistungsdatum?, mitbenutzung?: object, netto?, partly_deductible?, steuer?, steuersatz?, steuerschluessel?, supply_from?, supply_to?, trip_documented?, vehicle?: company | owner | other, wirtschaftsgut?: object}], skonto?: {percent, tage?}, supply_from?, supply_precision?: month | days, supply_sections?: [{first_day, last_day}], supply_to?, whole_month?}, betrieb_id?, bewirtung?: {occasion, only_drinks?, participants: [string]}, business_partner_id?, case_id?, deducted_on_invoice?, e_rechnung_weg?: objektiver_nachweis | uebergangsregel_angenommen, eigenbeleg?: {empfaenger, rationale, zweck}, gesellschafter_id?, gift?: {recipient?, scatter_items?}, input_tax_share?: full | partial | none, not_paid_before?, paid?: bank | bar | noch_offen | card | credit_card | privat_ausgelegt, prepaid_period?: payment | supply, prepayment_for?: building | machinery | equipment | goods | intangible_asset | land | service, prepayments?: [string], refund?, refunded?, refunded_on?, self_billing_tax?: object | declare_excess, text?, typical_work_clothing?, wait_for_amendment?}}]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma buchung.get

Read a Buchung: its lines, who booked it and why, its Storno and Korrektur, its Belege.

Usage: decuma buchung.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --buchung-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma buchung.post

Post a manual Buchung: lines with Konto, Soll or Haben and amount; a line with a Steuerschlüssel gets its tax lines derived. Cites Belege or writes an Eigenbeleg. A payment the bank statement shows is booked from its Bankumsatz instead (bank_transaction.assign, or bank_transaction.clarify when it has no Beleg); warnings name an open Bankumsatz of the same amount and a period already filed.

Usage: decuma buchung.post [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --belege <ARRAY>
          The evidence: Belege of the Mandant. [shape: [string]]

      --betrieb-id <STRING>
          

      --case-id <STRING>
          

      --date <STRING>
          (required)

      --eigenbeleg <OBJECT>
          Or an Eigenbeleg written by the product. [shape: {empfaenger, rationale, zweck}]

      --leistungsdatum <STRING>
          For the Meldezeitraum where the Belegdaten of the Beleg name none.

      --nachschuss-beschluss <OBJECT>
          The answer to the question on the first Buchung on the claim of called-up Nachschüsse
          (SKR04 1299, SKR03 0839): the Gesellschafterbeschluss that calls them in. [shape: {abandonrecht, payment_expected, resolved_on}]

      --rechnung-erhalten-am <STRING>
          Vorsteuer: the day the invoice reached the Unternehmer, where invoice date and Eingang lie
          in different months (§ 15 Abs. 1 Satz 1 Nr. 1 UStG).

      --rows <ARRAY>
          (required)  [shape: [{amount, amount_is?: netto | brutto, beleg_id?, cost_center_id?, konto, side: debit | credit, steuer?, steuerschluessel?, vorsteuer_abziehbar?}]]

      --text <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma buchung.record

Capture a Beleg (what a payload of a read Beleg leaves out comes from its stored Belegdaten; a value that differs from them is a warning read_value_overridden): its Belegdaten with one line per tax rate and a Kategorie, and "Wie bezahlt?", become the case, a Belegdaten record and a balanced Buchung with the derived tax lines. Without a document: an Eigenbeleg with a Begründung.

Usage: decuma buchung.record [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --amendment-received-on <STRING>
          Set by incoming_invoice.receive_amendment when the correction does not work back: the
          day it arrived, from which the Vorsteuer counts.

      --beleg-id <STRING>
          The document; or `eigenbeleg` for an entry without one.

      --belegdaten <OBJECT>
          (required) The Belegdaten as a person or a caller types them. [shape: {belegart?: rechnung | kleinbetragsrechnung | fahrausweis | vertrag | sonstiges | eigenbeleg | lohnsteuerbescheinigung | kontoauszug | versicherungsbescheinigung | spendenquittung | handwerkerrechnung | mietunterlage | rentenbescheinigung | betriebsunterlage | credit_note | dunning_notice | bewirtung_beleg, belegdatum?, brutto?, currency?, empfaenger?, issuer?, issuer_country?, issuer_postal_address?, issuer_steuernummer?, issuer_ust_idnr?, leistung?, leistungsdatum?, positions?: [{brutto?, drink?, steuersatz?, text}], prepaid_credit?, received_latest?: {evidence: email_time | receipt_stamp | portal_log | own_transfer | own_letter, latest_confirmed?, on, reference}, rechnung_erhalten_am?, rechnungsnummer?, recipient_postal_address?, recipient_ust_idnr?, rows?: [{brutto?, category?, cost_center_id?, delivered_on?, foreign_vat?, is_service?, leistungsdatum?, mitbenutzung?: {assignment?: ganz | anteilig | keine, entgelt?, erstmals_verwendet?, gesellschafter_id?, kind: laufend | gegenstand, months?, natuerliche_person?, unternehmensanteil}, netto?, partly_deductible?, steuer?, steuersatz?, steuerschluessel?, supply_from?, supply_to?, trip_documented?, vehicle?: company | owner | other, wirtschaftsgut?: {gehoert_zu?, invoice_tax?, kind?, land_purchase?: taxed_by_option | no_option | whole_business | incidental_cost, restnutzungsdauer?, selbstaendig_nutzbar, useful_life_years?}}], skonto?: {percent, tage?}, supply_from?, supply_precision?: month | days, supply_sections?: [{first_day, last_day}], supply_to?, whole_month?}]

      --betrieb-id <STRING>
          

      --bewirtung <OBJECT>
          Occasion and participants of a Bewirtung (Kategorie `bewirtung`); stored with the Buchung. [shape: {occasion, only_drinks?, participants: [string]}]

      --business-partner-id <STRING>
          The Kunde or Lieferant of the Buchung, optional.

      --case-id <STRING>
          

      --deducted-on-invoice <STRING>
          The gross the invoice itself deducts as paid in advance (BT-113), if any.

      --e-rechnung-weg <OBJECT>
          An invoice that should have been an e-invoice: the way the Vorsteuer rests on (BMF vom
          15.10.2024, Rn. 58 or 59); without it a capture with Vorsteuer is refused. [values: objektiver_nachweis, uebergangsregel_angenommen]

      --eigenbeleg <OBJECT>
          [shape: {empfaenger, rationale, zweck}]

      --gesellschafter-id <STRING>
          Personengesellschaft, privat ausgelegt: the Gesellschafter who paid, and the answer to "Wird
          der Betrag erstattet?" (false: Einlage; true is refused).

      --gift <OBJECT>
          A gift (Kategorie `geschenk`): its recipient, or the mark of low-value give-aways booked
          together; stored with the Buchung for the Freigrenze per recipient. [shape: {recipient?, scatter_items?}]

      --input-tax-share <STRING>
          How much of the tax you owe is deducted, when asked. [values: full, partial, none]

      --not-paid-before[=<BOOL>]
          Not the invoice of an expense booked before it, when asked.
          
          [possible values: true, false]

      --paid <OBJECT>
          Without it the Buchung is booked as noch offen, with a warning. [values: bank, bar, noch_offen, card, credit_card, privat_ausgelegt]

      --prepaid-period <OBJECT>
          Paid before a supply in a later month: the Vorsteuer's period (payment's or supply's); asked when absent. [values: payment, supply]

      --prepayment-for <OBJECT>
          A supplier's Anzahlungsrechnung (before the supply): what was ordered; booked on the Anzahlung
          Konto of that kind. [values: building, machinery, equipment, goods, intangible_asset, land, service]

      --prepayments <ARRAY>
          The own Anzahlungen (Buchungen of their Anzahlungsrechnungen) a supplier's Endrechnung settles;
          empty: no payment made before belongs to it. Asked when absent. [shape: [string]]

      --refund[=<BOOL>]
          Money back from the issuer, or back to the customer (a refund, a credit note): the Buchung has
          the opposite sign.
          
          [possible values: true, false]

      --refunded[=<BOOL>]
          [possible values: true, false]

      --refunded-on <STRING>
          With `erstattung`: the day the money went back, which decides the period of the change of
          the base; asked when absent.

      --self-billing-tax <OBJECT>
          A self-billing credit note that shows more tax than you owe: object, or declare the excess in
          Kennzahl 69 (a Kleinunternehmer can only object); asked when absent. [values: object, declare_excess]

      --text <STRING>
          

      --typical-work-clothing[=<BOOL>]
          Clothing (Kategorie `kleidung`): the person's answer whether it is typical work clothing
          that cannot be worn privately; without it the capture asks.
          
          [possible values: true, false]

      --wait-for-amendment[=<BOOL>]
          Waiting for the corrected invoice (a mandatory detail lacks): booked gross, without Vorsteuer,
          in no Voranmeldung, until incoming_invoice.receive_amendment.
          
          [possible values: true, false]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma buchung.storno

Reverse a Buchung in full by a Storno of its own; its case returns to the state before (this is also "Rückgängig").

Usage: decuma buchung.storno [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --buchung-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

business_partner

decuma business_partner.archive

Archive a Geschäftspartner: no longer offered in the editor; its Rechnungen stay.

Usage: decuma business_partner.archive [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --business-partner-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma business_partner.create

Create a Geschäftspartner: a Kunde, a Lieferant or both, with address, country and seat, e-mail for invoices, USt-IdNr., Steuernummer, payment term and, for a Kunde, business or consumer.

Usage: decuma business_partner.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --beziehung <OBJECT>
          Gesellschafter, Geschäftsführer or nahestehende Person of the Mandant. [values: gesellschafter, geschaeftsfuehrer, nahestehende_person, keine]

      --business-partner-id <STRING>
          Only for business_partner.update.

      --business-status-proof <OBJECT>
          For a Kunde outside the EU stated as `unternehmer`: the proof of its status (null removes it). [shape: {beleg_id?, date, kind: authority_certificate | other}]

      --cash-discount-percent <STRING>
          Skonto percentage a Kunde may take (DATEV field 111; the format has no Skonto period for
          Debitoren); above 0 and below 100.

      --city <STRING>
          

      --customer-kind <OBJECT>
          `unternehmer`: receives the service for its business. Outside the EU only with its status
          shown (a certificate of an authority of its state, or other evidence; Abschnitt 3a.2 Abs. 11
          UStAE); without that it counts as no business. [values: unternehmer, verbraucher, juristische_person_ohne_unternehmen, unbekannt]

      --customer-number <STRING>
          Kundennummer of the previous program (DATEV field 99); empty removes it.

      --e-invoice <STRING>
          [values: zugferd, xrechnung, pdf]

      --email-invoice <STRING>
          

      --land <STRING>
          ISO 3166 alpha-2, default DE.

      --leitweg-id <STRING>
          

      --name <STRING>
          

      --number <STRING>
          

      --postal-code <STRING>
          

      --roles <ARRAY>
          [shape: [kunde | lieferant]]

      --sitz <STRING>
          Stated, not derived: the product keeps no list of member states. Default inland for DE. [values: inland, eu, drittland]

      --steuernummer <STRING>
          

      --street <STRING>
          

      --ust-idnr <STRING>
          

      --zahlungsziel-tage <INTEGER>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma business_partner.get

One Geschäftspartner with its Rechnungen, Offene Posten and Buchungen.

Usage: decuma business_partner.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --business-partner-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma business_partner.get_kuenstler

Whether a Geschäftspartner is marked as Künstler or Publizist for the Künstlersozialabgabe, and its legal form when given.

Usage: decuma business_partner.get_kuenstler [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --business-partner-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma business_partner.import

PartnerImport Kunden or Lieferanten from a CSV file (base64): columns mapped to fields (proposed from the names), each row new or existing; with vorschau nothing is written, else the new rows are created and existing records stay unchanged.

Usage: decuma business_partner.import [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --assignment <OBJECT>
          Column name to field or nicht_uebernehmen; absent: proposed from the column names.

      --content <STRING>
          (required) The CSV file, base64 (not written to the Command-Log). [file: @PATH]

      --customer-kind <OBJECT>
          For Kunden: the kundenart of every row without a value of its own. Absent: such a row is
          an error (no silent default). [values: unternehmer, verbraucher, juristische_person_ohne_unternehmen, unbekannt]

      --preview[=<BOOL>]
          (required)
          
          [possible values: true, false]

      --role <STRING>
          (required)  [values: kunde, lieferant]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma business_partner.list

Kunden and Lieferanten (filter rolle) with search, filters, sorting and CSV.

Usage: decuma business_partner.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bis <STRING>
          Up to this day (inclusive).

      --filter <OBJECT>
          Categorical filters: column -> the values to keep.

      --format <STRING>
          csv: every filtered row, in `csv`; xlsx and pdf: the same rows as a file, in `datei`. [values: json, csv, xlsx, pdf]

      --page <INTEGER>
          The page, from 1.

      --per-page <INTEGER>
          Rows per page, 1 to 500 (default 50).

      --sorting <STRING>
          A sortable column, ascending, or with a leading `-` descending.

      --text <STRING>
          Rows whose text columns contain this, ignoring case.

      --von <STRING>
          From this day on (inclusive), over the list's date column.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma business_partner.mark_as_kuenstler

Marks a Geschäftspartner as Künstler or Publizist (or removes the mark): the fees booked to it count for the Künstlersozialabgabe in the calendar of duties.

Usage: decuma business_partner.mark_as_kuenstler [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --business-partner-id <STRING>
          (required)

      --kind <STRING>
          The legal form of the partner: payments to a juristische Person, OHG, KG or
          Verwertungsgesellschaft do not count (§ 25 Abs. 2 KSVG). Left out: counted. [values: natuerliche_person, gbr, juristische_person, ohg, kg, verwertungsgesellschaft]

      --kuenstler[=<BOOL>]
          (required) Marked as Künstler or Publizist: its fees count for the Künstlersozialabgabe. Whether a
          service is artistic depends on your case.
          
          [possible values: true, false]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma business_partner.set_bank_details

Set or remove the bank account (IBAN, BIC) of a Geschäftspartner; needs a rationale. The previous account stays in the history.

Usage: decuma business_partner.set_bank_details [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bic <STRING>
          

      --business-partner-id <STRING>
          (required)

      --iban <STRING>
          The partner's account; null removes it.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma business_partner.update

Change a Geschäftspartner (geschaeftspartner_id and only the fields sent). An issued Rechnung keeps the data it was issued with.

Usage: decuma business_partner.update [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --beziehung <OBJECT>
          Gesellschafter, Geschäftsführer or nahestehende Person of the Mandant. [values: gesellschafter, geschaeftsfuehrer, nahestehende_person, keine]

      --business-partner-id <STRING>
          Only for business_partner.update.

      --business-status-proof <OBJECT>
          For a Kunde outside the EU stated as `unternehmer`: the proof of its status (null removes it). [shape: {beleg_id?, date, kind: authority_certificate | other}]

      --cash-discount-percent <STRING>
          Skonto percentage a Kunde may take (DATEV field 111; the format has no Skonto period for
          Debitoren); above 0 and below 100.

      --city <STRING>
          

      --customer-kind <OBJECT>
          `unternehmer`: receives the service for its business. Outside the EU only with its status
          shown (a certificate of an authority of its state, or other evidence; Abschnitt 3a.2 Abs. 11
          UStAE); without that it counts as no business. [values: unternehmer, verbraucher, juristische_person_ohne_unternehmen, unbekannt]

      --customer-number <STRING>
          Kundennummer of the previous program (DATEV field 99); empty removes it.

      --e-invoice <STRING>
          [values: zugferd, xrechnung, pdf]

      --email-invoice <STRING>
          

      --land <STRING>
          ISO 3166 alpha-2, default DE.

      --leitweg-id <STRING>
          

      --name <STRING>
          

      --number <STRING>
          

      --postal-code <STRING>
          

      --roles <ARRAY>
          [shape: [kunde | lieferant]]

      --sitz <STRING>
          Stated, not derived: the product keeps no list of member states. Default inland for DE. [values: inland, eu, drittland]

      --steuernummer <STRING>
          

      --street <STRING>
          

      --ust-idnr <STRING>
          

      --zahlungsziel-tage <INTEGER>
          

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

car

decuma car.post_private_use

Books the private use of the car under the 1 percent rule for every month of the year that ended up to until (default today): one Buchung per month on its last day, Privatkonto against the Konto of the vehicle use at 19 percent with its Umsatzsteuer (80 percent of the value) and the Konto without Umsatzsteuer (20 percent), with the calculation as Eigenbeleg. Reads the car Angaben of the Einnahmenüberschussrechnung (filing.set_input car.*, also car.acquired_with_vorsteuer). Idempotent per month: a month booked with the same amounts stays, a changed basis cancels its Buchung (Storno) and books anew. Refused with the open question where the simplification does not hold (fraction of the list price, Kostendeckelung, acquired without Vorsteuer, Fahrtenbuch, business use up to 50 percent).

Usage: decuma car.post_private_use [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --until <STRING>
          Book every month of the year that ended up to this day (default today).

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

case

decuma case.get

Read a case: its title and amount, its Belege with Belegdaten, the proposal, why it waits for a person (held) and its questions with the Command that answers each, its Buchungen and the next step.

Usage: decuma case.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --case-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma case.propose_category

Ask the decision port for the Kategorie of each line of a read case that has none: when every line is confident the answers become the proposal with its reason; otherwise a question with the closed set for each uncertain line only, and the last answer makes the split proposal (the installation only, after the Regeln).

Usage: decuma case.propose_category [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --case-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma case.resolve_without_buchung

Close a case without a Buchung (not relevant), with a reason from a short list and a note; it counts nowhere.

Usage: decuma case.resolve_without_buchung [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --case-id <STRING>
          (required)

      --note <STRING>
          Required with reason sonstiges.

      --reason <STRING>
          Why it is closed without a Buchung; required. [values: kein_geschaeftsvorfall, privat, doppelt, kein_beleg, sonstiges]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

cash_book

decuma cash_book.enter

Record a cash event in the Kassenbuch of a Kasse: Betriebseinnahme or Betriebsausgabe (a capture paid bar), Privateinlage, Privatentnahme, Geldtransit, or the Tagesabschluss of an external register. Numbered without gaps; refused when the balance would go below zero on any day.

Usage: decuma cash_book.enter [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --amount <STRING>
          Amount (positive) for Privateinlage, Privatentnahme and Geldtransit.

      --beleg-id <STRING>
          The Beleg (Geldtransit: the deposit slip), or the Eigenbeleg (Privateinlage, Privatentnahme).

      --date <STRING>
          (required) The day of the cash event.

      --eigenbeleg <OBJECT>
          [shape: {empfaenger, rationale, zweck}]

      --erfassung <OBJECT>
          Betriebseinnahme and Betriebsausgabe: the capture, paid "bar". [shape: {amendment_received_on?, beleg_id?, belegdaten: {belegart?: rechnung | kleinbetragsrechnung | fahrausweis | vertrag | sonstiges | eigenbeleg | lohnsteuerbescheinigung | kontoauszug | versicherungsbescheinigung | spendenquittung | handwerkerrechnung | mietunterlage | rentenbescheinigung | betriebsunterlage | credit_note | dunning_notice | bewirtung_beleg, belegdatum?, brutto?, currency?, empfaenger?, issuer?, issuer_country?, issuer_postal_address?, issuer_steuernummer?, issuer_ust_idnr?, leistung?, leistungsdatum?, positions?: [{brutto?, drink?, steuersatz?, text}], prepaid_credit?, received_latest?: {evidence: email_time | receipt_stamp | portal_log | own_transfer | own_letter, latest_confirmed?, on, reference}, rechnung_erhalten_am?, rechnungsnummer?, recipient_postal_address?, recipient_ust_idnr?, rows?: [{brutto?, category?, cost_center_id?, delivered_on?, foreign_vat?, is_service?, leistungsdatum?, mitbenutzung?: {assignment?: ganz | anteilig | keine, entgelt?, erstmals_verwendet?, gesellschafter_id?, kind: laufend | gegenstand, months?, natuerliche_person?, unternehmensanteil}, netto?, partly_deductible?, steuer?, steuersatz?, steuerschluessel?, supply_from?, supply_to?, trip_documented?, vehicle?: company | owner | other, wirtschaftsgut?: {gehoert_zu?, invoice_tax?, kind?, land_purchase?: taxed_by_option | no_option | whole_business | incidental_cost, restnutzungsdauer?, selbstaendig_nutzbar, useful_life_years?}}], skonto?: {percent, tage?}, supply_from?, supply_precision?: month | days, supply_sections?: [{first_day, last_day}], supply_to?, whole_month?}, betrieb_id?, bewirtung?: {occasion, only_drinks?, participants: [string]}, business_partner_id?, case_id?, deducted_on_invoice?, e_rechnung_weg?: objektiver_nachweis | uebergangsregel_angenommen, eigenbeleg?: {empfaenger, rationale, zweck}, gesellschafter_id?, gift?: {recipient?, scatter_items?}, input_tax_share?: full | partial | none, not_paid_before?, paid?: bank | bar | noch_offen | card | credit_card | privat_ausgelegt, prepaid_period?: payment | supply, prepayment_for?: building | machinery | equipment | goods | intangible_asset | land | service, prepayments?: [string], refund?, refunded?, refunded_on?, self_billing_tax?: object | declare_excess, text?, typical_work_clothing?, wait_for_amendment?}]

      --gesellschafter-id <STRING>
          Personengesellschaft: the Gesellschafter of a Privateinlage or Privatentnahme.

      --kasse-id <STRING>
          (required)

      --kind <OBJECT>
          (required) The fixed kinds of an entry. [values: betriebseinnahme, betriebsausgabe, privateinlage, kassendifferenz, storno, privatentnahme, geldtransit, tagesabschluss]

      --tagesabschluss <OBJECT>
          Tagesabschluss: its number, its Beleg and the sums per rate. [shape: {beleg_id, number, totals: [{brutto, steuersatz, zahlungsart}]}]

      --text <STRING>
          

      --zur-bank[=<BOOL>]
          Geldtransit: true when cash goes to the bank (Einzahlung), false when it comes from it.
          
          [possible values: true, false]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma cash_book.get

The Kassenbuch of a Kasse: every entry in the order of days and numbers with the running balance, the day of the event and the time of recording.

Usage: decuma cash_book.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bis <STRING>
          

      --kasse-id <STRING>
          (required)

      --von <STRING>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma cash_book.storno

Reverse a Kassenbuch entry by a Storno entry that names it (and the Storno of its Buchung); record the correct entry anew.

Usage: decuma cash_book.storno [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --eintrag-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

cash_box

decuma cash_box.create

Add a Kasse with its fixed opening balance; from then on cash is recorded in its Kassenbuch.

Usage: decuma cash_box.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --anfangsbestand <STRING>
          (required) The counted cash at the start of `eroeffnet_am`.

      --betrieb-id <STRING>
          

      --konto <STRING>
          The Konto of the Kasse (default the Kasse Konto of the Kontenplan, SKR04 1600; a further Kasse needs an own Konto of kind aktiv).

      --name <STRING>
          (required)

      --opened-on <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma cash_box.list

The Kassen of the Mandant with opening balance and current balance.

Usage: decuma cash_box.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

cash_count

decuma cash_count.record

Compare the counted cash with the Soll balance of the Kassenbuch on a day; the difference is proposed, and with buchen recorded as a Kassendifferenz with an Eigenbeleg.

Usage: decuma cash_count.record [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --buchen[=<BOOL>]
          Book the difference as an entry with Eigenbeleg (else only the proposal is returned).
          
          [possible values: true, false]

      --date <STRING>
          (required)

      --gezaehlt <STRING>
          (required) The counted cash.

      --kasse-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

category

decuma category.list

The Kategorien valid on a day: the sentence a user sees, its Konto and Steuerschlüssel per rate, and the knowledge it rests on.

Usage: decuma category.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --date <STRING>
          (required)

      --direction <STRING>
          ausgabe or einnahme; none: both.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

chart_of_accounts

decuma chart_of_accounts.get

The Kontenplan of a Betrieb grouped by Kontenklasse, with the balance of each Konto and class up to a day; query (number prefix or part of the name) and role narrow it to the Konten asked for (a class sums the Konten shown).

Usage: decuma chart_of_accounts.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --bis <STRING>
          Balances up to this day (default today).

      --query <STRING>
          Only Konten whose number starts with it or whose name contains it (any case).

      --role <STRING>
          Only Konten of this role (`vorsteuer`, `bank`, ...).

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

check

decuma check.export

The data of a period for a tax audit (Datenüberlassung), unverdichtet as CSV: Buchungen and Buchungszeilen, Konten, Geschäftspartner, Rechnungen, the Belege with their hashes, and the description of every table and column. Without the right "Sieht Lohn" a period with payroll is refused (never a partial file).

Usage: decuma check.export [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --bis <STRING>
          (required)

      --von <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

closing

decuma closing.feststellungsbeschluss

The Feststellungsbeschluss of a business year without a distribution from the template, with the figures of the Jahresabschluss (Bilanzsumme, the Jahresüberschuss or Jahresfehlbetrag carried forward with the Vortrag after it) and the Gesellschafter of the master data; warns when half the Stammkapital is lost (§ 49 Abs. 3 GmbHG). A resolution with a distribution is prepared with distribution.resolve.

Usage: decuma closing.feststellungsbeschluss [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --beschluss-am <STRING>
          The day of the resolution; default today.

      --geschaeftsjahr <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma closing.proposals

The Abschlussbuchungen of a Wirtschaftsjahr in their order, each with its kind (berechnet, gefragt, markiert), calculation, input needed, Buchungssatz and norm; computed on every read, never counted in a report or a Meldung until posted.

Usage: decuma closing.proposals [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma closing.set_input

Record the person's answer to a question of the closing of a Wirtschaftsjahr (an amount, a period, a decision or a decline); an amount of judgement is accepted from a person or an API-Schlüssel of the Mandant, never from a Regel or the Agent.

Usage: decuma closing.set_input [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --schluessel <STRING>
          (required) hebesatz, verlustvortrag_koerperschaftsteuer and verlustvortrag_gewerbesteuer (`betrag`, the
          remaining amount of the last Feststellungsbescheid, 0 if none), arbeitnehmer, vorjahr, holding,
          rueckstellung_<art>,
          rechnungsabgrenzung_<n>, verzicht_<schluessel>, haftungsverhaeltnisse, vorschuesse_geschaeftsfuehrer,
          einzelwertberichtigung (`betrag`, and `posten_id` of the Forderung: its final loss in a later
          year takes the posted amount first, receivable.write_off).

      --wert <OBJECT>
          (required)

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma closing.workbook

The workbook of the year-end of a Wirtschaftsjahr: steps with their state and the one next step, the checks, the Abschlussbuchungen, the size class with its marks, the dates, the stored Jahresabschluss, Feststellung, Offenlegung, the lock and the retention.

Usage: decuma closing.workbook [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

command

decuma command.basis

The basis of a proposed Command in the Mandant's records: an active Regel that would issue exactly it, an identical earlier capture a person booked (same Geschäftspartner, Kategorie and Steuersatz), and for a Bankumsatz whether the Abgleich has exactly this one candidate. Read only, within the caller's rights.

Usage: decuma command.basis [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --command <STRING>
          (required) A Mandant Command of the registry.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma command.batch

Run one Command for up to 100 items (question.answer of one kind with one answer, buchung.record of proposals unchanged, bank_transaction.assign to the only match, confirmation.accept and .reject). Each item runs on its own, with its own rationale, policy decision and log entry; what is refused is listed per item and the others run. dry_run checks the items without executing them.

Usage: decuma command.batch [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --command <STRING>
          (required) One Command for all items.

      --items <ARRAY>
          (required) 1 to 100 items, at most 256 KiB together. [shape: [{idempotency_key?, payload: object, rationale?, seen?}]]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma command.check

May I run this Command? Checks, without executing it, whether a Command with this payload would execute for you now, needs a human, or is refused: your rights, the Freigaberichtlinie and the form of the payload. It does not run the Command's own checks (handler_ran: false: a closed period, a missing Beleg, a wrong amount): for these send the Command itself with dry_run: true.

Usage: decuma command.check [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --command <STRING>
          (required) The Command, for example `buchung.record`.

      --origin <OBJECT>
          The origin the Command would be executed with: checked as executing checks it, and the
          Freigaberichtlinie decides with it as it would then. [shape: {display_name, id, kind}]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

confirmation

decuma confirmation.accept

Confirm a Command of a Regel: it runs now with you as the one who confirmed and the Regel as origin.

Usage: decuma confirmation.accept [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bestaetigung-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma confirmation.list

Commands of Regeln that wait for a person's confirmation ("Zu erledigen": filter state offen).

Usage: decuma confirmation.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bis <STRING>
          Up to this day (inclusive).

      --filter <OBJECT>
          Categorical filters: column -> the values to keep.

      --format <STRING>
          csv: every filtered row, in `csv`; xlsx and pdf: the same rows as a file, in `datei`. [values: json, csv, xlsx, pdf]

      --page <INTEGER>
          The page, from 1.

      --per-page <INTEGER>
          Rows per page, 1 to 500 (default 50).

      --sorting <STRING>
          A sortable column, ascending, or with a leading `-` descending.

      --text <STRING>
          Rows whose text columns contain this, ignoring case.

      --von <STRING>
          From this day on (inclusive), over the list's date column.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma confirmation.reject

Decline a Command of a Regel; nothing runs.

Usage: decuma confirmation.reject [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bestaetigung-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma confirmation.stage

Record a Command of a Regel that needs a person's confirmation (the Regel engine only).

Usage: decuma confirmation.stage [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --command <STRING>
          (required)

      --rule-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

contribution_estimate

decuma contribution_estimate.get

The Beitragsschätzung of a payroll month per Einzugsstelle under the procedure of the payroll settings (§ 23 Abs. 1 SGB IV: expected amount, or the contributions of the previous month): what is due before the run, what the run yields, the Restbeitrag carried into the next month and the one carried in from the previous month.

Usage: decuma contribution_estimate.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --month <STRING>
          (required) YYYY-MM

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

cost_center

decuma cost_center.archive

Archive a Kostenstelle: new lines can no longer name it; it stays in the reports.

Usage: decuma cost_center.archive [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --cost-center-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma cost_center.create

Create a Kostenstelle (number and label) that Buchungszeilen may name.

Usage: decuma cost_center.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --name <STRING>
          (required)

      --number <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma cost_center.delete

Delete a Kostenstelle that no Buchungszeile names; one with lines can only be archived.

Usage: decuma cost_center.delete [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --cost-center-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma cost_center.list

The Kostenstellen of the Mandant.

Usage: decuma cost_center.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bis <STRING>
          Up to this day (inclusive).

      --filter <OBJECT>
          Categorical filters: column -> the values to keep.

      --format <STRING>
          csv: every filtered row, in `csv`; xlsx and pdf: the same rows as a file, in `datei`. [values: json, csv, xlsx, pdf]

      --page <INTEGER>
          The page, from 1.

      --per-page <INTEGER>
          Rows per page, 1 to 500 (default 50).

      --sorting <STRING>
          A sortable column, ascending, or with a leading `-` descending.

      --text <STRING>
          Rows whose text columns contain this, ignoring case.

      --von <STRING>
          From this day on (inclusive), over the list's date column.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

credit_note

decuma credit_note.record_objection

Object (widersprechen, Widerspruch) to a credit note your customer issued for your supply (Gutschrift, self-billing) that shows more tax than you owe, after you captured it with self_billing_tax declare_excess: records the objection to the excess tax declared in Kennzahl 69 (§ 14 Abs. 2 Satz 6, § 14c Abs. 1, § 17 UStG) with the day it reached the customer, what the customer owes afterwards (total_after_objection), and the day the difference was repaid if the total is reduced and the customer had paid more. Kennzahl 69 is reduced; a reduced total also reduces the base and tax of the supply (under Istversteuerung and not yet paid: the open item only). The Buchung of the credit note stays.

Usage: decuma credit_note.record_objection [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --buchung-id <STRING>
          (required) The Buchung of the credit note that declared the excess.

      --excess-repaid-on <STRING>
          The day the customer was repaid the difference, when the total is reduced and the customer
          had paid more than the reduced total. A bank movement of that day and amount, already
          imported and not assigned, is matched to the Buchung.

      --reached-customer-on <STRING>
          (required) The day the objection reached the customer.

      --total-after-objection <STRING>
          What the customer owes after the objection: the credit note's total when it stays, or the
          lower total once it is reduced to the agreed Entgelt and the legal tax. Required: without it
          the Command is refused with this question.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

datev

decuma datev.export

Export the Journal of a period as DATEV-Format Buchungsstapel (one per Wirtschaftsjahr, version 13, Windows-1252): gross lines with the BU-Schlüssel of the Mandant's mapping, a Storno as Generalumkehr. A Buchung the format cannot express fails the export and is named. Without the right "Sieht Lohn" a period with payroll is refused (never a partial stack). An unchanged period exports to identical bytes.

Usage: decuma datev.export [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --bis <STRING>
          (required)

      --eroeffnung[=<BOOL>]
          Whether the opening entries go along; asked when the period holds them.
          
          [possible values: true, false]

      --festschreibung[=<BOOL>]
          The mark of the file that its Buchungen are final (header field 21).
          
          [possible values: true, false]

      --von <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

dauerfristverlaengerung

decuma dauerfristverlaengerung.end

Ends the Dauerfristverlängerung from a period: Rücknahme by the Mandant, Widerruf or Ablehnung by the Finanzamt. The Sondervorauszahlung of the year is then deducted in the last Voranmeldung the extension still applied to.

Usage: decuma dauerfristverlaengerung.end [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --ab <STRING>
          (required) First day of the first Voranmeldungszeitraum without the Dauerfristverlängerung.

      --beleg-id <STRING>
          

      --reason <STRING>
          (required) ruecknahme (by the Mandant, sent as "Sonstige Nachricht"), widerruf or ablehnung (by the
          Finanzamt, with its document).

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma dauerfristverlaengerung.get

The Antrag auf Dauerfristverlängerung of a year as a Meldung: for a monthly filer with the Anmeldung der Sondervorauszahlung (Kennzahl 38, one eleventh of the previous year's Vorauszahlungen, or from the expected ones in a founding year), for a quarterly filer without; the last day, the state and the hash to release.

Usage: decuma dauerfristverlaengerung.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --eingaben <OBJECT>
          What the person enters for a Meldung that cannot come from the books. [shape: {ab?, erwartete_vorauszahlungen?, herabsetzung_auf?, months?}]

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma dauerfristverlaengerung.mark_as_transmitted

Records the Transferticket of the Antrag auf Dauerfristverlängerung typed into Mein ELSTER: the Meldung is transmitted and locked, the Dauerfristverlängerung holds from its first period, and Kennzahl 38 is stored for Kennzahl 39 of December.

Usage: decuma dauerfristverlaengerung.mark_as_transmitted [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --transferticket <STRING>
          (required)

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma dauerfristverlaengerung.record_external

Records an Antrag auf Dauerfristverlängerung filed outside the product (extern abgegeben): day, Transferticket and, for a monthly filer, Kennzahl 38 as filed. Sets the Dauerfristverlängerung from the first period of the year and stores Kennzahl 38.

Usage: decuma dauerfristverlaengerung.record_external [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --ab <STRING>
          First day of the first Voranmeldungszeitraum it applies to; default the first of the year.

      --kz38 <STRING>
          Kennzahl 38 as filed (full euros); a monthly filer only.

      --transferticket <STRING>
          (required)

      --transmitted-on <STRING>
          (required)

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma dauerfristverlaengerung.release

Gives the Freigabe for exactly the Antrag auf Dauerfristverlängerung (with Kennzahl 38) the person saw (its hash): a human of the Mandant with the second factor; never an API-Schlüssel, a Regel or the Agent.

Usage: decuma dauerfristverlaengerung.release [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --checked[=<BOOL>]
          (required) "Ich habe die Werte geprüft".
          
          [possible values: true, false]

      --eingaben <OBJECT>
          What the person enters for a Meldung that cannot come from the books. [shape: {ab?, erwartete_vorauszahlungen?, herabsetzung_auf?, months?}]

      --hash <STRING>
          (required) `stand_hash` of the Meldung the person saw.

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma dauerfristverlaengerung.transmit

Starts the Übermittlung of the released Antrag auf Dauerfristverlängerung by hand in Mein ELSTER: returns what to enter; it waits for the Transferticket.

Usage: decuma dauerfristverlaengerung.transmit [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

disclosure

decuma disclosure.proposal

What a small or Kleinst GmbH files with the Unternehmensregister for a festgestellt Jahresabschluss: the parts and what stays out (no GuV, no Ergebnisverwendung), the proposed way (Hinterlegung for a Kleinst company whose class holds on both Stichtage, else Veröffentlichung) and the format to upload. Decuma never transmits: the person uploads and records the day with jahresabschluss.record_disclosure.

Usage: decuma disclosure.proposal [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

distribution

decuma distribution.available

What may be distributed from the books of a business year (Jahresüberschuss plus Gewinnvortrag less Verlustvortrag) and the checks before the resolution: the amount covered, the Stammkapital preserved, the last day of the resolution, the bank balance beside the taxes still due. Refuses an amount above what may be distributed or into the Stammkapital. For a UG (haftungsbeschränkt) the statutory reserve posted for the year (§ 5a Abs. 3 GmbHG) is not distributable and shown apart; while it is not posted the query is refused with the next step.

Usage: decuma distribution.available [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --amount <STRING>
          

      --geschaeftsjahr <INTEGER>
          (required) The business year whose result is distributed.

      --steuerliches-einlagekonto <STRING>
          The steuerliches Einlagekonto (§ 27 KStG) as the person knows it; 0 when none.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma distribution.certificate_data

The data of the Steuerbescheinigung per Gesellschafter of a posted distribution (§ 45a Abs. 2 EStG): Kapitalerträge, Kapitalertragsteuer, Solidaritätszuschlag, Kirchensteuer, day of payment. Refused before the distribution with the payment of the withheld tax is posted (distribution.post). The document itself is not built.

Usage: decuma distribution.certificate_data [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --beschluss-id <STRING>
          (required) The Gesellschafterbeschluss of the distribution.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma distribution.certificates

The Steuerbescheinigungen issued for a distribution, each with its PDF.

Usage: decuma distribution.certificates [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --beschluss-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma distribution.get_resolution

A Gesellschafterbeschluss of a distribution: amount, payees, day of receipt, the text, the signed Beleg, whether booked, and the next step.

Usage: decuma distribution.get_resolution [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma distribution.issue_certificate

Issues the Steuerbescheinigung (Muster II, Einzelsteuerbescheinigung) of one Gesellschafter for a posted distribution as a PDF, from the day the withheld tax is paid, with the amounts of the Buchungen. Locked once issued: called again it returns the issued one. When the posted amounts are higher than the issued ones, it issues the Ergänzende Steuerbescheinigung over the difference; any other correction is refused. Not for income received before 2026.

Usage: decuma distribution.issue_certificate [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --anschrift <STRING>
          (required) The Gesellschafter's address for the address field.

      --beschluss-id <STRING>
          (required) The Gesellschafterbeschluss of the posted distribution.

      --gesellschafter <STRING>
          (required) The Gesellschafter as named in the distribution.

      --religionsgemeinschaft <STRING>
          Needed when Kirchensteuer was withheld; default the one stored with the Kirchensteuermerkmal
          of the Gesellschafter.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma distribution.post

Posts the Gewinnausschüttung of a signed Gesellschafterbeschluss, which every Buchung cites as its Beleg: the resolution on its day (Gewinnvortrag to the liability to the Gesellschafter), and on the day of receipt the withholding of Kapitalertragsteuer, Solidaritätszuschlag and Kirchensteuer, the payout and the payment to the Finanzamt. The rest of the full-euro rounding of the day stays on the Konto of the withheld taxes.

Usage: decuma distribution.post [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bank-account-id <STRING>
          (required) The Bankkonto that pays out and pays the Finanzamt.

      --beschluss-id <STRING>
          (required) The signed Gesellschafterbeschluss (distribution.resolve): amount, payees, days and
          the Beleg every Buchung cites.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma distribution.record_signed

"Beschluss gefasst und unterschrieben": records the day and the signed Gesellschafterbeschluss uploaded to the Belegablage; it becomes the Beleg of the Buchungen of the distribution.

Usage: decuma distribution.record_signed [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --am <STRING>
          (required) The day the resolution was taken and signed.

      --beleg-id <STRING>
          (required) The signed document in the Belegablage.

      --id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma distribution.resolve

Prepares the Gesellschafterbeschluss of a distribution: the amount is checked against what may be distributed and the Stammkapital before anything is written; the payee per Gesellschafter by share; the day of payment (else the day after the resolution). Returns the text of the resolution from the template, to be signed and uploaded.

Usage: decuma distribution.resolve [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --amount <STRING>
          (required)

      --auszahlungstag <STRING>
          The day of payment; it fixes the day the income counts as received. Without it the day
          after the resolution (§ 44 Abs. 2 EStG).

      --beschluss-am <STRING>
          (required)

      --geschaeftsjahr <INTEGER>
          (required)

      --gesellschafter <ARRAY>
          The payees with their shares; empty: the Gesellschafter of the master data on the day of the
          resolution (gesellschafter.record) with their Geschäftsanteile. [shape: [{anteil_prozent, kapitalgesellschaft?, kirchensteuermerkmal?: {religionsgemeinschaft?, satz, year}, name}]]

      --steuerliches-einlagekonto <STRING>
          

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

dunning

decuma dunning.configure

Set the Mahnwesen: 1 to 4 levels (days after the due date, subject, text with placeholders, optional fee), optional interest, sender, confirmation before sending, automatic drafts.

Usage: decuma dunning.configure [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --automatisch-erstellen[=<BOOL>]
          (required)
          
          [possible values: true, false]

      --hinweis-30-tage[=<BOOL>]
          Rechnungen to consumers name the 30-day rule (§ 286 Abs. 3 Satz 1 BGB).
          
          [possible values: true, false]

      --jahr-365[=<BOOL>]
          365 days also in a leap year (default: 366 in a leap year).
          
          [possible values: true, false]

      --pauschale-als-kosten[=<BOOL>]
          The lump sum of § 288 Abs. 5 BGB counts as costs in the allocation of § 367 BGB.
          
          [possible values: true, false]

      --pauschale-fordern[=<BOOL>]
          Claim the lump sum in the Mahnung (debtor no consumer); never booked by itself.
          
          [possible values: true, false]

      --sender-email <STRING>
          

      --stufen <ARRAY>
          (required)  [shape: [{gebuehr?, subject, tage, text}]]

      --verzugszinsen[=<BOOL>]
          (required)
          
          [possible values: true, false]

      --vor-dem-senden-bestaetigen[=<BOOL>]
          (required)
          
          [possible values: true, false]

      --zinsbeginn-am-zugangstag[=<BOOL>]
          A convention the law leaves open: interest from the day after the Mahnung was received
          (false, the default) or from that day (true).
          
          [possible values: true, false]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma dunning.disable

Switch the automatic Mahnung drafts off; the settings, open Mahnfälle and drafts stay.

Usage: decuma dunning.disable [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma dunning.settings

The Mahnwesen of the Mandant: levels, fees, interest, confirmation and automatic drafts, with what may be charged under the law and the Basiszinssatz of today.

Usage: decuma dunning.settings [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

dunning_case

decuma dunning_case.get

The Mahnung case of one Rechnung: level, next level with its day, remainder, fees, interest, the draft, the history, suspension, the date of the last bank data and a waiting question.

Usage: decuma dunning_case.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --invoice-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma dunning_case.resume

Resume a suspended Mahnung case.

Usage: decuma dunning_case.resume [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --invoice-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma dunning_case.suspend

Suspend the Mahnung case of a Rechnung, with a required reason.

Usage: decuma dunning_case.suspend [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --invoice-id <STRING>
          (required)

      --reason <STRING>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

dunning_notice

decuma dunning_notice.create

Create the Mahnung of the next level of an overdue Rechnung as a draft with text, amounts and PDF. Held (conflict, question) while a payment that may belong waits; warns bankdaten_alt when the last bank data is older than the due date.

Usage: decuma dunning_notice.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --invoice-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma dunning_notice.discard

Drop the draft of a Mahnung.

Usage: decuma dunning_notice.discard [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --mahnung-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma dunning_notice.list

Overdue Rechnungen and open Mahnung cases: due date, days overdue, level, next step with its day, remainder, fees and interest; sums over the filtered rows.

Usage: decuma dunning_notice.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bis <STRING>
          Up to this day (inclusive).

      --filter <OBJECT>
          Categorical filters: column -> the values to keep.

      --format <STRING>
          csv: every filtered row, in `csv`; xlsx and pdf: the same rows as a file, in `datei`. [values: json, csv, xlsx, pdf]

      --page <INTEGER>
          The page, from 1.

      --per-page <INTEGER>
          Rows per page, 1 to 500 (default 50).

      --sorting <STRING>
          A sortable column, ascending, or with a leading `-` descending.

      --text <STRING>
          Rows whose text columns contain this, ignoring case.

      --von <STRING>
          From this day on (inclusive), over the list's date column.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma dunning_notice.mark_as_sent

Mark a Mahnung as sent outside the product, with day and way.

Usage: decuma dunning_notice.mark_as_sent [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --date <STRING>
          (required)

      --mahnung-id <STRING>
          (required)

      --weg <STRING>
          (required)  [values: post, eigenes_mailprogramm, persoenlich]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma dunning_notice.send

Send a Mahnung by e-mail with its PDF. A rejected mail leaves it nicht_zugestellt (no delivered level); bank data older than the due date needs bankdaten_alt_bestaetigt.

Usage: decuma dunning_notice.send [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bankdaten-alt-bestaetigt[=<BOOL>]
          The second confirmation when the last bank data is older than the due date.
          
          [possible values: true, false]

      --mahnung-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

ebilanz

decuma ebilanz.file

The data file of the E-Bilanz (XBRL, taxonomy 6.9) of a year for a program with the official interface, made from the stored Jahresabschluss, the Betriebsvermögensvergleich, the Anlagenspiegel and the Kontennachweis. Refused while a question of the E-Bilanz is open, a case is not supported or the master data are incomplete; then the E-Bilanz is handed in with another program and recorded with ebilanz.record_external.

Usage: decuma ebilanz.file [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma ebilanz.get

The E-Bilanz of a year as a Meldung over the stored Jahresabschluss: the positions of the official taxonomy with their values (NIL where a Mussfeld has none), the checks (Aktiva equals Passiva, the result of the GuV equals the Bilanz), the Kontennachweis with the labels that reach the Finanzamt, the share of catch-all positions, the state and the hash to release.

Usage: decuma ebilanz.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung, one per Betrieb); default the main one.

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma ebilanz.record_external

Records a yearly return filed outside the product (extern abgegeben): day, Transferticket and, for a year without rule data, the values as filed. Locks that version as transmitted; nothing is recomputed for such a year.

Usage: decuma ebilanz.record_external [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung); default the main one.

      --transferticket <STRING>
          (required)

      --transmitted-on <STRING>
          (required)

      --werte <OBJECT>
          The values as filed, by line of the scheme (a year without rule data); default
          the values computed now.

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma ebilanz.release

Gives the Freigabe for exactly the yearly return the person saw (its hash): a human of the Mandant with the second factor; never an API-Schlüssel, a Regel or the Agent. Refused while the Jahresabschluss it rests on is not aufgestellt, while a required Angabe is missing (names the line and its question), while a flag is not confirmed as seen (markierungen_gesehen), and for a case this version does not support.

Usage: decuma ebilanz.release [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung); default the main one.

      --checked[=<BOOL>]
          (required) "Ich habe die Werte geprüft".
          
          [possible values: true, false]

      --hash <STRING>
          (required) `stand_hash` of the Meldung the person saw.

      --markierungen-gesehen[=<BOOL>]
          The person saw every flag with its triggers.
          
          [possible values: true, false]

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

einspruch

decuma einspruch.prepare

Prepares an Einspruch against a Bescheid as an Einreichung: the formal parts from the master data and the Bescheid, and three fields the open layer never fills (Umfang, Begründung, Beweismittel), optionally the request for Aussetzung der Vollziehung with an amount. Whether to object depends on the case; the product decides nothing.

Usage: decuma einspruch.prepare [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --aussetzung-betrag <STRING>
          The amount whose Aussetzung der Vollziehung is requested, if any.

      --bescheid-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

elstam

decuma elstam.list

The history of the ELStAM readings of an Arbeitnehmer, newest first: day, source, the Merkmale and the day they apply from.

Usage: decuma elstam.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --employee-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma elstam.record

Record the Lohnsteuerabzugsmerkmale of an Arbeitnehmer as read by hand in the official portal (ELStAM), with the day it was read and the source. Every reading stays in the history; changed Merkmale become a new state from their day (refused inside a settled month).

Usage: decuma elstam.record [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --employee-id <STRING>
          (required)

      --lohnsteuer <OBJECT>
          (required) The Lohnsteuerabzugsmerkmale as read. [shape: {andere_konfession?, faktor?, freibetrag_jahr?, freibetrag_monat?, hinzurechnungsbetrag_jahr?, hinzurechnungsbetrag_monat?, kinderfreibetraege?, kirchensteuer_kappung?, konfession?: ev | rk, private_basisbeitraege_monat?, steuerklasse}]

      --retrieved-on <STRING>
          (required) The day the Merkmale were read in the official portal.

      --source <STRING>
          (required) Where they were read, for example "Mein ELSTER, Arbeitgeberfunktionen" or "Bescheinigung für
          den Lohnsteuerabzug".

      --valid-from <STRING>
          The day the Merkmale apply from; default the day of the retrieval.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

elster

decuma elster.certificate_remove

Removes the stored ELSTER certificate and its PIN for good. A person only, with her password confirmed again.

Usage: decuma elster.certificate_remove [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --password <STRING>
          (required) Your own password, confirmed again.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma elster.certificate_set

Stores the Mandant's own ELSTER certificate file and its PIN, encrypted, for transmission; it replaces an earlier one. Neither is ever returned. A person only, with her password confirmed again.

Usage: decuma elster.certificate_set [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --content <STRING>
          (required) The certificate file (PKCS#12, `.pfx`), base64.

      --notice-acknowledged[=<BOOL>]
          (required) You have read the privacy notice of the tax administration (`elster.status`, notice_url).
          
          [possible values: true, false]

      --password <STRING>
          (required) Your own password, confirmed again.

      --pin <STRING>
          (required) The PIN of the certificate file.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma elster.status

The transmission with the own ELSTER certificate: test or live, the release of the official library, whether a certificate is stored and when it was used, and the duties of the installation with what is missing.

Usage: decuma elster.status [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

email

decuma email.receive

A message for the e-mail address of the Mandant (the receiver of the installation only): one delivery with a Beleg per attachment, or a refusal with its reason.

Usage: decuma email.receive [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --an <STRING>
          (required) The local part of the recipient address.

      --attachments <INTEGER>
          The number of attachments of the message, counted by the receiver before the call, so a
          Freigaberichtlinie that limits Belege sees what one message brings (each may become one).

      --message <STRING>
          The raw message, base64; kept out of the Command-Log (empty when refused before DATA).

      --von <STRING>
          (required)

      --zu-gross[=<BOOL>]
          The receiver stopped reading at the limit.
          
          [possible values: true, false]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

email_inbound

decuma email_inbound.create_address

Create or rotate the e-mail address of the Mandant for Belege (name plus a random part); the old address is refused from then on.

Usage: decuma email_inbound.create_address [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --name <STRING>
          The readable part before the random one (default: from the Mandant's name).

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma email_inbound.get

The e-mail address of the Mandant for Belege, the accepted senders and the last messages with their result.

Usage: decuma email_inbound.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma email_inbound.set_sender

Set the senders whose mail the address accepts (addresses or @domain); empty means everyone.

Usage: decuma email_inbound.set_sender [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --sender <ARRAY>
          (required) Addresses or `@domain`; empty means everyone. [shape: [string]]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

employee

decuma employee.create

Add an Arbeitnehmer of a Betrieb with his first state (Beschäftigung, Lohnsteuerabzugsmerkmale as read in the official portal, Sozialversicherung status) valid from a day.

Usage: decuma employee.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --name <STRING>
          (required)

      --stand <OBJECT>
          (required) The state of an Arbeitnehmer from a day: Beschäftigung, Lohnsteuerabzugsmerkmale, Sozialversicherung. [shape: {arbeitslohn, date_of_birth?, elstam_abgerufen_am, end?, gesellschafter?, identifikationsnummer?, kind: angestellte | geschaeftsfuehrer | minijob, krankenkasse_id?, lohnsteuer: {andere_konfession?, faktor?, freibetrag_jahr?, freibetrag_monat?, hinzurechnungsbetrag_jahr?, hinzurechnungsbetrag_monat?, kinderfreibetraege?, kirchensteuer_kappung?, konfession?: ev | rk, private_basisbeitraege_monat?, steuerklasse}, personengruppe?, postal_address?, rv_exemption_received_on?, start, status_origin?, statusfeststellung?: {beleg_id?, beschaeftigter, date}, sv: {arbeitslosenversicherung, beitrag_private_kv?, beitrag_private_pv?, beitrag_versorgungseinrichtung?, berufsstaendisch?, beschaeftigter?, geschaeftsfuehrer?, kinder_unter_25?, kinderlos_ueber_23?, krankenversicherung: privat | pflicht | freiwillig_firmenzahler | freiwillig_selbstzahler | keine, rentenversicherung, sachsen?, versorgungswerk?, versorgungswerk_firmenzahler?, zusatzbeitragssatz?}, uv_insured?, versicherungsnummer?, von_rv_befreit?, wohnsitz_land?}]

      --valid-from <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma employee.list

The Arbeitnehmer of a Betrieb by Personalnummer, each with every state and its valid-from day.

Usage: decuma employee.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma employee.record_departure

Record the Austritt of an Arbeitnehmer (the last day of the employment); later months no longer settle him. Settled months keep their state.

Usage: decuma employee.record_departure [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --employee-id <STRING>
          (required)

      --end <STRING>
          (required) The last day of the employment.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma employee.set_bank_details

Set the bank account of an Arbeitnehmer for the transfer file of the net wages; the next transfer file uses it.

Usage: decuma employee.set_bank_details [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --employee-id <STRING>
          (required)

      --iban <STRING>
          The person's account for the transfer file of the net wages; null removes it.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma employee.update

A new state of an Arbeitnehmer valid from a day; settled months keep the state they were settled with.

Usage: decuma employee.update [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --employee-id <STRING>
          (required)

      --stand <OBJECT>
          (required) The state of an Arbeitnehmer from a day: Beschäftigung, Lohnsteuerabzugsmerkmale, Sozialversicherung. [shape: {arbeitslohn, date_of_birth?, elstam_abgerufen_am, end?, gesellschafter?, identifikationsnummer?, kind: angestellte | geschaeftsfuehrer | minijob, krankenkasse_id?, lohnsteuer: {andere_konfession?, faktor?, freibetrag_jahr?, freibetrag_monat?, hinzurechnungsbetrag_jahr?, hinzurechnungsbetrag_monat?, kinderfreibetraege?, kirchensteuer_kappung?, konfession?: ev | rk, private_basisbeitraege_monat?, steuerklasse}, personengruppe?, postal_address?, rv_exemption_received_on?, start, status_origin?, statusfeststellung?: {beleg_id?, beschaeftigter, date}, sv: {arbeitslosenversicherung, beitrag_private_kv?, beitrag_private_pv?, beitrag_versorgungseinrichtung?, berufsstaendisch?, beschaeftigter?, geschaeftsfuehrer?, kinder_unter_25?, kinderlos_ueber_23?, krankenversicherung: privat | pflicht | freiwillig_firmenzahler | freiwillig_selbstzahler | keine, rentenversicherung, sachsen?, versorgungswerk?, versorgungswerk_firmenzahler?, zusatzbeitragssatz?}, uv_insured?, versicherungsnummer?, von_rv_befreit?, wohnsitz_land?}]

      --valid-from <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

entgeltbescheinigung

decuma entgeltbescheinigung.get

The Entgeltbescheinigung of an Arbeitnehmer for a settled month (§ 108 Abs. 3 GewO, § 1 EBV) as stored with the run: every item with the provision that requires it, and the PDF (download at GET /v1/files/{hash}), the same file on every download.

Usage: decuma entgeltbescheinigung.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --employee-id <STRING>
          (required)

      --month <STRING>
          (required) YYYY-MM

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

eroeffnungsbilanz

decuma eroeffnungsbilanz.post

Posts the Eröffnungsbilanz of a Betrieb as its first Buchung from lines the person confirms (§ 242 Abs. 1 HGB), with the founding document as Beleg; it must balance and exists once per Betrieb.

Usage: decuma eroeffnungsbilanz.post [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --beleg-id <STRING>
          (required) The founding document (Belegablage): the Beleg of the opening Buchung.

      --betrieb-id <STRING>
          The Betrieb; default the only one.

      --rows <ARRAY>
          (required) The lines the person confirmed: contributions paid and outstanding, founding costs; typed,
          never derived. [shape: [{amount, konto, side: debit | credit}]]

      --stichtag <STRING>
          (required) The day of the Eröffnungsbilanz; which day it is depends on your case.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

ertragsteuer

decuma ertragsteuer.get

The Körperschaftsteuer- and Gewerbesteuererklärung of a year as calculation schemes from the stored Jahresabschluss to the tax: every line with its norm and origin (computed from the books, Angabe, flag), the flags with their triggers, the questions still open, the comparison with the tax expense of the Jahresabschluss and the forms. Before the Jahresabschluss is aufgestellt: wartet_auf_jahresabschluss.

Usage: decuma ertragsteuer.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

est

decuma est.bescheid_comparison

The comparison of an Einkommensteuerbescheid with the transmitted Einkommensteuererklärung, one row per line, a difference marked as own or as following from another line; refused without a released or recorded Erklärung.

Usage: decuma est.bescheid_comparison [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma est.bescheid_lines

The lines of an Einkommensteuerbescheid of a year that the comparison knows, in the order of the Bescheid.

Usage: decuma est.bescheid_lines [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma est.confirm_bescheid

Confirms an Einkommensteuerbescheid ("Passt"): closes the check and its Einspruchsfrist in the calendar. Allowed with open deviations, which the warning names.

Usage: decuma est.confirm_bescheid [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma est.get_filing

The Einkommensteuererklärung as a Meldung: the values of the forms with line and source, the Meldungsstand with its hash, the estimate beside it, the open points, what keeps the Freigabe, and after filing the difference to the filed values.

Usage: decuma est.get_filing [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --meldung <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma est.input_sheet

The input sheet of the newest Freigabe in the order of the forms, to enter the values by hand in Mein ELSTER.

Usage: decuma est.input_sheet [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --meldung <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma est.mark_as_transmitted

Records the Transferticket of the Erklärung filed by hand in Mein ELSTER; uses up the Freigabe.

Usage: decuma est.mark_as_transmitted [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --meldung <STRING>
          (required)

      --transferticket <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma est.prepare_einspruch

Prepares an Einspruch against an Einkommensteuerbescheid as an Einreichung with the fields the open layer never fills (Umfang, Begründung, Beweismittel). Whether to object depends on the case; the product decides nothing.

Usage: decuma est.prepare_einspruch [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --aussetzung-betrag <STRING>
          The amount whose Aussetzung der Vollziehung is requested, if any.

      --bescheid-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma est.record_bescheid

Records an Einkommensteuerbescheid typed or from its document: year, kind, date, way of Bekanntgabe, the lines (keys of est.bescheid_lines). Returns the Einspruchsfrist step by step and the comparison with the transmitted Einkommensteuererklärung; without a released or recorded Erklärung it is recorded with its Einspruchsfrist and the comparison is refused with the next step.

Usage: decuma est.record_bescheid [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --angaben <OBJECT>
          rows by the keys of `est.bescheid_lines`; erklaert for an Erklärung filed elsewhere; person
          (a or b) for the Bescheid of one spouse under Einzelveranlagung. [shape: {aufgabe_am?, erklaert?: object, erlaeuterungen?, neue_vorauszahlungen?: [{amount, kirchensteuer?, solidaritaetszuschlag?, termin}], payment_due?, person?, rechtsbehelf?, rechtsbehelf_bis?, rows?: object, verbunden?: [string], vorbehalt_der_nachpruefung?, vorlaeufig?, zugang_am?}]

      --bekanntgabeweg <STRING>
          (required) How the Bescheid was made known (§§ 122, 122a AO). [values: post, elektronisch, datenabruf]

      --beleg-id <STRING>
          The document in the Belegablage.

      --date <STRING>
          (required)

      --kind <STRING>
          (required) jahresbescheid, geaendert, vorauszahlungsbescheid or zinsbescheid.

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma est.release

Gives the Freigabe for exactly the values of the Einkommensteuererklärung the person saw (its hash): a human of the Mandant only. For a Zusammenveranlagung one Freigabe confirmed for both Personen.

Usage: decuma est.release [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --fuer-beide[=<BOOL>]
          The confirmation for both Personen of a Zusammenveranlagung.
          
          [possible values: true, false]

      --hash <STRING>
          (required) `stand_hash` of the Meldung the person saw.

      --meldung <STRING>
          (required)

      --offene-punkte-gelesen[=<BOOL>]
          (required) "Ich habe die offenen Punkte gelesen und gebe trotzdem frei."
          
          [possible values: true, false]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma est.transmit

Starts the Übermittlung by hand in Mein ELSTER: returns the input sheet; the Übermittlung waits for the Transferticket.

Usage: decuma est.transmit [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --meldung <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

euer

decuma euer.get

The Einnahmenüberschussrechnung (Anlage EÜR and Anlage AVEÜR) of a year as a Meldung, from the payments of the Journal: lines with their payments, the effect of the Umsatzsteuer, the ten-day rule, the Frist, the state and the hash to release. Refused for a Betrieb that keeps a balance sheet.

Usage: decuma euer.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung, one per Betrieb); default the main one.

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma euer.mark_as_transmitted

Records the Transferticket of the yearly return typed into Mein ELSTER: the version is transmitted and locked; returns what follows (the notice, the amount).

Usage: decuma euer.mark_as_transmitted [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung); default the main one.

      --transferticket <STRING>
          (required)

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma euer.record_external

Records a yearly return filed outside the product (extern abgegeben): day, Transferticket and, for a year without rule data, the values as filed. Locks that version as transmitted; nothing is recomputed for such a year.

Usage: decuma euer.record_external [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung); default the main one.

      --transferticket <STRING>
          (required)

      --transmitted-on <STRING>
          (required)

      --werte <OBJECT>
          The values as filed, by line of the scheme (a year without rule data); default
          the values computed now.

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma euer.release

Gives the Freigabe for exactly the yearly return the person saw (its hash): a human of the Mandant with the second factor; never an API-Schlüssel, a Regel or the Agent. Refused while the Jahresabschluss it rests on is not aufgestellt, while a required Angabe is missing (names the line and its question), while a flag is not confirmed as seen (markierungen_gesehen), and for a case this version does not support.

Usage: decuma euer.release [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung); default the main one.

      --checked[=<BOOL>]
          (required) "Ich habe die Werte geprüft".
          
          [possible values: true, false]

      --hash <STRING>
          (required) `stand_hash` of the Meldung the person saw.

      --markierungen-gesehen[=<BOOL>]
          The person saw every flag with its triggers.
          
          [possible values: true, false]

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma euer.transmit

Starts the Übermittlung of the released yearly return by hand in Mein ELSTER: returns the input sheet in the order of the scheme; it waits for the Transferticket.

Usage: decuma euer.transmit [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung, one per Betrieb); default the main one.

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

event

decuma event.list

The Events of the Mandant with the state of their webhook deliveries: paged, filtered by type, status and time.

Usage: decuma event.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bis <STRING>
          Up to this day (inclusive).

      --filter <OBJECT>
          Categorical filters: column -> the values to keep.

      --format <STRING>
          csv: every filtered row, in `csv`; xlsx and pdf: the same rows as a file, in `datei`. [values: json, csv, xlsx, pdf]

      --page <INTEGER>
          The page, from 1.

      --per-page <INTEGER>
          Rows per page, 1 to 500 (default 50).

      --sorting <STRING>
          A sortable column, ascending, or with a leading `-` descending.

      --text <STRING>
          Rows whose text columns contain this, ignoring case.

      --von <STRING>
          From this day on (inclusive), over the list's date column.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma event.list_undeliverable

List the Events of the Mandant that a consumer gave up on after repeated failures.

Usage: decuma event.list_undeliverable [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma event.poll

The Events of the Mandant after a cursor, oldest first, with the body a webhook receives: for a harness that polls instead of receiving webhooks.

Usage: decuma event.poll [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --count <INTEGER>
          At most this many Events per answer, 1 to 500 (default 100).

      --nach <INTEGER>
          The `cursor` of the previous answer; absent or 0 starts at the first Event of the Mandant.

      --types <ARRAY>
          Only these types (`event.types`); absent or empty: every type. [shape: [string]]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma event.types

The event types of the outbox with their fields: what a Regel or a webhook can react to.

Usage: decuma event.types [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

exchange_rate

decuma exchange_rate.list

The monthly exchange rates available for the conversion: from the rule data (BMF) and entered by a person.

Usage: decuma exchange_rate.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --currency <STRING>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma exchange_rate.record

Enter the BMF monthly exchange rate of a currency and month as the official publication states it (stored as entered by a person); with rueckfrage_id the waiting proposal is booked with it.

Usage: decuma exchange_rate.record [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --currency <STRING>
          (required)

      --exchange-rate <STRING>
          (required) Units of the currency per euro, as the official publication states it.

      --fundstelle <STRING>
          (required) Title or reference of the publication.

      --month <STRING>
          (required) YYYY-MM.

      --question-id <STRING>
          The Rückfrage `kurs_fehlt` whose Vorschlag is booked with this rate.

      --veroeffentlicht-am <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

feststellungserklaerung

decuma feststellungserklaerung.get

The Feststellungserklärung of a Personengesellschaft (GbR, OHG, KG) of a year as a Meldung: the laufende Einkünfte of the company (Einnahmenüberschussrechnung or stored Jahresabschluss), Vorab first and the rest by the key, the Sonderbereich per Gesellschafter (Sondervergütungen booked as expense come back as Sonderbetriebseinnahme), Zeilen 103 to 106 of the Anlage FE-G or 73 to 76 of the Anlage FE-S per Beteiligter, the sum equal to the company, the share of the Gewerbesteuer-Messbetrag in percent and the Messbetrag and Gewerbesteuer from the recorded Bescheide; the open questions (filing.set_input: gewinnverteilung, zahlung.<buchung_id>, schuldzinsen, ergaenzungsbilanz, gesellschafterwechsel) and every case outside the core path as nicht_unterstuetzt with its next step.

Usage: decuma feststellungserklaerung.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung, one per Betrieb); default the main one.

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma feststellungserklaerung.mark_as_transmitted

Records the Transferticket of the yearly return typed into Mein ELSTER: the version is transmitted and locked; returns what follows (the notice, the amount).

Usage: decuma feststellungserklaerung.mark_as_transmitted [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung); default the main one.

      --transferticket <STRING>
          (required)

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma feststellungserklaerung.record_external

Records a yearly return filed outside the product (extern abgegeben): day, Transferticket and, for a year without rule data, the values as filed. Locks that version as transmitted; nothing is recomputed for such a year.

Usage: decuma feststellungserklaerung.record_external [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung); default the main one.

      --transferticket <STRING>
          (required)

      --transmitted-on <STRING>
          (required)

      --werte <OBJECT>
          The values as filed, by line of the scheme (a year without rule data); default
          the values computed now.

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma feststellungserklaerung.release

Gives the Freigabe for exactly the yearly return the person saw (its hash): a human of the Mandant with the second factor; never an API-Schlüssel, a Regel or the Agent. Refused while the Jahresabschluss it rests on is not aufgestellt, while a required Angabe is missing (names the line and its question), while a flag is not confirmed as seen (markierungen_gesehen), and for a case this version does not support.

Usage: decuma feststellungserklaerung.release [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung); default the main one.

      --checked[=<BOOL>]
          (required) "Ich habe die Werte geprüft".
          
          [possible values: true, false]

      --hash <STRING>
          (required) `stand_hash` of the Meldung the person saw.

      --markierungen-gesehen[=<BOOL>]
          The person saw every flag with its triggers.
          
          [possible values: true, false]

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma feststellungserklaerung.transmit

Starts the Übermittlung of the released yearly return by hand in Mein ELSTER: returns the input sheet in the order of the scheme; it waits for the Transferticket.

Usage: decuma feststellungserklaerung.transmit [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung, one per Betrieb); default the main one.

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

file

decuma file.get

Read a stored file of this Mandant by its SHA-256, with its content (base64).

Usage: decuma file.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --hash <STRING>
          (required) SHA-256 of the content, hex.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma file.quality_limits

The limits of the quality gate a picture must meet before it is read (sharpness, brightness, glare, resolution, frame fill), as configured by DECUMA_CAPTURE_LIMITS.

Usage: decuma file.quality_limits [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma file.store

Upload a file (hochladen): a Beleg, receipt or invoice as PDF, picture (JPEG, PNG, WebP, HEIC) or E-Rechnung (XML, media_type application/xml), content base64. Stored unchanged in the Belegablage; returns its SHA-256 hash. Step 1 of 2: then put it into the inbox with beleg.deliver (pages: [hash]), which reads it. A picture is also prepared (deskewed, cropped, contrast) and checked against the quality limits: content_hash and quality.

Usage: decuma file.store [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --content <STRING>
          (required) The content, base64. Not written to the Command-Log. [file: @PATH]

      --media-type <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

filing

decuma filing.attempts

The transmissions of a Meldung with the own ELSTER certificate, oldest first: test or live, the outcome, the Transferticket and the hash of the data set.

Usage: decuma filing.attempts [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --meldung <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma filing.file

The upload file of the released Umsatzsteuer-Voranmeldung for its form in Mein ELSTER. Refused for a Meldung that is not released and for a form year without a confirmed format.

Usage: decuma filing.file [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --meldung <STRING>
          (required) ustva-2026-12 or ustva-2026-Q4.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma filing.get

One Umsatzsteuer-Voranmeldung computed from the Journal now: every Kennzahl with exact and reported value and the Buchungen behind it, checks, hash of the Meldungsstand, state, Freigabe, transmitted versions and the next step.

Usage: decuma filing.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --meldung <STRING>
          (required) ustva-2026-12 or ustva-2026-Q4.

      --only-nonzero[=<BOOL>]
          Only the Kennzahlen with a value (exact or reported); the hash and the checks still cover all.
          
          [possible values: true, false]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma filing.input_sheet

The input sheet of the newest Freigabe of a Meldung, in the line order of the official form, with the hash it was released with; outdated when a value changed since.

Usage: decuma filing.input_sheet [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --meldung <STRING>
          (required) ustva-2026-12 or ustva-2026-Q4.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma filing.list

Every Umsatzsteuer-Voranmeldung of the Mandant, from the first period with a Voranmeldungszeitraum to the one containing today, and every Zusammenfassende Meldung of those years, with state, amount, Frist and one action; plus the most important next step.

Usage: decuma filing.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bis <STRING>
          Up to this day (inclusive).

      --filter <OBJECT>
          Categorical filters: column -> the values to keep.

      --format <STRING>
          csv: every filtered row, in `csv`; xlsx and pdf: the same rows as a file, in `datei`. [values: json, csv, xlsx, pdf]

      --page <INTEGER>
          The page, from 1.

      --per-page <INTEGER>
          Rows per page, 1 to 500 (default 50).

      --sorting <STRING>
          A sortable column, ascending, or with a leading `-` descending.

      --text <STRING>
          Rows whose text columns contain this, ignoring case.

      --von <STRING>
          From this day on (inclusive), over the list's date column.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma filing.mark_as_transmitted

Records the Transferticket of a Meldung typed into Mein ELSTER: the Übermittlung is angenommen, the Freigabe used up and the period festgeschrieben. Refused when a value changed since the Freigabe.

Usage: decuma filing.mark_as_transmitted [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --meldung <STRING>
          (required)

      --transferticket <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma filing.record_external

Records a Voranmeldung filed outside the product (extern abgegeben): date, Transferticket (or, without it, the evidence of the filing), the transmitted Kennzahlen and optionally the portal's protocol. The period is festgeschrieben; the values are a record and never used as computed values.

Usage: decuma filing.record_external [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --evidence <STRING>
          Without a Transferticket: what shows the filing and its values (the copy of the filing, the
          adviser's report, a statement of the Finanzamt).

      --log <STRING>
          SHA-256 hex of the portal's protocol stored through POST /v1/files.

      --meldung <STRING>
          (required)

      --transferticket <STRING>
          The Transferticket; without it `evidence` is needed.

      --transmitted-on <STRING>
          (required)

      --werte <OBJECT>
          (required) Kennzahl to value as transmitted: full euros for a Bemessungsgrundlage, cents otherwise.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma filing.release

Gives the Freigabe for exactly the Meldungsstand the person saw (its hash): human Inhaber only, for one Übermittlung. Refused when the values changed, while open cases are not confirmed, without a Steuernummer or with a failed check.

Usage: decuma filing.release [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --checked[=<BOOL>]
          (required) "Ich habe die Werte geprüft".
          
          [possible values: true, false]

      --hash <STRING>
          (required) `stand_hash` of the Meldung the person saw.

      --meldung <STRING>
          (required)

      --werte <OBJECT>
          (required) `stand.werte` of the Meldung the person saw.

      --without-bank-transactions <ARRAY>
          Under Istversteuerung: every incoming Bankumsatz of the period without a link
          (`offene_bankumsaetze`) the person releases without, each with the reason. [shape: [{bank_transaction_id, reason}]]

      --without-cases <ARRAY>
          Every open Vorgang of the period the person releases without. [shape: [string]]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma filing.resolve_attempt

Records what a person found out in Mein ELSTER about a transmission whose outcome is unknown: it arrived (with its Transferticket: the Meldung is transmitted), or it did not (it can be sent again). A person only.

Usage: decuma filing.resolve_attempt [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --arrived[=<BOOL>]
          (required) Whether Mein ELSTER shows the transmission.
          
          [possible values: true, false]

      --attempt-id <STRING>
          (required)

      --meldung <STRING>
          (required)

      --transferticket <STRING>
          Its Transferticket, when it arrived.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma filing.set_input

Records an Angabe of a yearly return, a fact only the Mandant knows (loss carried forward from the last notice, Hebesatz, shareholdings, donations; for the Einnahmenüberschussrechnung the line of a Konto, home office `home_office.*` and car `car.*`), with its reason and optionally the Beleg it comes from. Insert-only; part of the Meldungsstand, so a change voids a Freigabe. A computed line is refused; the amount on the flag of a verdeckte Gewinnausschüttung is accepted from a person or an API-Schlüssel only.

Usage: decuma filing.set_input [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --beleg-id <STRING>
          The document it comes from (an assessment notice, a tax certificate).

      --meldungsart <STRING>
          (required) koerperschaftsteuererklaerung, gewerbesteuererklaerung or ebilanz.

      --reason <STRING>
          (required)

      --wert <OBJECT>
          (required) An amount as a decimal string, true or false, or for `beteiligungen` a list of
          { dividende, quote_kalenderjahr, quote_erhebungszeitraum, erwerb_im_jahr, kapitalertragsteuer,
          solidaritaetszuschlag, bescheinigung }.

      --year <INTEGER>
          (required)

      --zeile <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma filing.transmit

Starts the Übermittlung of the released Meldungsstand on the chosen way. On the way by hand this renders the input sheet; the person files it in Mein ELSTER, and the Übermittlung waits for the Transferticket.

Usage: decuma filing.transmit [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --meldung <STRING>
          (required)

      --not-filed-by-hand[=<BOOL>]
          A person confirms that she did not file it by hand, after the input sheet was opened.
          
          [possible values: true, false]

      --weg <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

form_definition

decuma form_definition.est

The Formulardefinition of the Einkommensteuererklärung of a year with the generated list of forms and lines it does not cover.

Usage: decuma form_definition.est [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma form_definition.get

The Formulardefinition of a Meldungsart valid on a day: its fields with line, Kennzahl and source, the rounding parameters, and the lines of the official form it does not cover.

Usage: decuma form_definition.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --date <STRING>
          (required)

      --meldungsart <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

formation

decuma formation.checklist

The founding checklist of a Mandant in Gründung: each step with its day or last day from the three days (Beurkundung, Eintragung, Beginn der Tätigkeit), and how the month is counted.

Usage: decuma formation.checklist [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma formation.complete

Ends the Gründung of the Mandant: the checklist is done.

Usage: decuma formation.complete [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma formation.fragebogen_file

The Fragebogen zur steuerlichen Erfassung of a GmbH, UG or Einzelunternehmen in Gründung as the official ELSTER data set (ElsterFSE, version 202401) from the master data and the person's answers: either the questions still open (choices are never preset) or the XML file, for a transmission through the ELSTER interface with the installation's own Hersteller-ID and as a record to check; Mein ELSTER takes no such file, the person types the values of formation.prepare_fragebogen into the form there. Decuma does not transmit it.

Usage: decuma formation.fragebogen_file [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --activity <STRING>
          Einzelunternehmen: default the kind of activity of the Betrieb. [values: gewerbe, freier_beruf]

      --besteuerung <OBJECT>
          Default Soll from the master data; Ist needs its reason here. [values: soll, ist_umsatz, ist_befreiung, ist_freier_beruf]

      --eingezahlt <STRING>
          

      --einlage <STRING>
          [values: bar, sach]

      --employee <INTEGER>
          

      --finanzamt <STRING>
          The Finanzamt the person chose (four digits); default the Bundesfinanzamtsnummer of the master data.

      --gewinnermittlung <OBJECT>
          [values: einnahmenueberschussrechnung, betriebsvermoegensvergleich]

      --kleinunternehmer <STRING>
          Default the answer in the master data (kleinunternehmer). [values: applies, waived]

      --lohnsteuer <STRING>
          

      --no-steuernummer-confirmed[=<BOOL>]
          There is no Steuernummer yet: the Fragebogen asks for a new one (Neuaufnahme).
          
          [possible values: true, false]

      --persons <ARRAY>
          The natural persons named in the master data (Geschäftsführer, Gesellschafter), each with
          first and last name as recorded together ("Anna Muster"), date of birth and address; an
          Einzelunternehmer gives the own entry here too. [shape: [{address?: {city, postcode, street}, date_of_birth?, first_name, last_name}]]

      --profit-next-year <STRING>
          

      --profit-start-year <STRING>
          KapG: expected Gewinn; Einzelunternehmen: expected Einkünfte of the activity.

      --religion <STRING>
          Einzelunternehmen: the Religionsschlüssel of the official list (11: not kirchensteuerpflichtig).

      --sacheinlage <STRING>
          

      --taetigkeit <STRING>
          

      --treuhand[=<BOOL>]
          [possible values: true, false]

      --umsatz-folgejahr <STRING>
          

      --umsatz-gruendungsjahr <STRING>
          

      --ust-idnr-beantragen[=<BOOL>]
          [possible values: true, false]

      --zahllast <STRING>
          Expected Zahllast of the year of the start; negative: Überschuss.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma formation.prepare_fragebogen

Prepares the Fragebogen zur steuerlichen Erfassung of a company in Gründung as an Einreichung: the sections of the form version from the master data and the founders' planning figures, the choices with both ways (never preselected), and the sections left to the portal. Called again it updates the content until it is filed.

Usage: decuma formation.prepare_fragebogen [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bank-account-id <STRING>
          The Bankkonto for the Bankverbindung; default the only one.

      --employee <INTEGER>
          

      --lohnsteuer <STRING>
          

      --taetigkeit <STRING>
          Art and extent of the business, in a few words.

      --umsatz-folgejahr <STRING>
          

      --umsatz-gruendungsjahr <STRING>
          Planning figures of the founders (estimates): Gesamtumsatz in the year of the start and the
          year after, the expected Zahllast (negative: Überschuss), employees including the
          Geschäftsführer, the expected Lohnsteuer of the year.

      --ust-idnr-beantragen[=<BOOL>]
          Whether to tick the request for the Umsatzsteuer-Identifikationsnummer; never preset.
          
          [possible values: true, false]

      --zahllast <STRING>
          

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma formation.start

Puts the Mandant in Gründung with the days known (Beurkundung, Eintragung, Beginn der Tätigkeit, first employment); called again it changes them.

Usage: decuma formation.start [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --already-unternehmer[=<BOOL>]
          Einzelunternehmen: whether the person was an Unternehmer before this start (another
          self-employed activity); asked before a Voranmeldungszeitraum is proposed.
          
          [possible values: true, false]

      --beurkundung <STRING>
          

      --earlier-activity-start <STRING>
          The day the earlier activity began: begun in the previous year, this year is still monthly.

      --eintragung <STRING>
          

      --erste-einstellung <STRING>
          Employees from the start: the Betriebsnummer comes before the first notice.

      --finanzamt-notice <OBJECT>
          The notice of the Finanzamt on the Voranmeldungszeitraum; it prevails over the proposal. [shape: {received_on, voranmeldungszeitraum: monat | quartal | befreit}]

      --gewerbeanzeige-am <STRING>
          The day the Gewerbeanzeige was made ("angezeigt am").

      --previous-year-vat <STRING>
          Einzelunternehmen of someone who was an Unternehmer before: the Umsatzsteuer of the previous
          year for all Betriebe together, per its Umsatzsteuererklärung. The proposal follows it, never
          `voraussichtliche_steuer`; asked while missing.

      --start <STRING>
          

      --start-kind <OBJECT>
          How the activity began; asked before a Voranmeldungszeitraum is proposed. For a
          Vorratsgesellschaft `start` is the day its activity began, for a Firmenmantel the takeover. [values: new, vorratsgesellschaft, firmenmantel, takeover, relocation]

      --voraussichtliche-steuer <STRING>
          The expected Umsatzsteuer of the year of the start (a planning figure of the founders); the
          Voranmeldungszeitraum of a start within the suspension of § 18 Abs. 2 Satz 4 UStG follows it.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

frist

decuma frist.list

The Fristen of the Umsatzsteuer-Voranmeldung for the periods of a year (with the Schonfrist of the payment), of the Zusammenfassende Meldungen with a reportable turnover, of the Einkommensteuererklärung of that Veranlagungsjahr, and the yearly returns of that year by Rechtsform (Körperschaftsteuer-, Gewerbesteuer-, Feststellungs-, Einkommensteuer- and Umsatzsteuererklärung, with their Anlagen; a missing fact is a warning annual_return_question naming the Command to state it), the Vorauszahlungen of tax_payment.plan with an amount (meldungsart vorauszahlung, kennung the key of the row), computed from rule data, master data and today.

Usage: decuma frist.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --year <INTEGER>
          Default: the year of today.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

gesellschafter

decuma gesellschafter.create

Add a persönlich haftender Gesellschafter of a Personengesellschaft with own Entnahme and Einlage Konten; private bookings name the Gesellschafter.

Usage: decuma gesellschafter.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --haftung <STRING>
          (required) persönlich haftend (GbR, OHG, PartG, Komplementär) or Kommanditist. [values: vollhafter, kommanditist]

      --name <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma gesellschafter.list

The Gesellschafter of the Personengesellschaft with their Entnahme and Einlage Konten.

Usage: decuma gesellschafter.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma gesellschafter.record

Records a Gesellschafter of a GmbH or UG, or a change of one from a day: name, address, natural person or Kapitalgesellschaft, nominal Geschäftsanteil (0 when leaving), the Kirchensteuermerkmal with its day, the details for the Transparenzregister. Returns the Stand on that day with the Stammkapital check.

Usage: decuma gesellschafter.record [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --date-of-birth <STRING>
          Natural person, for the Transparenzregister (§ 19 Abs. 1 GwG).

      --geschaeftsanteil <STRING>
          The nominal Geschäftsanteil in whole Euro (§ 5 Abs. 2 GmbHG), all shares together; 0 when
          the Gesellschafter left. With `shares` it is their sum and may be left out.

      --id <STRING>
          Set to change a Gesellschafter recorded before; absent for a new one.

      --kind <STRING>
          (required)  [values: natuerliche_person, kapitalgesellschaft]

      --kirchensteuermerkmal <OBJECT>
          Natural person: the Kirchensteuermerkmal as the Bundeszentralamt returned it (None: not
          kirchensteuerpflichtig or not obtained yet) and the day it was obtained. [shape: {religionsgemeinschaft?, satz, year}]

      --kirchensteuermerkmal-am <STRING>
          

      --name <STRING>
          (required)

      --notary-involved[=<BOOL>]
          A notary took part in the change: the notary files the new Gesellschafterliste (§ 40 Abs. 2
          GmbHG), so no reminder to the Geschäftsführer.
          
          [possible values: true, false]

      --postal-address <STRING>
          

      --shares <ARRAY>
          The numbered Geschäftsanteile of the Gesellschafterliste (§ 40 Abs. 1 GmbHG), each in whole Euro. [shape: [{nominal, number}]]

      --staatsangehoerigkeiten <ARRAY>
          [shape: [string]]

      --valid-from <STRING>
          (required) The day the values hold from (a change of share: the day of the transfer).

      --wohnort <STRING>
          

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma gesellschafter.status

The Gesellschafter of a GmbH or UG on a day with their Geschäftsanteile and shares, the Stammkapital against the Gezeichnetes Kapital in the books (warning stammkapital_weicht_ab), and the Transparenzregister: proposed wirtschaftlich Berechtigte of direct holdings, a holding through a company flagged, the last notification and the reminder after a change.

Usage: decuma gesellschafter.status [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --am <STRING>
          The day; default today.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

gesellschafterliste

decuma gesellschafterliste.record_filed

Records the day the Geschäftsführer filed the new Gesellschafterliste with the Handelsregister (§ 40 Abs. 1 GmbHG); the reminder after a change of the Gesellschafter without a notary ends once the day is on or after the change. Not a day in the future. Returns the Stand of today.

Usage: decuma gesellschafterliste.record_filed [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --filed-on <STRING>
          (required) The day the Geschäftsführer filed the new Gesellschafterliste with the Handelsregister.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

gesellschaftsvertrag

decuma gesellschaftsvertrag.record

Records from a day what the product reads of the Gesellschaftsvertrag of a GmbH or UG: the Stammkapital in whole Euro (a GmbH at least the amount of § 5 Abs. 1 GmbHG), another key of distribution if the articles set one, and the Geschäftsführer by name. Returns the Stand with the check of the Stammkapital against the Geschäftsanteile and the books.

Usage: decuma gesellschaftsvertrag.record [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --geschaeftsfuehrer <ARRAY>
          The Geschäftsführer by name: proposed as fictitious wirtschaftlich Berechtigte when nobody
          else is (§ 3 Abs. 2 Satz 5 GwG). [shape: [string]]

      --stammkapital <STRING>
          (required) The Stammkapital in whole Euro.

      --valid-from <STRING>
          (required)

      --verteilungsmassstab <STRING>
          Another key of distribution than the Geschäftsanteile, as the articles word it.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

gewerbesteuererklaerung

decuma gewerbesteuererklaerung.get

The Gewerbesteuererklärung of a year as a Meldung: the scheme from the Summe der Einkünfte to the Gewerbesteuer with norm and origin per line, the Angaben, the open Rückfragen and the flags, the final payment or refund, the Frist, the state and the hash to release. Before the Jahresabschluss is aufgestellt: wartet_auf_jahresabschluss.

Usage: decuma gewerbesteuererklaerung.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung, one per Betrieb); default the main one.

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma gewerbesteuererklaerung.mark_as_transmitted

Records the Transferticket of the yearly return typed into Mein ELSTER: the version is transmitted and locked; returns what follows (the notice, the amount).

Usage: decuma gewerbesteuererklaerung.mark_as_transmitted [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung); default the main one.

      --transferticket <STRING>
          (required)

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma gewerbesteuererklaerung.record_external

Records a yearly return filed outside the product (extern abgegeben): day, Transferticket and, for a year without rule data, the values as filed. Locks that version as transmitted; nothing is recomputed for such a year.

Usage: decuma gewerbesteuererklaerung.record_external [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung); default the main one.

      --transferticket <STRING>
          (required)

      --transmitted-on <STRING>
          (required)

      --werte <OBJECT>
          The values as filed, by line of the scheme (a year without rule data); default
          the values computed now.

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma gewerbesteuererklaerung.release

Gives the Freigabe for exactly the yearly return the person saw (its hash): a human of the Mandant with the second factor; never an API-Schlüssel, a Regel or the Agent. Refused while the Jahresabschluss it rests on is not aufgestellt, while a required Angabe is missing (names the line and its question), while a flag is not confirmed as seen (markierungen_gesehen), and for a case this version does not support.

Usage: decuma gewerbesteuererklaerung.release [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung); default the main one.

      --checked[=<BOOL>]
          (required) "Ich habe die Werte geprüft".
          
          [possible values: true, false]

      --hash <STRING>
          (required) `stand_hash` of the Meldung the person saw.

      --markierungen-gesehen[=<BOOL>]
          The person saw every flag with its triggers.
          
          [possible values: true, false]

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma gewerbesteuererklaerung.transmit

Starts the Übermittlung of the released yearly return by hand in Mein ELSTER: returns the input sheet in the order of the scheme; it waits for the Transferticket.

Usage: decuma gewerbesteuererklaerung.transmit [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung, one per Betrieb); default the main one.

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

history

decuma history.check

Verify the hash chain of the Mandant's Command-Log and report the first broken link.

Usage: decuma history.check [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma history.get

One entry of the history with payload, result, warnings and, for a change of master data or Belegdaten, the old and the new value.

Usage: decuma history.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --seq <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma history.list

The history of the Mandant: every entry of the Command-Log, newest first, with the Actor, one sentence and the object; filters by Actor, time and object.

Usage: decuma history.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bis <STRING>
          Up to this day (inclusive).

      --filter <OBJECT>
          Categorical filters: column -> the values to keep.

      --format <STRING>
          csv: every filtered row, in `csv`; xlsx and pdf: the same rows as a file, in `datei`. [values: json, csv, xlsx, pdf]

      --page <INTEGER>
          The page, from 1.

      --per-page <INTEGER>
          Rows per page, 1 to 500 (default 50).

      --sorting <STRING>
          A sortable column, ascending, or with a leading `-` descending.

      --text <STRING>
          Rows whose text columns contain this, ignoring case.

      --von <STRING>
          From this day on (inclusive), over the list's date column.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

home_office

decuma home_office.get_days

The stored home-office days of one Person and year with both sides of the Tagespauschale: the days for the Anlage N and the Einnahmenüberschussrechnung, the amount of each, or the open question.

Usage: decuma home_office.get_days [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --person-id <STRING>
          (required)

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma home_office.set_days

Stores the home-office days of one Person and year for both sides of the Tagespauschale: days mainly at home for the employment alone, for her Betrieb alone and with both activities, how the shared days are assigned (business, employment) and, above the cap per person, the side to cut (employment or business). The Anlage N and the Einnahmenüberschussrechnung of her Betrieb both read it; it replaces home_office.days and the Homeoffice days of input.set for that Person and year. The newest statement holds. Returns both sides, or the question that holds the Tagespauschale back on both.

Usage: decuma home_office.set_days [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --assigned <OBJECT>
          How the shared days are assigned; they add up to `shared`. [shape: {business, employment}]

      --cut <STRING>
          Above the cap: the side whose days are cut. [values: employment, business]

      --only-business <INTEGER>
          (required) Days mainly at home for her Betrieb alone.

      --only-employment <INTEGER>
          (required) Days mainly at home for the employment alone.

      --person-id <STRING>
          (required)

      --reason <STRING>
          (required)

      --shared <INTEGER>
          (required) Days mainly at home with both activities.

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

inbox

decuma inbox.count

The count of the inbox: open cases and those with an open question.

Usage: decuma inbox.count [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma inbox.deliver_webhook

A request of the inbound webhook becomes a delivery (the route of the installation only).

Usage: decuma inbox.deliver_webhook [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --content <STRING>
          (required) The body, base64; kept out of the Command-Log.

      --media-type <STRING>
          (required)

      --sha256 <STRING>
          (required) SHA-256 of the body, hex: the same key with another body is an idempotency conflict.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma inbox.list

The inbox: the cases with state, one line, amount and the next step; unless sorted, what waits for a person comes first (question, new, read, proposal), then booked and closed, the newest first within each.

Usage: decuma inbox.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bis <STRING>
          Up to this day (inclusive).

      --filter <OBJECT>
          Categorical filters: column -> the values to keep.

      --format <STRING>
          csv: every filtered row, in `csv`; xlsx and pdf: the same rows as a file, in `datei`. [values: json, csv, xlsx, pdf]

      --page <INTEGER>
          The page, from 1.

      --per-page <INTEGER>
          Rows per page, 1 to 500 (default 50).

      --sorting <STRING>
          A sortable column, ascending, or with a leading `-` descending.

      --text <STRING>
          Rows whose text columns contain this, ignoring case.

      --von <STRING>
          From this day on (inclusive), over the list's date column.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma inbox.set_settings

Set what happens to the same file sent twice: ablehnen (no second Beleg) or zulassen (a second Beleg, marked).

Usage: decuma inbox.set_settings [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --dubletten <STRING>
          (required) The same pages again: ablehnen (default; no second Beleg) or zulassen (a second, marked). [values: ablehnen, zulassen]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma inbox.settings

The settings of the inbox: what happens to the same file sent twice.

Usage: decuma inbox.settings [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

inbox_webhook

decuma inbox_webhook.create

Create or rotate the inbound webhook of the Mandant; the secret is shown once.

Usage: decuma inbox_webhook.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma inbox_webhook.get

The inbound webhook of the Mandant (without its secret) and the last refused requests.

Usage: decuma inbox_webhook.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

incoming_invoice

decuma incoming_invoice.list

The incoming invoices (section Ausgaben): Lieferant, amounts, payment state, the check of the invoice requirements and open questions per case; a Verbindlichkeit booked without Belegdaten is a row too (ohne_belegdaten), so the open rest of the rows is what the Offene Posten count as still to pay.

Usage: decuma incoming_invoice.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bis <STRING>
          Up to this day (inclusive).

      --filter <OBJECT>
          Categorical filters: column -> the values to keep.

      --format <STRING>
          csv: every filtered row, in `csv`; xlsx and pdf: the same rows as a file, in `datei`. [values: json, csv, xlsx, pdf]

      --page <INTEGER>
          The page, from 1.

      --per-page <INTEGER>
          Rows per page, 1 to 500 (default 50).

      --sorting <STRING>
          A sortable column, ascending, or with a leading `-` descending.

      --text <STRING>
          Rows whose text columns contain this, ignoring case.

      --von <STRING>
          From this day on (inclusive), over the list's date column.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma incoming_invoice.receive_amendment

The corrected invoice of a Beleg that waits for it arrived: Storno of the Buchung without Vorsteuer and a new Buchung with the Vorsteuer. It counts in the period of the Leistung and the original invoice when the original showed issuer, recipient, description, Entgelt and the separate tax (Abschnitt 15.2a Abs. 7 Satz 10 und 15 UStAE), otherwise from the day the correction arrived (Satz 17); a period transmitted already names the berichtigte Voranmeldung or the Jahreserklärung as the next step.

Usage: decuma incoming_invoice.receive_amendment [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --beleg-id <STRING>
          (required) The Beleg of the original invoice, waiting for its correction.

      --belegdaten <OBJECT>
          The details the corrected invoice adds or changes (for example aussteller_steuernummer):
          each field given replaces the captured one, the others stay as captured. [shape: {belegart?: rechnung | kleinbetragsrechnung | fahrausweis | vertrag | sonstiges | eigenbeleg | lohnsteuerbescheinigung | kontoauszug | versicherungsbescheinigung | spendenquittung | handwerkerrechnung | mietunterlage | rentenbescheinigung | betriebsunterlage | credit_note | dunning_notice | bewirtung_beleg, belegdatum?, brutto?, currency?, empfaenger?, issuer?, issuer_country?, issuer_postal_address?, issuer_steuernummer?, issuer_ust_idnr?, leistung?, leistungsdatum?, positions?: [{brutto?, drink?, steuersatz?, text}], prepaid_credit?, received_latest?: {evidence: email_time | receipt_stamp | portal_log | own_transfer | own_letter, latest_confirmed?, on, reference}, rechnung_erhalten_am?, rechnungsnummer?, recipient_postal_address?, recipient_ust_idnr?, rows?: [{brutto?, category?, cost_center_id?, delivered_on?, foreign_vat?, is_service?, leistungsdatum?, mitbenutzung?: {assignment?: ganz | anteilig | keine, entgelt?, erstmals_verwendet?, gesellschafter_id?, kind: laufend | gegenstand, months?, natuerliche_person?, unternehmensanteil}, netto?, partly_deductible?, steuer?, steuersatz?, steuerschluessel?, supply_from?, supply_to?, trip_documented?, vehicle?: company | owner | other, wirtschaftsgut?: {gehoert_zu?, invoice_tax?, kind?, land_purchase?: taxed_by_option | no_option | whole_business | incidental_cost, restnutzungsdauer?, selbstaendig_nutzbar, useful_life_years?}}], skonto?: {percent, tage?}, supply_from?, supply_precision?: month | days, supply_sections?: [{first_day, last_day}], supply_to?, whole_month?}]

      --berichtigung-beleg-id <STRING>
          The corrected invoice as a Beleg, cited by the new Buchung.

      --zugang <STRING>
          (required) The day the corrected invoice (the document referring to the original's number) arrived.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

input

decuma input.remove

Removes an Angabe; the Command-Log keeps its old value.

Usage: decuma input.remove [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma input.set

Creates or replaces an Angabe of the Veranlagungsjahr (a Lohnsteuerbescheinigung, the way to work and Werbungskosten, Vorsorge, a cost of the household, the year of a Mietobjekt or a Rente, the profit of a Betrieb without books). Returns warnings when the entry has no effect, makes the Erklärung a Pflicht, or touches a point that depends on the facts of the case.

Usage: decuma input.set [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --beleg-ids <ARRAY>
          [shape: [string]]

      --bezug <STRING>
          The Person (lohnsteuerbescheinigung, arbeit, vorsorge), the master record (mietobjekt_jahr,
          rente_jahr) or the Betrieb (gewinn).

      --id <STRING>
          The Angabe to replace; absent: a new one.

      --kind <STRING>
          (required) lohnsteuerbescheinigung, arbeit, vorsorge, aufwand, mietobjekt_jahr, rente_jahr, gewinn.

      --origin <STRING>
          getippt (default), beleg, hinweis, api.

      --werte <OBJECT>
          (required)

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

installation

decuma installation.flags

List the feature flags of this installation and whether each is on.

Usage: decuma installation.flags [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma installation.generate_setup_code

Make a one-time Einrichtungscode (10 minutes) and its link. Only the installation itself (decuma setup-link on the server).

Usage: decuma installation.generate_setup_code [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma installation.get_setup_code

The state of an Einrichtungscode: offen, abgelaufen, benutzt or unbekannt. An unknown code counts toward the lock after five wrong ones.

Usage: decuma installation.get_setup_code [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --code <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.
What this installation tells the app: links to terms, privacy notice and legal notice (null where unset), how mail is delivered, whether registration is open, whether any Account exists, whether Belege are read on arrival, whether Bankzugänge can be started.

Usage: decuma installation.links [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

invitation

decuma invitation.accept

Accept an invitation with the signed-in Account: the Mandant appears in your list with the rights of the invitation.

Usage: decuma invitation.accept [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --beruf <STRING>
          For the invitation of a Berater: the Beruf the person confirms (the Inhaber's choice is a
          prefill only; invitation.get shows it). Required for a Berater, refused otherwise. [values: steuerberater, wirtschaftspruefer, rechtsanwalt, buchhalter]

      --token <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma invitation.get

Read an invitation by the token of its link: its state, the Mandant's name, who invites and with which rights.

Usage: decuma invitation.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --token <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.
A new link for an open invitation ("Link kopieren"), shown once; the earlier link stops working.

Usage: decuma invitation.link [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --invitation-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma invitation.register

Register an Account through an invitation link (the invited address, fixed); the invitation is accepted when the address is confirmed with the mailed link. Works while general registration is closed.

Usage: decuma invitation.register [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --beruf <STRING>
          For the invitation of a Berater: the Beruf the person confirms, as in invitation.accept. [values: steuerberater, wirtschaftspruefer, rechtsanwalt, buchhalter]

      --display-name <STRING>
          

      --password <STRING>
          (required)

      --rechtstexte-angenommen[=<BOOL>]
          As in account.register: the terms and the privacy notice, where configured.
          
          [possible values: true, false]

      --token <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma invitation.send_again

Send an open invitation again with a new link and expiry; the earlier link stops working.

Usage: decuma invitation.send_again [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --invitation-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma invitation.withdraw

Withdraw an open invitation; its link stops working.

Usage: decuma invitation.withdraw [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --invitation-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

invoice

decuma invoice.amend_as_e_invoice

A Rechnung issued as PDF although an e-invoice was due (§ 14 Abs. 2 Satz 2 Nr. 1, § 27 Abs. 38 UStG): the Entwurf of its Berichtigung as XRechnung, type 384 referring to the number and date of the original (BT-25, BT-26), the same positions, no Buchung and no change of the tax. Issue it with invoice.issue. Refused when no e-invoice was due (then invoice.xml_copy).

Usage: decuma invoice.amend_as_e_invoice [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --invoice-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma invoice.correct

Create the Entwurf of a Korrekturrechnung that names an issued Rechnung, with the reason (grund): entgelt_geaendert books the difference on its datum, steuer_zu_niedrig and neu_ausstellen in the original's period, angaben_falsch is a Berichtigung of the details without a Buchung (§ 31 Abs. 5 UStDV); the reasons of § 14c UStG are refused with the next step.

Usage: decuma invoice.correct [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --aufwandskonto <STRING>
          unberechtigter_steuerausweis: the expense Konto that carries the tax owed (for example 7650
          Sonstige Betriebssteuern or 6300 Sonstige betriebliche Aufwendungen). Asked once, then kept.

      --date <STRING>
          entgelt_geaendert: the day of the change (or of the repayment). steuer_zu_hoch: the day
          the corrected Rechnung reaches the recipient.

      --empfaenger-unternehmer[=<BOOL>]
          steuer_zu_hoch: whether the recipient is an Unternehmer for its business; towards a final
          consumer no tax under § 14c Abs. 1 UStG arises (Abschnitt 14c.1 Abs. 1a UStAE). Required.
          
          [possible values: true, false]

      --invoice-id <STRING>
          (required)

      --reason <OBJECT>
          (required) Warum wird die Rechnung storniert? Required. [values: entgelt_geaendert, steuer_zu_hoch, steuer_zu_niedrig, unberechtigter_steuerausweis, angaben_falsch, neu_ausstellen]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma invoice.create_draft

Create the Entwurf of a Rechnung: Kunde, positions (Produkt or free line), service date or period, payment term, free text in Markdown. No number, outside the Journal; the treatment of each position and the notes are derived by the rule.

Usage: decuma invoice.create_draft [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --anzahlungen <ARRAY>
          schluss: the Anzahlungsrechnungen of this order. [shape: [string]]

      --betrieb-id <STRING>
          

      --customer-id <STRING>
          (required)

      --invoice-id <STRING>
          Only for invoice.update_draft.

      --kind <STRING>
          rechnung (default), anzahlung (an Anzahlungsrechnung: `leistungsdatum` or
          `leistungszeitraum` is the expected time of the supply, § 31 Abs. 4 UStDV) or schluss (a
          Schlussrechnung deducting the Anzahlungen received on `anzahlungen`, § 14 Abs. 5 UStG).
          invoice.update_draft keeps the kind unless one is given. [values: rechnung, anzahlung, schluss]

      --leistungsdatum <STRING>
          

      --line-items <ARRAY>
          (required)  [shape: [{category?, name?, net_price?, performed_in?: inland | eu | drittland, product_id?, quantity?, service_kind?: catalog | on_site | streamed | property | electronic | other, steuersatz?, unit?}]]

      --quote-id <STRING>
          

      --received-on <STRING>
          anzahlung: the payment it bills was already received on this day (§ 14 Abs. 4 Satz 1 Nr. 6
          UStG): before the invoice date it stands in the Rechnung and in BT-7; the payment itself is
          recorded as usual (payment.record, Bankumsatz).

      --service-time-not-agreed[=<BOOL>]
          anzahlung: the time of the supply is not agreed yet (Abschnitt 14.8 Abs. 4 UStAE).
          
          [possible values: true, false]

      --supply-period <OBJECT>
          [shape: {bis, von}]

      --teilleistungen[=<BOOL>]
          The Entgelt is agreed per month (Teilleistungen): the period is split per month, each part
          executed at its month's end (§ 13 Abs. 1 Nr. 1 Buchst. a Satz 2 und 3 UStG).
          
          [possible values: true, false]

      --text <STRING>
          Markdown: paragraphs, # headings, - lists, **bold**; no HTML, nothing fetched.

      --zahlungstermin-vereinbart[=<BOOL>]
          The due date is agreed as a calendar date (§ 286 Abs. 2 Nr. 1 BGB): Verzug from the day after.
          
          [possible values: true, false]

      --zahlungsziel-tage <INTEGER>
          

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma invoice.delete_draft

Delete an Entwurf; it had no number, so no gap arises. An issued Rechnung is refused with conflict.

Usage: decuma invoice.delete_draft [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --invoice-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma invoice.deliver

An own Rechnung uploaded (seiten) or a Rechnung of another system (quelle) with its own number: stored, booked against Forderungen with its Offener Posten. A number given before is refused (any source); a gap in the series warns.

Usage: decuma invoice.deliver [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --category <STRING>
          

      --customer-id <STRING>
          (required)

      --due-on <STRING>
          

      --invoice-date <STRING>
          (required)

      --leistungsdatum <STRING>
          

      --line-items <ARRAY>
          [shape: [{category?, name?, net_price?, performed_in?: inland | eu | drittland, product_id?, quantity?, service_kind?: catalog | on_site | streamed | property | electronic | other, steuersatz?, unit?}]]

      --netto <STRING>
          

      --number <STRING>
          (required)

      --pages <ARRAY>
          The document's files (POST /v1/files); without them the PDF is rendered from the fields. [shape: [string]]

      --quelle <STRING>
          The source system ("Shop"); default hochgeladen (an own Rechnung uploaded).

      --steuersatz <STRING>
          

      --supply-period <OBJECT>
          [shape: {bis, von}]

      --text <STRING>
          

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma invoice.files

The files of an issued Rechnung as stored at issuing (download at GET /v1/files/{hash}). This build renders PDF.

Usage: decuma invoice.files [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --invoice-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma invoice.get

One Rechnung with its state, positions, sums, notes, files, deliveries, what is missing and the next step.

Usage: decuma invoice.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --invoice-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma invoice.issue

Issue a Rechnung (the point of no return): the next number of its Nummernkreis, the check of the mandatory content, the PDF stored as the Beleg, the Buchung against Forderungen and the Offener Posten, in one transaction. Sending is a second step (invoice.send).

Usage: decuma invoice.issue [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --invoice-date <STRING>
          

      --invoice-id <STRING>
          (required)

      --unrelated-anzahlungen[=<BOOL>]
          The answer to the question of a Rechnung to a Kunde with Anzahlungen received and not
          settled: none of them belongs to this supply.
          
          [possible values: true, false]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma invoice.list

Rechnungen with state (entwurf, ausgestellt, gesendet, nicht_zugestellt, ueberfaellig, teilweise_bezahlt, bezahlt, written_off, settled, storniert), Kunde, dates, amounts and the open remainder, Entwürfe first and then the newest, unless sorted; sums of open and overdue over the filtered rows.

Usage: decuma invoice.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bis <STRING>
          Up to this day (inclusive).

      --filter <OBJECT>
          Categorical filters: column -> the values to keep.

      --format <STRING>
          csv: every filtered row, in `csv`; xlsx and pdf: the same rows as a file, in `datei`. [values: json, csv, xlsx, pdf]

      --page <INTEGER>
          The page, from 1.

      --per-page <INTEGER>
          Rows per page, 1 to 500 (default 50).

      --sorting <STRING>
          A sortable column, ascending, or with a leading `-` descending.

      --text <STRING>
          Rows whose text columns contain this, ignoring case.

      --von <STRING>
          From this day on (inclusive), over the list's date column.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma invoice.mark_as_sent

Mark an issued Rechnung as sent outside the product, with day and way (post, own mail program, in person).

Usage: decuma invoice.mark_as_sent [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --date <STRING>
          (required)

      --invoice-id <STRING>
          (required)

      --weg <STRING>
          (required)  [values: post, eigenes_mailprogramm, persoenlich]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma invoice.preview

The page of an Entwurf as it would be issued (PDF, base64), with ENTWURF for the number; for an issued Rechnung its stored file.

Usage: decuma invoice.preview [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --invoice-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.
Record the Finanzamt's consent to the correction of tax shown without right (§ 14c Abs. 2 UStG) for a Rechnung reversed with grund unberechtigter_steuerausweis: the day of the notice, a day of the period it names and the amount. Kennzahl 69 keeps the tax until then; the reduction counts with a minus in Kennzahl 69 of that period (a Berichtigung where it is filed).

Usage: decuma invoice.record_consent_14c [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --amount <STRING>
          (required) The amount the Finanzamt names.

      --invoice-id <STRING>
          (required) The Rechnung reversed for tax shown without right (grund unberechtigter_steuerausweis).

      --mitgeteilt-am <STRING>
          (required) The day of the Finanzamt's notice.

      --period-day <STRING>
          (required) A day of the Besteuerungszeitraum the Finanzamt names for the correction.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma invoice.send

Send an issued Rechnung by e-mail with its PDF (from "<Absender> über Decuma", Reply-To the Absender). A rejection by the mail server is a result: the Rechnung reads nicht_zugestellt.

Usage: decuma invoice.send [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --an <STRING>
          Default: the Kunde's e-mail for invoices.

      --invoice-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma invoice.storno

Create the Entwurf of a Stornorechnung that names an issued Rechnung (positions negated), with the reason (grund) that decides the period: entgelt_geaendert counts on its datum (§ 17 UStG), neu_ausstellen in the original's period; the reasons of § 14c UStG are refused with the next step. Issuing it reverses the original Buchung and closes the Offener Posten.

Usage: decuma invoice.storno [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --aufwandskonto <STRING>
          unberechtigter_steuerausweis: the expense Konto that carries the tax owed (for example 7650
          Sonstige Betriebssteuern or 6300 Sonstige betriebliche Aufwendungen). Asked once, then kept.

      --date <STRING>
          entgelt_geaendert: the day of the change (or of the repayment). steuer_zu_hoch: the day
          the corrected Rechnung reaches the recipient.

      --empfaenger-unternehmer[=<BOOL>]
          steuer_zu_hoch: whether the recipient is an Unternehmer for its business; towards a final
          consumer no tax under § 14c Abs. 1 UStG arises (Abschnitt 14c.1 Abs. 1a UStAE). Required.
          
          [possible values: true, false]

      --invoice-id <STRING>
          (required)

      --reason <OBJECT>
          (required) Warum wird die Rechnung storniert? Required. [values: entgelt_geaendert, steuer_zu_hoch, steuer_zu_niedrig, unberechtigter_steuerausweis, angaben_falsch, neu_ausstellen]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma invoice.update_draft

Replace an Entwurf (rechnung_id and the whole draft). An issued Rechnung is refused with conflict: create a Storno- or Korrekturrechnung.

Usage: decuma invoice.update_draft [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --anzahlungen <ARRAY>
          schluss: the Anzahlungsrechnungen of this order. [shape: [string]]

      --betrieb-id <STRING>
          

      --customer-id <STRING>
          (required)

      --invoice-id <STRING>
          Only for invoice.update_draft.

      --kind <STRING>
          rechnung (default), anzahlung (an Anzahlungsrechnung: `leistungsdatum` or
          `leistungszeitraum` is the expected time of the supply, § 31 Abs. 4 UStDV) or schluss (a
          Schlussrechnung deducting the Anzahlungen received on `anzahlungen`, § 14 Abs. 5 UStG).
          invoice.update_draft keeps the kind unless one is given. [values: rechnung, anzahlung, schluss]

      --leistungsdatum <STRING>
          

      --line-items <ARRAY>
          (required)  [shape: [{category?, name?, net_price?, performed_in?: inland | eu | drittland, product_id?, quantity?, service_kind?: catalog | on_site | streamed | property | electronic | other, steuersatz?, unit?}]]

      --quote-id <STRING>
          

      --received-on <STRING>
          anzahlung: the payment it bills was already received on this day (§ 14 Abs. 4 Satz 1 Nr. 6
          UStG): before the invoice date it stands in the Rechnung and in BT-7; the payment itself is
          recorded as usual (payment.record, Bankumsatz).

      --service-time-not-agreed[=<BOOL>]
          anzahlung: the time of the supply is not agreed yet (Abschnitt 14.8 Abs. 4 UStAE).
          
          [possible values: true, false]

      --supply-period <OBJECT>
          [shape: {bis, von}]

      --teilleistungen[=<BOOL>]
          The Entgelt is agreed per month (Teilleistungen): the period is split per month, each part
          executed at its month's end (§ 13 Abs. 1 Nr. 1 Buchst. a Satz 2 und 3 UStG).
          
          [possible values: true, false]

      --text <STRING>
          Markdown: paragraphs, # headings, - lists, **bold**; no HTML, nothing fetched.

      --zahlungstermin-vereinbart[=<BOOL>]
          The due date is agreed as a calendar date (§ 286 Abs. 2 Nr. 1 BGB): Verzug from the day after.
          
          [possible values: true, false]

      --zahlungsziel-tage <INTEGER>
          

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma invoice.xml_copy

The XRechnung of a Rechnung issued as PDF, as a content-identical copy of the same Rechnung: same number, date and type 380, every detail as issued (not today's master data); no new number, no Buchung. Refused when an e-invoice was due for it (then invoice.amend_as_e_invoice) or when the issued Rechnung lacks a detail the XML needs.

Usage: decuma invoice.xml_copy [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --invoice-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

invoice_check

decuma invoice_check.get

The check of the invoice requirements for the Vorsteuer (§ 14 Abs. 4 UStG, small-amount invoice § 33 UStDV) on the current Belegdaten of a Beleg: each requirement, met or missing.

Usage: decuma invoice_check.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --beleg-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

invoice_details

decuma invoice_details.get

The Rechnungsangaben of a Betrieb: sender, logo, the pattern and the next number of the Nummernkreis, the default payment term, whether mail can be sent.

Usage: decuma invoice_details.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma invoice_details.set

Set the Rechnungsangaben of a Betrieb: sender, logo (JPEG or PNG; null removes it), the pattern ({jahr}, {nummer} or {nummer:4}) and the next number (both only before the first Rechnung of the Nummernkreis), the default payment term.

Usage: decuma invoice_details.set [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --logo <STRING>
          A stored file (POST /v1/files); null removes the logo.

      --next-number <INTEGER>
          

      --sample <STRING>
          

      --sender <OBJECT>
          Merged field by field: fields left out stay. The bank details and tax numbers of the sender
          are set with invoice_details.set_sender_identity. [shape: {city?, land?, name?, phone?, postal_code?, street?}]

      --zahlungsziel-tage <INTEGER>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma invoice_details.set_sender_identity

Set who sends the Rechnungen of a Betrieb: bank details (IBAN, BIC), Steuernummer, USt-IdNr., Handelsregister and the e-mail replies go to; fields left out stay. Administration: the IBAN is where customers pay, the e-mail where they answer.

Usage: decuma invoice_details.set_sender_identity [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --bic <STRING>
          

      --email <STRING>
          The address replies to a sent Rechnung or Mahnung go to (Reply-To); also BT-43.

      --handelsregister <STRING>
          Register court and number ("Amtsgericht Musterstadt HRB 12345"): BT-30 of an e-invoice.

      --iban <STRING>
          The account customers pay to (BT-84).

      --steuernummer <STRING>
          

      --ust-idnr <STRING>
          

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

invoice_receipt

decuma invoice_receipt.confirm

Confirm the day of receipt (and, for a Beleg that names none, the day of the supply: supply_date) of one or many Belege (the proposal of invoice_receipt.pending or another day; the day of receipt between Belegdatum and inbox in Decuma). The capture of each Beleg then takes that day; the result lists each Beleg with the period of its Vorsteuer and, for a period transmitted already, the berichtigte Voranmeldung or the Jahreserklärung as the next step.

Usage: decuma invoice_receipt.confirm [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --belege <ARRAY>
          (required) Every Beleg the person confirms, with its day. [shape: [{beleg_id, belegdatum?, leistungsdatum?, rechnung_erhalten_am?, supply_date?}]]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma invoice_receipt.pending

The Belege not booked yet whose Belegdatum and inbox in Decuma lie in different months, so the day the invoice reached the Unternehmer decides the period of the Vorsteuer (§ 15 Abs. 1 Satz 1 Nr. 1 UStG): each with the Belegdatum as the proposal, the period that results and, when that period is transmitted already, the next step; also a Kleinbetragsrechnung or Fahrausweis that names no day of the supply (supply_date_proposal). Confirm with invoice_receipt.confirm.

Usage: decuma invoice_receipt.pending [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

issuer_answer

decuma issuer_answer.list

The answers a person gave for an issuer, which apply to its later Belege until revoked (issuer_answer.revoke): the time of the supply on Belege that name none (the tax owed by the recipient), and that a line above the expense limit is an ongoing service, no asset (ongoing_service). Newest first, revoked ones included.

Usage: decuma issuer_answer.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma issuer_answer.revoke

Revoke an answer given for an issuer (question_id from issuer_answer.list): its later Belege are asked about again. What is booked stays; the result names the Belege it was used for.

Usage: decuma issuer_answer.revoke [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --question-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

jahresabschluss

decuma jahresabschluss.get

Bilanz, GuV, Vermerke and Anlagenspiegel of a Wirtschaftsjahr in the form of its size class, computed from the Journal (or the preview with the open closing entries), and the stored state if aufgestellt; as PDF with format pdf.

Usage: decuma jahresabschluss.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --form <OBJECT>
          The fuller form (klein) for a Kleinstkapitalgesellschaft. [values: gross, klein, kleinst]

      --format <STRING>
          [values: json, csv, xlsx, pdf]

      --preview[=<BOOL>]
          With the closing entries not yet posted (labelled as such; never aufgestellt).
          
          [possible values: true, false]

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma jahresabschluss.prepare

Store the Jahresabschluss of a Wirtschaftsjahr as a state: values, hash, state of the books, rule data versions. Refused while a closing entry is neither posted nor declined, and above the small size class; an open check blocks nothing here.

Usage: decuma jahresabschluss.prepare [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma jahresabschluss.record_disclosure

Record the Offenlegung of the festgestellt Jahresabschluss: way (Hinterlegung for a Kleinstkapitalgesellschaft, or Veröffentlichung), day and the register's confirmation.

Usage: decuma jahresabschluss.record_disclosure [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --am <STRING>
          (required)

      --beleg-id <STRING>
          The register's confirmation as a stored Beleg.

      --weg <STRING>
          (required) hinterlegung (Kleinstkapitalgesellschaft only) or veroeffentlichung.

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma jahresabschluss.record_feststellung

Record the Gesellschafter's Feststellung of the stored Jahresabschluss (by hash) and the Ergebnisverwendung: distribution and transfer to reserves out of what may be used, the rest carried forward.

Usage: decuma jahresabschluss.record_feststellung [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --ausschuettung <STRING>
          

      --beleg-id <STRING>
          

      --beschluss-am <STRING>
          (required)

      --einstellung-gewinnruecklagen <STRING>
          

      --hash <STRING>
          (required) The hash of the stored Jahresabschluss the resolution refers to.

      --ruecklagenkonto <STRING>
          With an Einstellung: the Konto of the Gewinnrücklage (Passiva A.III) it goes to; the
          person chooses it (the Kontenrahmen offers a range).

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

journal

decuma journal.list

The Journal: Buchungen with their lines, searchable over text, amounts and Beleg numbers, filtered by Konto, Betrieb (betrieb_id) and time; with the sums of Soll and Haben; CSV one row per line.

Usage: decuma journal.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bis <STRING>
          Up to this day (inclusive).

      --filter <OBJECT>
          Categorical filters: column -> the values to keep.

      --format <STRING>
          csv: every filtered row, in `csv`; xlsx and pdf: the same rows as a file, in `datei`. [values: json, csv, xlsx, pdf]

      --page <INTEGER>
          The page, from 1.

      --per-page <INTEGER>
          Rows per page, 1 to 500 (default 50).

      --sorting <STRING>
          A sortable column, ascending, or with a leading `-` descending.

      --text <STRING>
          Rows whose text columns contain this, ignoring case.

      --von <STRING>
          From this day on (inclusive), over the list's date column.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

kapitalertragsteuer_anmeldung

decuma kapitalertragsteuer_anmeldung.get

The Kapitalertragsteuer-Anmeldung of a day of receipt, computed from the posted distributions: Kapitalerträge, Kapitalertragsteuer in full euros, Solidaritätszuschlag, Kirchensteuer; its day, state and hash.

Usage: decuma kapitalertragsteuer_anmeldung.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --zufluss <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma kapitalertragsteuer_anmeldung.mark_as_transmitted

Records the Transferticket of the Kapitalertragsteuer-Anmeldung: transmitted and locked.

Usage: decuma kapitalertragsteuer_anmeldung.mark_as_transmitted [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --transferticket <STRING>
          (required)

      --zufluss <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma kapitalertragsteuer_anmeldung.record_external

Records a Kapitalertragsteuer-Anmeldung filed outside the product (extern abgegeben) for the computed values of the day.

Usage: decuma kapitalertragsteuer_anmeldung.record_external [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --transferticket <STRING>
          (required)

      --transmitted-on <STRING>
          (required)

      --zufluss <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma kapitalertragsteuer_anmeldung.release

Gives the Freigabe for exactly the Kapitalertragsteuer-Anmeldung the person saw (its hash): a human of the Mandant with the second factor; refused before the distribution is posted.

Usage: decuma kapitalertragsteuer_anmeldung.release [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --checked[=<BOOL>]
          (required)
          
          [possible values: true, false]

      --hash <STRING>
          (required)

      --zufluss <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma kapitalertragsteuer_anmeldung.transmit

Starts the Übermittlung of the released Kapitalertragsteuer-Anmeldung by hand in Mein ELSTER; it waits for the Transferticket.

Usage: decuma kapitalertragsteuer_anmeldung.transmit [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --zufluss <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

kleinunternehmer

decuma kleinunternehmer.set_advance_period

Say in which period an advance counts that was received as a Kleinunternehmer (§ 19 UStG) before the limit was crossed, for a turnover taxed after it, where the sources name none (kleinunternehmer.status lists them with their answers, without a proposal; ask a tax adviser or the Finanzamt). A period under § 19 is declared by hand: the result names the amount, and the point stays open until declared is true. Can be changed. Run by a person only.

Usage: decuma kleinunternehmer.set_advance_period [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --counts <OBJECT>
          (required) One of its answers. [values: receipt, crossing, supply, rest, not_taxable]

      --declared[=<BOOL>]
          The amount of a period under § 19 was declared by hand.
          
          [possible values: true, false]

      --payment-id <STRING>
          (required) payment_id of kleinunternehmer.status, advances.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma kleinunternehmer.status

The Kleinunternehmer status of a year (§ 19 UStG): status, change, Verzicht, Gesamtumsatz from the payments received against the limits of the rule data, an open question, and its consequences.

Usage: decuma kleinunternehmer.status [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --year <INTEGER>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

koerperschaftsteuererklaerung

decuma koerperschaftsteuererklaerung.get

The Körperschaftsteuererklärung of a year as a Meldung: the scheme from the stored Jahresabschluss to the tax with norm and origin per line, the Angaben, the open Rückfragen and the flags, the final payment or refund, the Frist, the state and the hash to release. Before the Jahresabschluss is aufgestellt: wartet_auf_jahresabschluss.

Usage: decuma koerperschaftsteuererklaerung.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung, one per Betrieb); default the main one.

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma koerperschaftsteuererklaerung.mark_as_transmitted

Records the Transferticket of the yearly return typed into Mein ELSTER: the version is transmitted and locked; returns what follows (the notice, the amount).

Usage: decuma koerperschaftsteuererklaerung.mark_as_transmitted [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung); default the main one.

      --transferticket <STRING>
          (required)

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma koerperschaftsteuererklaerung.record_external

Records a yearly return filed outside the product (extern abgegeben): day, Transferticket and, for a year without rule data, the values as filed. Locks that version as transmitted; nothing is recomputed for such a year.

Usage: decuma koerperschaftsteuererklaerung.record_external [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung); default the main one.

      --transferticket <STRING>
          (required)

      --transmitted-on <STRING>
          (required)

      --werte <OBJECT>
          The values as filed, by line of the scheme (a year without rule data); default
          the values computed now.

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma koerperschaftsteuererklaerung.release

Gives the Freigabe for exactly the yearly return the person saw (its hash): a human of the Mandant with the second factor; never an API-Schlüssel, a Regel or the Agent. Refused while the Jahresabschluss it rests on is not aufgestellt, while a required Angabe is missing (names the line and its question), while a flag is not confirmed as seen (markierungen_gesehen), and for a case this version does not support.

Usage: decuma koerperschaftsteuererklaerung.release [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung); default the main one.

      --checked[=<BOOL>]
          (required) "Ich habe die Werte geprüft".
          
          [possible values: true, false]

      --hash <STRING>
          (required) `stand_hash` of the Meldung the person saw.

      --markierungen-gesehen[=<BOOL>]
          The person saw every flag with its triggers.
          
          [possible values: true, false]

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma koerperschaftsteuererklaerung.transmit

Starts the Übermittlung of the released yearly return by hand in Mein ELSTER: returns the input sheet in the order of the scheme; it waits for the Transferticket.

Usage: decuma koerperschaftsteuererklaerung.transmit [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung, one per Betrieb); default the main one.

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

kontenrahmen

decuma kontenrahmen.select

Choose the Kontenrahmen of a Betrieb that has none recorded yet (an older Betrieb before its first Buchung). A new Betrieb records it at creation (kontenrahmen in mandant.create or betrieb.create, default skr04); once recorded it cannot change.

Usage: decuma kontenrahmen.select [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --kontenrahmen <STRING>
          (required) The kennung of a loaded Kontenrahmen (today only `skr04`).

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

konto

decuma konto.create

Add an own Konto to the Kontenplan of a Betrieb: four digits inside the Kontenklasse of its kind; it cannot shadow a Konto of the Kontenrahmen.

Usage: decuma konto.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --kind <STRING>
          (required) aktiv, passiv, eigenkapital, ertrag, aufwand or steuer.

      --name <STRING>
          (required)

      --number <STRING>
          (required) Four digits, the first is the Kontenklasse; or a Personenkonto of five digits (Debitoren
          10000-69999, aktiv; Kreditoren 70000-99999, passiv).

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma konto.ledger_sheet

The account sheet of a Konto: opening balance, every Buchungszeile with the running balance, closing balance.

Usage: decuma konto.ledger_sheet [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --bis <STRING>
          

      --konto <STRING>
          (required)

      --von <STRING>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

krankenkasse

decuma krankenkasse.create

Record a Krankenkasse as Einzugsstelle with its Zusatzbeitragssatz and Umlagesätze, valid from a day; a later state of the same Krankenkasse replaces it from its day. No default rate is ever used.

Usage: decuma krankenkasse.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betriebsnummer <STRING>
          (required) Its number as Einzugsstelle.

      --iban <STRING>
          The account the Kasse publishes for contributions; the transfer file uses it, it is never
          estimated.

      --knappschaft[=<BOOL>]
          The Einzugsstelle is the Deutsche Rentenversicherung Knappschaft-Bahn-See: paid to the
          published account of the Minijob-Zentrale, marked FKAG beside Minijob contributions.
          
          [possible values: true, false]

      --krankenkasse-id <STRING>
          An existing Krankenkasse gets a new state from `gueltig_ab`.

      --lastschriftmandat[=<BOOL>]
          The Kasse collects the contributions by SEPA mandate: nothing is transferred.
          
          [possible values: true, false]

      --name <STRING>
          (required)

      --sitz-land <STRING>
          (required) Land of the seat of its Hauptverwaltung (two letters): it decides the Bankarbeitstage.

      --umlagesatz-u1 <STRING>
          (required)

      --umlagesatz-u2 <STRING>
          (required)

      --valid-from <STRING>
          (required)

      --zusatzbeitragssatz <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma krankenkasse.list

The Krankenkassen of the Mandant as Einzugsstellen, each in its newest state.

Usage: decuma krankenkasse.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.
State or change the Rechtsform of a Mandant that is not a natürliche Person (within its Mandantenart). After the first Meldung a change needs a Begründung.

Usage: decuma legal_form.set [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --rechtsform <STRING>
          (required) The Rechtsform of a Mandant that is not a natürliche Person, from one fixed list (domain model,
          Mandant). GmbH (§ 13 Abs. 1 GmbHG), UG (§ 5a GmbHG), AG (§ 1 Abs. 1 AktG), eG (§ 17 Abs. 1 GenG)
          and eingetragener Verein (§ 21 BGB) are juristische Personen; the others are
          Personengesellschaften (GmbH & Co. KG: a KG). [values: gmbh, ug, gbr, partg, partg_mbb, ohg, kg, gmbh_co_kg, ag, eg, ev]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

loan

decuma loan.create

Record a loan with amount, rate and term on its Konto; the interest of the year follows as an Abschlussbuchung, the remaining term feeds the Vermerke.

Usage: decuma loan.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --amount <STRING>
          (required)

      --end <STRING>
          (required)

      --gesellschafter[=<BOOL>]
          (required) The lender is a Gesellschafter (§ 42 Abs. 3 GmbHG).
          
          [possible values: true, false]

      --konto <STRING>
          (required)

      --name <STRING>
          (required)

      --start <STRING>
          (required)

      --zins-prozent <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

lohnkonto

decuma lohnkonto.get

The Lohnkonto of an Arbeitnehmer for a calendar year (§ 41 EStG, § 4 LStDV): every settled Abrechnung of a run not replaced, by month, with the Lohnsteuerabzugsmerkmale used, the sums of the year, the end of the retention and the PDF stored with the newest run.

Usage: decuma lohnkonto.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --employee-id <STRING>
          (required)

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

lohnsteuer

decuma lohnsteuer.calculate

Lohnsteuer, Solidaritätszuschlag and Kirchensteuer of one month by the Programmablaufplan of the year, from the Lohnsteuerabzugsmerkmale and the Sozialversicherung status, with the inputs and intermediate values.

Usage: decuma lohnsteuer.calculate [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --arbeitslohn <STRING>
          (required)

      --date-of-birth <STRING>
          

      --land <STRING>
          Land of the Betriebsstätte (two letters) for the Kirchensteuer rate.

      --lohnsteuer <OBJECT>
          (required) Lohnsteuerabzugsmerkmale as read from the ELStAM (§ 39 Abs. 4 EStG). [shape: {andere_konfession?, faktor?, freibetrag_jahr?, freibetrag_monat?, hinzurechnungsbetrag_jahr?, hinzurechnungsbetrag_monat?, kinderfreibetraege?, kirchensteuer_kappung?, konfession?: ev | rk, private_basisbeitraege_monat?, steuerklasse}]

      --month <STRING>
          (required) The month of the Lohnzahlungszeitraum (YYYY-MM): it chooses the Programmablaufplan.

      --sv <OBJECT>
          (required)  [shape: {arbeitslosenversicherung, beitrag_private_kv?, beitrag_private_pv?, beitrag_versorgungseinrichtung?, berufsstaendisch?, beschaeftigter?, geschaeftsfuehrer?, kinder_unter_25?, kinderlos_ueber_23?, krankenversicherung: privat | pflicht | freiwillig_firmenzahler | freiwillig_selbstzahler | keine, rentenversicherung, sachsen?, versorgungswerk?, versorgungswerk_firmenzahler?, zusatzbeitragssatz?}]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

lohnsteuer_anmeldung

decuma lohnsteuer_anmeldung.confirm_employee_count

Answers the question on Kennzahl 86 of an Anmeldungszeitraum whose staff changed: confirms the proposal or corrects it. The number becomes part of the Meldungsstand; a later change of the settled persons asks again.

Usage: decuma lohnsteuer_anmeldung.confirm_employee_count [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --count <INTEGER>
          (required) The number of Arbeitnehmer of the period as the person confirms or corrects it.

      --period <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma lohnsteuer_anmeldung.get

The Lohnsteuer-Anmeldung of an Anmeldungszeitraum (month, quarter or year) as a Meldung: the Kennzahlen from the settled Abrechnungen of its months, each with the Abrechnungen behind it, the Meldungsstand and its hash, the Frist, the check against the Journal, the Freigabe, and after the Übermittlung the difference to the transmitted values and the amount to pay.

Usage: decuma lohnsteuer_anmeldung.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --period <STRING>
          (required) The Anmeldungszeitraum: `YYYY-MM` (month), `YYYY-Qn` (quarter) or `YYYY` (calendar year).

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma lohnsteuer_anmeldung.input_sheet

The input sheet of the newest Freigabe of the Lohnsteuer-Anmeldung in the order of the form, to enter the values by hand in Mein ELSTER.

Usage: decuma lohnsteuer_anmeldung.input_sheet [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --period <STRING>
          (required) The Anmeldungszeitraum: `YYYY-MM` (month), `YYYY-Qn` (quarter) or `YYYY` (calendar year).

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma lohnsteuer_anmeldung.list

Every Lohnsteuer-Anmeldung of a Betrieb, one per Anmeldungszeitraum with a settled run, newest first: state, version, Kennzahl 83, Frist and the next step.

Usage: decuma lohnsteuer_anmeldung.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma lohnsteuer_anmeldung.mark_as_transmitted

Records the Transferticket of the Lohnsteuer-Anmeldung typed into Mein ELSTER: the version is transmitted and its Freigabe used up. Refused when a value changed since the Freigabe.

Usage: decuma lohnsteuer_anmeldung.mark_as_transmitted [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --period <STRING>
          (required)

      --transferticket <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma lohnsteuer_anmeldung.period_proposal

The Lohnsteuer-Anmeldungszeitraum the limits of § 41a Abs. 2 EStG give for a year from the Lohnsteuer of the previous year; a proposal the person confirms with payroll.set_settings.

Usage: decuma lohnsteuer_anmeldung.period_proposal [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --grundlage <OBJECT>
          (required) What the Anmeldungszeitraum of a year is derived from (§ 41a Abs. 2 EStG). [shape: {vorjahr: {lohnsteuer, months}} | {neu: {lohnsteuer_erster_voller_monat?}}]

      --year <INTEGER>
          (required) The calendar year the Anmeldungszeitraum is for.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma lohnsteuer_anmeldung.record_external

Records a Lohnsteuer-Anmeldung filed outside the product (extern abgegeben): date, Transferticket and the transmitted Kennzahlen. The values are a record and never used as computed values; a difference returns the warning extern_weicht_ab.

Usage: decuma lohnsteuer_anmeldung.record_external [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --period <STRING>
          (required)

      --transferticket <STRING>
          (required)

      --transmitted-on <STRING>
          (required)

      --werte <OBJECT>
          (required) Kennzahl to value as transmitted (euro with cent; Kennzahl 86 a whole number).

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma lohnsteuer_anmeldung.release

Gives the Freigabe for exactly the values of the Lohnsteuer-Anmeldung the person saw (its hash): a human of the Mandant only, for one Übermittlung. A correction of a Lohnlauf that changes a value lets it lapse.

Usage: decuma lohnsteuer_anmeldung.release [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --checked[=<BOOL>]
          (required) "Ich habe die Werte geprüft".
          
          [possible values: true, false]

      --hash <STRING>
          (required) `stand_hash` of the Anmeldung the person saw.

      --period <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma lohnsteuer_anmeldung.transmit

Starts the Übermittlung of the Lohnsteuer-Anmeldung by hand in Mein ELSTER: returns the input sheet of the valid Freigabe; the Übermittlung waits for the Transferticket.

Usage: decuma lohnsteuer_anmeldung.transmit [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --period <STRING>
          (required) The Anmeldungszeitraum: `YYYY-MM` (month), `YYYY-Qn` (quarter) or `YYYY` (calendar year).

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

lohnsteuerbescheinigung

decuma lohnsteuerbescheinigung.get

The values of the Lohnsteuerbescheinigung of an Arbeitnehmer for a calendar year from the Lohnkonto, by the numbers of the official Muster, with its Frist: prepared values for the person to enter; the product transmits nothing.

Usage: decuma lohnsteuerbescheinigung.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --employee-id <STRING>
          (required)

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

mandant

decuma mandant.create

Create a Mandant of one Mandantenart; you become its Inhaber.

Usage: decuma mandant.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --betrieb <STRING>
          juristische Person and Personengesellschaft: the name of the one Betrieb (default: the Mandant's).

      --display-name <STRING>
          (required)

      --haushalt[=<BOOL>]
          natürliche Person only: true for a household (it keeps the private shell when it adds a
          Betrieb), false for a Selbstständige; left out, a household while it has no Betrieb.
          
          [possible values: true, false]

      --kontenrahmen <STRING>
          The Kontenrahmen of the Betrieb (a loaded kennung; default skr04); fixed at creation.

      --mandantenart <STRING>
          (required) Fixed at creation. [values: juristische_person, personengesellschaft, natuerliche_person]

      --persons <ARRAY>
          natürliche Person only: one, or two for Zusammenveranlagung. [shape: [{first_name, last_name}]]

      --rechtsform <STRING>
          Required unless the Mandant is a natürliche Person, and it must fit the Mandantenart. [values: gmbh, ug, gbr, partg, partg_mbb, ohg, kg, gmbh_co_kg, ag, eg, ev]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma mandant.delete

Delete this Mandant with all its data and Belege. Needs your password. Cannot be undone.

Usage: decuma mandant.delete [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --password <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma mandant.export

Export every table, the Command-Log and the Belege of this Mandant as one ZIP with a manifest of SHA-256 hashes; without the right "Sieht Lohn" the same without payroll, marked as incomplete (payroll_included false); returns a download reference valid for 10 minutes for this session or key.

Usage: decuma mandant.export [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma mandant.get

Read the Mandant: master data, Personen and Betriebe.

Usage: decuma mandant.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma mandant.list

List the Mandanten of your Account: filter, sort, page, or export as CSV.

Usage: decuma mandant.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --bis <STRING>
          Up to this day (inclusive).

      --filter <OBJECT>
          Categorical filters: column -> the values to keep.

      --format <STRING>
          csv: every filtered row, in `csv`; xlsx and pdf: the same rows as a file, in `datei`. [values: json, csv, xlsx, pdf]

      --page <INTEGER>
          The page, from 1.

      --per-page <INTEGER>
          Rows per page, 1 to 500 (default 50).

      --sorting <STRING>
          A sortable column, ascending, or with a leading `-` descending.

      --text <STRING>
          Rows whose text columns contain this, ignoring case.

      --von <STRING>
          From this day on (inclusive), over the list's date column.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma mandant.readiness

Per filing, which master data it still needs and the one next step (Umsatzsteuer-Voranmeldung first; the Jahresabschluss of a GmbH or UG).

Usage: decuma mandant.readiness [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma mandant.set_brands

Set the Mandant's own brands (the whole list): an incoming invoice made out to one of them is read as made out to the Mandant where the recipient is asked about. An entry that is a mail domain (muster.example) is the own domain of orders: an invoice for an order of an address at it is the Mandant's too.

Usage: decuma mandant.set_brands [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --brands <ARRAY>
          (required) The whole list; an empty one removes every brand. [shape: [string]]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

master_data

decuma master_data.history

Every value of Besteuerungsart, Voranmeldungszeitraum, Kleinunternehmer status, Wirtschaftsjahr, Dauerfristverlängerung, Land of the Finanzamt, legal_name and short_name with its valid-from date, newest first per field.

Usage: decuma master_data.history [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma master_data.set

Set master data of the Mandant: name, Anschrift, Steuernummer, USt-IdNr., Finanzamt, register data. Fields left out stay. After the first Meldung a change of name, Steuernummer or USt-IdNr. needs a Begründung.

Usage: decuma master_data.set [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betriebsnummer <STRING>
          Betriebsnummer of the Bundesagentur für Arbeit.

      --city <STRING>
          

      --display-name <STRING>
          

      --finanzamt <STRING>
          

      --postal-code <STRING>
          

      --registergericht <STRING>
          

      --registernummer <STRING>
          

      --sitzverlegung <OBJECT>
          A move of seat or management (§ 137 AO): the day of each event raises its one-month Frist,
          and the Änderung der Adresse drafts the notice with the new Anschrift. Days left out keep those given before; the
          former Anschrift, seat, Finanzamt and Steuernummer are kept from the first call. [shape: {beschlossen_am?, geschaeftsleitung_verlegt_am?, neuer_sitz?, neues_finanzamt?, sitz_eingetragen_am?}]

      --steuernummer <STRING>
          

      --street <STRING>
          The Anschrift of the Mandant (§ 14 Abs. 4 Satz 1 Nr. 1 UStG).

      --unternehmernummer <STRING>
          Unternehmernummer of the Unfallversicherung.

      --ust-idnr <STRING>
          

      --wirtschafts-idnr <STRING>
          Wirtschafts-Identifikationsnummer; it begins with "DE" (§ 139c Abs. 1 AO).

      --zugegangen-am <STRING>
          The day the numbers given in this call arrived (the letter of the Finanzamt, the BZSt, the
          Berufsgenossenschaft or the Bundesagentur); kept per number.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma master_data.set_from

Set Besteuerungsart, Voranmeldungszeitraum, Kleinunternehmer status, Wirtschaftsjahr, Dauerfristverlängerung, Land of the Finanzamt or the registered name and short name for ELSTER (legal_name, short_name) from a date on; earlier values stay for earlier dates.

Usage: decuma master_data.set_from [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --berater-fuer-erklaerungen[=<BOOL>]
          Someone who advises the Mandant (§ 149 Abs. 3 AO) prepares the yearly returns from this
          year on: the later Abgabefrist applies (Steuern > Einstellungen).
          
          [possible values: true, false]

      --besteuerungsart <STRING>
          Besteuerung nach vereinbarten (soll) or vereinnahmten (ist) Entgelten, § 20 UStG
          (https://www.gesetze-im-internet.de/ustg_1980/__20.html, retrieved 2026-11-23). [values: ist, soll]

      --bundesfinanzamtsnummer <STRING>
          The Bundesfinanzamtsnummer (four digits) of the Finanzamt, for a Steuernummer whose Bescheid
          leaves the Finanzamt out.

      --business-kind <STRING>
          What the company does in a few words ("Art des Unternehmens"), at most 25 characters; a person states it.

      --dauerfristverlaengerung[=<BOOL>]
          Dauerfristverlängerung (§ 46 UStDV): only `false` (no change) is accepted here; its Antrag sets
          it (dauerfristverlaengerung.get, then dauerfristverlaengerung.release, or .record_external).
          
          [possible values: true, false]

      --erwerbsschwelle <OBJECT>
          A Kleinunternehmer's answers before the first innergemeinschaftlicher Erwerb of the year
          (§ 1a Abs. 3 to 5 UStG), valid from 1 January of that year; a use of the USt-IdNr. or a
          Verzicht binds until a revocation, which takes effect at the earliest on 1 January of the
          second year after it (§ 1a Abs. 4 Satz 3 UStG). [shape: {above_threshold, new_vehicle_or_excise_goods, ust_idnr_used_or_waiver, waiver_revoked?}]

      --exempt-turnover[=<BOOL>]
          Whether there are tax-free turnovers without the deduction of Vorsteuer (§ 15 Abs. 2 Satz 1
          Nr. 1 UStG).
          
          [possible values: true, false]

      --fehlbetrag-festgestellt[=<BOOL>]
          A vortragsfähiger Fehlbetrag (§ 10a GewStG) was festgestellt at the end of the year before,
          valid from 1 January of the year it decides (§ 25 Abs. 1 Nr. 6 GewStDV).
          
          [possible values: true, false]

      --finanzamt-land <STRING>
          The Land of the Finanzamt; its public holidays move a Frist (§ 108 Abs. 3 AO). [values: BW, BY, BE, BB, HB, HH, HE, MV, NI, NW, RP, SL, SN, ST, SH, TH]

      --gesamtumsatz-vorjahr <STRING>
          The Gesamtumsatz (§ 19 Abs. 2 UStG) of the previous calendar year in Euro, with `gueltig_ab`
          1 January of the year it decides: the transition of § 27 Abs. 38 Nr. 2 UStG for e-invoices
          and the Kleinunternehmer limit of the previous year (instead of the sum of the books).

      --gewerbeertrag <STRING>
          The Gewerbeertrag of the year in Euro (§ 7 GewStG), valid from 1 January of that year: decides
          the Gewerbesteuererklärung of a natürliche Person, a Personengesellschaft or a Verein.

      --gewinnermittlung <STRING>
          How the profit is determined: by a balance sheet or by an Einnahmenüberschussrechnung. A
          juristische Person always keeps books. [values: bilanz, einnahmenueberschuss]

      --gwg-als-abgang[=<BOOL>]
          Whether a GWG written off at once also shows as an Abgang in the Anlagenspiegel of its year
          (the one of § 284 Abs. 3 HGB and the one of the E-Bilanz alike). Without a value: no; the book
          value and the result are the same either way.
          
          [possible values: true, false]

      --kleinunternehmer[=<BOOL>]
          [possible values: true, false]

      --kleinunternehmer-verzicht[=<BOOL>]
          The Verzicht on the Kleinunternehmer status (§ 19 Abs. 3 UStG): from 1 January of its first
          year or from the start of the activity, binding five calendar years; sets
          `kleinunternehmer: false` from that day.
          
          [possible values: true, false]

      --legal-name <STRING>
          The registered name the Mandant files with directly to ELSTER (Firma as registered), from
          this date on; the first one also for every earlier period; without one the display name; an
          empty one takes it back. Invoices keep their own name.

      --requested-returns <ARRAY>
          The yearly returns of the year the Finanzamt asked for (§ 149 Abs. 1 Satz 2 AO, § 25 Abs. 1
          Nr. 7 GewStDV), valid from 1 January of that year: listed by frist.list as due whatever the
          limits say. One of REQUESTABLE_RETURNS each; an empty list takes the request back. [shape: [string]]

      --short-name <STRING>
          The name for ELSTER fields too short for the registered name, at most 45 characters; the
          first one also for every earlier period; an empty one takes it back.

      --steuer-vorjahr <STRING>
          The Umsatzsteuer of the previous calendar year in Euro (converted to a full year when the
          activity began in it), valid from 1 January of the year it decides the period of
          (§ 18 Abs. 2 UStG).

      --steuerbeguenstigt[=<BOOL>]
          A Verein: it pursues steuerbegünstigte Zwecke (§ 5 Abs. 1 Nr. 9 KStG, § 3 Nr. 6 GewStG).
          
          [possible values: true, false]

      --taetigkeit-beginn[=<BOOL>]
          The business began on `gueltig_ab`: its year is the year of foundation (Abschnitt 19.1
          Abs. 3 UStAE).
          
          [possible values: true, false]

      --unternehmer[=<BOOL>]
          A Verein: it is Unternehmer (§ 2 UStG) and files the Umsatzsteuererklärung.
          
          [possible values: true, false]

      --valid-from <STRING>
          (required)

      --voranmeldungszeitraum <STRING>
          Kalendermonat or Kalendervierteljahr, or befreit by the Finanzamt, § 18 Abs. 2 UStG
          (https://www.gesetze-im-internet.de/ustg_1980/__18.html, retrieved 2026-11-23). Stored only;
          no rule is computed from it here. [values: monat, quartal, befreit]

      --wirtschaftlicher-geschaeftsbetrieb-receipts <STRING>
          A Verein: the receipts including Umsatzsteuer of its wirtschaftliche Geschäftsbetriebe in the
          year (§ 64 Abs. 3 AO), in Euro, valid from 1 January of that year.

      --wirtschaftsjahr-beginn-monat <INTEGER>
          First month of the Wirtschaftsjahr, 1 to 12.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma master_data.valid

The values of Besteuerungsart, Voranmeldungszeitraum, Kleinunternehmer status, Wirtschaftsjahr, Dauerfristverlängerung, Land of the Finanzamt, legal_name and short_name valid on a date.

Usage: decuma master_data.valid [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --date <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

migration

decuma migration.accept_difference

Accept the difference of one Konto between the old program's balance and the balance after the import, with a typed reason (kept in the Command-Log).

Usage: decuma migration.accept_difference [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --konto <STRING>
          (required)

      --umstieg-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma migration.add_beleg

Only when moving from a previous program (an Umstieg): add a document exported by that program (PDF, PNG, JPEG or XML) to the Umstieg, or a Belegpaket (a ZIP file with one document.xml at its top, as programs export for DATEV). Each is stored unchanged with its hash and, when applying, becomes a Beleg of the imported Buchungen it belongs to: a document of a Belegpaket by the GUID in their Beleglink; a single file by its Belegfeld 1 (given, or the file name without extension) when that names one invoice with its payments or one Buchung only. Any other document goes to the Eingang with a Rückfrage; it is never linked to another Buchung. Another ZIP file is refused: unpack it and add its files one by one. To upload a new Beleg or invoice, use file.store and beleg.deliver.

Usage: decuma migration.add_beleg [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --belegfeld1 <STRING>
          The Belegfeld 1 (invoice or document number) of the imported Buchungen it belongs to.

      --content <STRING>
          (required) The document (PDF, PNG, JPEG or XML), base64. Not written to the Command-Log. [file: @PATH]

      --name <STRING>
          (required) The file name; without belegfeld1, the name without its extension is the Belegfeld 1.

      --umstieg-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma migration.add_contacts

Add the contacts of the previous program to an Umstieg: a CSV file of Kunden or Lieferanten (role), read like business_partner.import, or a DATEV-Format Debitoren/Kreditoren file (Kunden and Lieferanten by the Personenkonto; role answers only the question of a file whose Sachkontenlänge does not say it). The file is stored unchanged with its hash; a row with an error refuses the file. Applying creates the new partners; a row matching a partner already there leaves it unchanged. A partner number equal to an imported Personenkonto gives that Konto its name.

Usage: decuma migration.add_contacts [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --assignment <OBJECT>
          Column name to field or nicht_uebernehmen; absent: proposed from the column names.

      --content <STRING>
          (required) The contacts list of the previous program as CSV (columns as business_partner.import reads
          them) or a DATEV-Format Debitoren/Kreditoren file, base64. Not written to the Command-Log. [file: @PATH]

      --customer-kind <STRING>
          For Kunden: the kundenart of every row without a value of its own.

      --name <STRING>
          (required) The file name, for the messages.

      --role <STRING>
          kunde or lieferant: required for a CSV file; for a DATEV-Format file only the answer for
          Personenkonten whose role the file does not settle.

      --umstieg-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma migration.add_file

Add a DATEV-Format Buchungsstapel to an Umstieg. The file is stored unchanged with its hash; a file the reader does not understand is refused as a whole (file, line, field). The same file again returns the first result.

Usage: decuma migration.add_file [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --content <STRING>
          (required) The DATEV-Format file (Buchungsstapel), base64. Not written to the Command-Log. [file: @PATH]

      --name <STRING>
          (required) The file name, for the messages.

      --umstieg-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma migration.analysis

The analysis of an Umstieg, without posting: files, period, Buchungen, Konten, mapping questions, lines to correct, the balance check against the old program's list, the Voranmeldungszeiträume before the cut and the checklist; analyse_hash for migration.apply.

Usage: decuma migration.analysis [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --umstieg-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma migration.answer_filing

Say for a Voranmeldungszeitraum before the cut whether its Voranmeldung was filed with the old program (extern_abgegeben, with date, Transferticket and values; recorded and festgeschrieben when the Umstieg is applied) or not (nicht_abgegeben).

Usage: decuma migration.answer_filing [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --answer <STRING>
          (required) extern_abgegeben (then uebermittelt_am, transferticket and werte as transmitted) or
          nicht_abgegeben (the period stays open and is filed from Decuma).

      --meldung <STRING>
          (required) The Meldung of a Voranmeldungszeitraum before the cut, as the analysis names it.

      --transferticket <STRING>
          

      --transmitted-on <STRING>
          

      --umstieg-id <STRING>
          (required)

      --werte <OBJECT>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma migration.answer_row

Answer the question of one line of an Umstieg: which account bears the net amount, the tax of a gross amount that does not divide evenly, or the due date of an invoice.

Usage: decuma migration.answer_row [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --due-date <STRING>
          For an invoice whose Belegfeld 2 gives no due date: its due date.

      --file <STRING>
          (required) The file name and the line number as the analysis shows them.

      --nettokonto <STRING>
          For a line with a tax key and two Sachkonten: the one that bears the net amount.

      --steuer <STRING>
          For a gross amount that does not divide evenly: the tax of the line as the old program
          booked it.

      --umstieg-id <STRING>
          (required)

      --zeile <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma migration.apply

Apply an Umstieg in one step, bound to the hash of its analysis: own Konten, every Buchung (with the imported file as its Beleg) and the Meldungen filed before. Only a person of the Mandant gives it; refused while a question, a difference or a period is open, or when the analysis changed.

Usage: decuma migration.apply [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --analyse-hash <STRING>
          (required) The analyse_hash of migration.analysis that the person looked at.

      --umstieg-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma migration.assign

Answer a mapping question of an Umstieg: the own Steuerschlüssel of a BU-Schlüssel, or of an account with an automatic function in the old program (none: no tax). The answer is remembered for the next file of the Betrieb.

Usage: decuma migration.assign [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bu <STRING>
          A BU-Schlüssel of the files, or

      --konto <STRING>
          an account of the old program with an automatic function.

      --steuerschluessel <STRING>
          The own Steuerschlüssel; none: no tax (a key without tax meaning, an account without
          automatic function).

      --umstieg-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma migration.create

Start switching from another program: at the start of the Wirtschaftsjahr (opening balances only) or during the year (opening balances and every Buchung up to the end of a Voranmeldungszeitraum). Refused when the Betrieb has Buchungen before that day.

Usage: decuma migration.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --kind <OBJECT>
          (required)  [values: jahresbeginn, laufendes_jahr]

      --start <STRING>
          (required) The first day Decuma keeps the books: the start of the Wirtschaftsjahr, or the day after
          the end of a Voranmeldungszeitraum (the cut).

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma migration.list

The Umstiege of the Mandant, newest first.

Usage: decuma migration.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma migration.remove_file

Take a file (Buchungen or contacts, by its hash) out of an Umstieg that is not applied yet; the stored file itself stays.

Usage: decuma migration.remove_file [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --hash <STRING>
          (required) The SHA-256 of the file as the analysis shows it.

      --umstieg-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma migration.roll_back

Take back an applied Umstieg as a whole: a Storno of every Buchung it posted, as long as no Meldung of Decuma builds on them. A corrected file is then imported anew.

Usage: decuma migration.roll_back [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --umstieg-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma migration.set_balances

Give the balances of the old program: the Summen- und Saldenliste at the cut (stichtag), or the opening values at the start of the Wirtschaftsjahr (eroeffnung; Soll must equal Haben).

Usage: decuma migration.set_balances [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --kind <STRING>
          (required) stichtag: the Summen- und Saldenliste of the old program at the last day of its books, the
          comparison of the balance check; eroeffnung: the opening values at the start of the
          Wirtschaftsjahr when the files carry none (one Buchung against the Vortragskonto).

      --salden <ARRAY>
          (required)  [shape: [{konto, saldo}]]

      --umstieg-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma migration.set_checklist

Mark a row of the Umstieg checklist (what the export of the old program does not hold) as erledigt or spaeter.

Usage: decuma migration.set_checklist [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --punkt <STRING>
          (required)

      --state <STRING>
          (required) erledigt or spaeter.

      --umstieg-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma migration.set_konto

Name an account of the files that the Kontenrahmen does not know: it becomes an own Konto with this kind and label when the Umstieg is applied.

Usage: decuma migration.set_konto [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --kind <STRING>
          (required) aktiv, passiv, eigenkapital, ertrag, aufwand or steuer.

      --konto <STRING>
          (required) An account of the files that the Kontenrahmen does not know.

      --name <STRING>
          (required)

      --umstieg-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

notice

decuma notice.adopt

Takes over a Hinweis: writes its proposed Angabe with the origin hinweis.

Usage: decuma notice.adopt [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma notice.create_from_beleg

Has the installation's Hinweis provider (port HinweisQuelle) read one Beleg of the household and records the Hinweise it proposes, each with its effect in euro computed by the engine. Without a provider it is refused; rule-computed Hinweise need none.

Usage: decuma notice.create_from_beleg [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --beleg-id <STRING>
          (required)

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma notice.dismiss

Sets a Hinweis aside ("Nicht relevant"), or takes that back.

Usage: decuma notice.dismiss [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --back[=<BOOL>]
          true: take "Nicht relevant" back.
          
          [possible values: true, false]

      --code <STRING>
          

      --id <STRING>
          A stored Hinweis, or `code` for a rule Hinweis.

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma notice.record

Records a Hinweis of the user's own agent with a proposed Angabe; its effect in euro is computed by the engine (result with the proposal minus without).

Usage: decuma notice.record [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --norm <STRING>
          (required)

      --proposal <OBJECT>
          (required)  [shape: {bezug?, kind, werte: object}]

      --title <STRING>
          (required)

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

notification

decuma notification.check_fristen

Emit the reminder Events of the Fristen that are near and of the periods that ended (the job of the installation).

Usage: decuma notification.check_fristen [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma notification.count

The number of your unread notifications in this Mandant (the count on the bell).

Usage: decuma notification.count [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma notification.fristen_due

How many reminder Events of the Fristen are due (the job of the installation).

Usage: decuma notification.fristen_due [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma notification.list

Your notifications in this Mandant (the notification centre behind the bell).

Usage: decuma notification.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bis <STRING>
          Up to this day (inclusive).

      --filter <OBJECT>
          Categorical filters: column -> the values to keep.

      --format <STRING>
          csv: every filtered row, in `csv`; xlsx and pdf: the same rows as a file, in `datei`. [values: json, csv, xlsx, pdf]

      --page <INTEGER>
          The page, from 1.

      --per-page <INTEGER>
          Rows per page, 1 to 500 (default 50).

      --sorting <STRING>
          A sortable column, ascending, or with a leading `-` descending.

      --text <STRING>
          Rows whose text columns contain this, ignoring case.

      --von <STRING>
          From this day on (inclusive), over the list's date column.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma notification.mark_read

Mark your notifications read (the given ones, or all).

Usage: decuma notification.mark_read [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --ids <ARRAY>
          None: all. [shape: [string]]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma notification.set_settings

Change your notification preferences.

Usage: decuma notification.set_settings [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --anlaesse <ARRAY>
          [shape: [{email, occasion, push}]]

      --frist-vorlauf-tage <INTEGER>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma notification.settings

Your notification preferences per occasion and channel, and the lead time of Fristen.

Usage: decuma notification.settings [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

oauth

decuma oauth.consent

Connect an app to this Mandant over OAuth with the chosen Freigabeklassen; it acts as an API-Schlüssel of yours.

Usage: decuma oauth.consent [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --anfrage <OBJECT>
          (required) The parameters of an authorization request, as the client sent them to /oauth/authorize. [shape: {client_id, code_challenge?, code_challenge_method?, redirect_uri, resource?, response_type?, scope?, state?}]

      --approval-classes <ARRAY>
          (required) What the app may do on its own on this Mandant; reading is always included. [shape: [ledger_write | filing | money | external_communication | bulk_correction | submission | administration]]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma oauth.request

Check an app's request to connect over OAuth and say who asks for what (the consent screen).

Usage: decuma oauth.request [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --client-id <STRING>
          (required)

      --code-challenge <STRING>
          

      --code-challenge-method <STRING>
          

      --redirect-uri <STRING>
          (required)

      --resource <STRING>
          

      --response-type <STRING>
          

      --scope <STRING>
          

      --state <STRING>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

obligation

decuma obligation.calendar

The further duties of a year (Rundfunkbeitrag, Lohnnachweis, Künstlersozialabgabe, One-Stop-Shop, Intrastat, IHK-Beitrag; Feststellung and Offenlegung linked to their page; for a self-employed person the Hinweise on Rentenversicherung, Künstlersozialkasse and Statusfeststellung) with their days, whether the answers of the Mandant call for each, and what is set aside with its reason.

Usage: decuma obligation.calendar [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma obligation.restore

Takes a duty set aside up again.

Usage: decuma obligation.restore [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --pflicht <STRING>
          (required)

      --year <INTEGER>
          The year of the calendar, as for `obligation.set_aside`.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma obligation.set_aside

Sets a duty of the calendar aside ("betrifft mich nicht") with a required reason; it stays visible and can be taken up again.

Usage: decuma obligation.set_aside [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --pflicht <STRING>
          (required) `id` of the entry.

      --reason <STRING>
          (required)

      --year <INTEGER>
          The year of the calendar; Feststellung and Offenlegung are set aside for its year before
          only. Default the current year.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma obligation.set_inputs

Answers the questions behind the calendar of further duties (Betriebsstätte, insured employees, fees to artists, sales and trade in goods with other member states; for a self-employed person the groups of § 2 SGB VI, the start, the artistic activity); each answer can be changed.

Usage: decuma obligation.set_inputs [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --artistic-activity-since <STRING>
          The day the artistic or publicist activity was first taken up.

      --asks-about-employment-status[=<BOOL>]
          The person asks whether she is self-employed or employed (Scheinselbständigkeit): the
          Statusfeststellung is listed also without Nr. 9.
          
          [possible values: true, false]

      --betriebsstaette[=<BOOL>]
          [possible values: true, false]

      --eingaenge-eu <STRING>
          The statistical value of goods received from other member states in `jahr`, as above.

      --employs-insured-staff[=<BOOL>]
          Regularly employs an insured employee in connection with the activity (trainees count,
          geringfügig Beschäftigte do not; § 2 Satz 2 SGB VI).
          
          [possible values: true, false]

      --erloese-nichtunternehmer-eu <STRING>
          Distance sales and services under § 3a Abs. 5 Satz 2 UStG to non-business customers in other
          member states, net, in `jahr`. Given, it replaces the value from the books for that year.

      --expected-artistic-income <STRING>
          The expected Arbeitseinkommen in `year` from the artistic or publicist activity.

      --first-fiscal-year-start <STRING>
          The day the first Geschäftsjahr of the company began: duties of Geschäftsjahre ending before
          it are not listed.

      --insured-through-ksk[=<BOOL>]
          Currently insured through the Künstlersozialkasse (§ 3 Abs. 3 KSVG).
          
          [possible values: true, false]

      --kuenstler-entgelte-vorjahr <STRING>
          

      --kuenstlersozialabgabe-grundlage <STRING>
          Which rule of § 24 KSVG applies: abs1 (publisher, agency, advertising for others; no limit) or
          abs2 (own advertising or use; only above the limit). [values: abs1, abs2]

      --pension-groups <ARRAY>
          A self-employed natürliche Person: the groups of § 2 Satz 1 SGB VI that describe her
          activity as she sees it; empty: none of them. Decuma never decides the group. [shape: [teaching | care | midwife | artist_or_publicist | handwerk | one_client]]

      --self-employed-since <STRING>
          The day the self-employed activity was taken up.

      --versendungen-eu <STRING>
          The statistical value of goods sent to other member states in `jahr`, sales or not; the
          larger of it and the books counts.

      --versicherte-beschaeftigte-vorjahr[=<BOOL>]
          [possible values: true, false]

      --year <INTEGER>
          The calendar year the three amounts below concern; default the current year.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

open_item

decuma open_item.get

One Offener Posten with its Buchung, Belege and payments.

Usage: decuma open_item.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --open-item-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma open_item.list

The Offene Posten (Forderungen and Verbindlichkeiten from the Journal) as of a day (bis, default today) with remainder, age class and payments; sums and age classes over the filtered rows.

Usage: decuma open_item.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bis <STRING>
          Up to this day (inclusive).

      --filter <OBJECT>
          Categorical filters: column -> the values to keep.

      --format <STRING>
          csv: every filtered row, in `csv`; xlsx and pdf: the same rows as a file, in `datei`. [values: json, csv, xlsx, pdf]

      --page <INTEGER>
          The page, from 1.

      --per-page <INTEGER>
          Rows per page, 1 to 500 (default 50).

      --sorting <STRING>
          A sortable column, ascending, or with a leading `-` descending.

      --text <STRING>
          Rows whose text columns contain this, ignoring case.

      --von <STRING>
          From this day on (inclusive), over the list's date column.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma open_item.write_off_remainder

Waive the remainder of an Offener Posten for good (Begründung required): a change of the base (§ 17 Abs. 1 UStG) split by the rates of the Rechnung and declared in the period of the day named; own Forderung on Erlösschmälerungen, a supplier's waiver (confirmed) on Nachlässe. Not for an uncollectable Forderung (receivable.write_off).

Usage: decuma open_item.write_off_remainder [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --business-reason[=<BOOL>]
          Whether the waiver has a business reason (a rebate, goodwill, a dispute). Asked when the
          profit is determined by an Einnahmenüberschussrechnung and the rest is above the small
          difference of the Abgleich; a waiver for private reasons is not booked.
          
          [possible values: true, false]

      --date <STRING>
          (required) The day of the waiver: it decides the Voranmeldungszeitraum of the change of the base.

      --lieferant-verzichtet[=<BOOL>]
          Verbindlichkeit: the person confirms that the supplier waived the rest.
          
          [possible values: true, false]

      --open-item-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

opening_balance_sheet

decuma opening_balance_sheet.export_ebilanz

The data file of the E-Bilanz of the Eröffnungsbilanz (XBRL, taxonomy 6.9, Bilanzart Eröffnungsbilanz: Bilanz and Kontennachweis, no GuV) for a program with the official interface; with elster the ELSTER data set around it (needs the installation's Hersteller-ID). Its Meldung with the Freigabe: opening_ebilanz.get. Refused for an opening Buchung with Erfolgskonten or fixed assets, without a Steuernummer (transmit after receiving it), a taxonomy version that does not fit the first Wirtschaftsjahr, before the day after the Eröffnungsbilanz, or with incomplete master data.

Usage: decuma opening_balance_sheet.export_ebilanz [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb; default the only one.

      --elster[=<BOOL>]
          true: the ELSTER data set (the instance in its envelope, Verfahren ElsterBilanz) for a
          transmission through the ELSTER interface with the installation's own Hersteller-ID; default
          the XBRL instance alone.
          
          [possible values: true, false]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma opening_balance_sheet.get

The Eröffnungsbilanz of the Betrieb as a statement: the Bilanz of the opening Buchung on its day in the layout of the kleine (klein) or Kleinstkapitalgesellschaft (kleinst), with format pdf as a file to download.

Usage: decuma opening_balance_sheet.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb; default the only one.

      --form <OBJECT>
          The layout: klein (§ 266 Abs. 1 Satz 3 HGB) or kleinst (Satz 4); default klein. [values: gross, klein, kleinst]

      --format <STRING>
          csv, xlsx or pdf adds the file of the statement as `datei`. [values: json, csv, xlsx, pdf]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

opening_ebilanz

decuma opening_ebilanz.get

The E-Bilanz of the Eröffnungsbilanz as a Meldung of the year of its day: the positions of the official taxonomy with their values, the Kontennachweis with the labels that reach the Finanzamt, the Stichtag, the state and the hash to release. nicht_erzeugt while the file cannot be made yet (no Steuernummer: transmit after receiving it; master data; the day itself); a case the file is not made for (fixed assets, Erfolgskonten) as nicht_unterstuetzt with its next step. The file: opening_balance_sheet.export_ebilanz.

Usage: decuma opening_ebilanz.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung, one per Betrieb); default the main one.

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma opening_ebilanz.record_external

Records a yearly return filed outside the product (extern abgegeben): day, Transferticket and, for a year without rule data, the values as filed. Locks that version as transmitted; nothing is recomputed for such a year.

Usage: decuma opening_ebilanz.record_external [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung); default the main one.

      --transferticket <STRING>
          (required)

      --transmitted-on <STRING>
          (required)

      --werte <OBJECT>
          The values as filed, by line of the scheme (a year without rule data); default
          the values computed now.

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma opening_ebilanz.release

Gives the Freigabe for exactly the yearly return the person saw (its hash): a human of the Mandant with the second factor; never an API-Schlüssel, a Regel or the Agent. Refused while the Jahresabschluss it rests on is not aufgestellt, while a required Angabe is missing (names the line and its question), while a flag is not confirmed as seen (markierungen_gesehen), and for a case this version does not support.

Usage: decuma opening_ebilanz.release [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb (Einnahmenüberschussrechnung); default the main one.

      --checked[=<BOOL>]
          (required) "Ich habe die Werte geprüft".
          
          [possible values: true, false]

      --hash <STRING>
          (required) `stand_hash` of the Meldung the person saw.

      --markierungen-gesehen[=<BOOL>]
          The person saw every flag with its triggers.
          
          [possible values: true, false]

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

organkreis

decuma organkreis.answer

Answers the question "Gehört das Unternehmen zu einem Organkreis?" (ja with the day it belongs from, ab, and optionally the last day, bis; or nein). For the Voranmeldungszeiträume inside the Organkreis there is no Freigabe here: an Organgesellschaft files no Voranmeldung, the Organträger files for the whole Organkreis (§ 2 Abs. 2 Nr. 2 UStG) outside this product; a period that straddles ab or bis is filed by hand. Run by a person only: it is a finding of fact and law about the whole company.

Usage: decuma organkreis.answer [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --ab <STRING>
          ja: the first day the business belongs to the Organkreis (required).

      --answer <STRING>
          (required) ja or nein.

      --bis <STRING>
          ja: the last day, when it has left or will leave the Organkreis.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

ownership

decuma ownership.transfer

Transfer the ownership of the Mandant to a team member with an accepted Zugriff, at once. You stay as a team member with Verwalten, without the Freigabe. Needs the second factor; only the Inhaber.

Usage: decuma ownership.transfer [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --access-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

payable

decuma payable.write_off

The debtor's decision (Begründung required) that an own Verbindlichkeit will not be paid: the Vorsteuer of its remainder is corrected in the period of the day named (Kennzahl 66 reduced, Kennzahl 37); the debt stays open, a later payment deducts the Vorsteuer of its share again.

Usage: decuma payable.write_off [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --date <STRING>
          (required) The day of the decision: the Vorsteuer is corrected in its period.

      --open-item-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

payment

decuma payment.record

Record a payment by hand on one or several Offene Posten (date, amount, way: bank, bar, privat_ausgelegt, payment_provider): posts the payment Buchung and reduces the remainders. No bank file needed; a payment the bank statement already shows is linked from its Bankumsatz instead (bank_transaction.assign), and a warning names an open Bankumsatz of the same amount.

Usage: decuma payment.record [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bank-account-id <STRING>
          

      --date <STRING>
          (required) The day the money moved (for a receipt the day of the credit; weg payment_provider: the day
          the customer's payment arrived at the provider by its report).

      --difference <OBJECT>
          `skonto`: the one Posten's remainder less `betrag` is the Skonto its Beleg's terms allow,
          paid within their period; the Posten is settled and the Skonto booked with its tax. [values: rest_offen, bankgebuehr, kursdifferenz, skonto]

      --gesellschafter-id <STRING>
          Personengesellschaft, privat_ausgelegt: the Gesellschafter and the answer to "Wird der Betrag
          erstattet?" (false: Einlage; true is refused).

      --payment-provider-id <STRING>
          With weg payment_provider.

      --posten <ARRAY>
          (required)  [shape: [{amount?, open_item_id}]]

      --refunded[=<BOOL>]
          [possible values: true, false]

      --text <STRING>
          

      --weg <OBJECT>
          (required)  [values: bank, bar, privat_ausgelegt, payment_provider]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

payment_provider

decuma payment_provider.confirm_payments

State that every customer payment through a provider from one day to another is recorded, by the provider's report of the period (payments per day, not only payouts). Under Istversteuerung each Voranmeldung of a Mandant with a payment provider asks for it; with it a payout not assigned yet no longer holds the period. Run by a person only.

Usage: decuma payment_provider.confirm_payments [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --complete[=<BOOL>]
          false takes an earlier statement about these days back; default true.
          
          [possible values: true, false]

      --first-day <STRING>
          (required) The first and the last day of the period (a Voranmeldungszeitraum or several).

      --last-day <STRING>
          (required)

      --payment-provider-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma payment_provider.create

Create a payment provider (Zahlungsdienstleister) whose payouts reach a Bankkonto: name, seat (inland, eu, drittland) and optionally what the contract says (contract: collects, buys_claim, platform_is_customer), by a person only: a program leaves it out.

Usage: decuma payment_provider.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --contract <OBJECT>
          [values: collects, buys_claim, platform_is_customer]

      --name <STRING>
          (required)

      --seat <OBJECT>
          (required) Where the provider is seated. [values: inland, drittland, eu]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma payment_provider.list

The payment providers of the Mandant with seat, what the contract says, and the payouts to review, by name.

Usage: decuma payment_provider.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma payment_provider.set_contract

Answer what the contract with a payment provider says; it decides the day a payment through it is received (Istversteuerung, and payments before the supply). collects (the usual case): the day the customer's payment arrived at the provider by its report, for a direct debit or transfer the arrival, not the order. buys_claim: the day is asked per payout. platform_is_customer: its payment to you. Can be changed; every answer is kept. Nothing is recomputed: the result names the payouts to review and the transmitted Voranmeldungen they concern. Run by a person only: it assesses a contract.

Usage: decuma payment_provider.set_contract [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --contract <OBJECT>
          (required) What the contract with a payment provider says. [values: collects, buys_claim, platform_is_customer]

      --payment-provider-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma payment_provider.set_facts

State facts about a payment provider that bound the day of a payment: never_before_supply (customers never pay through it before the supply: under Sollversteuerung nothing is asked, except a payout credited before its supply or one that may pay a supply under Istversteuerung), connected_since, buyer_bears_risk (buys_claim: the customer's payment to the buyer counts), ist_supplies_recorded (after Istversteuerung: every supply of that time is recorded; until then a payout not linked holds). clear takes facts back. Can be changed; every statement is kept, and the result names the payouts to review. Run by a person only.

Usage: decuma payment_provider.set_facts [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --buyer-bears-risk[=<BOOL>]
          buys_claim: the contract says that the buyer bears the risk of default.
          
          [possible values: true, false]

      --clear <ARRAY>
          Facts given by mistake, taken back. [shape: [connected_since | buyer_bears_risk | ist_supplies_recorded]]

      --connected-since <STRING>
          The first day of the connection: no customer paid through it before.

      --ist-supplies-recorded[=<BOOL>]
          true, after the change to Sollversteuerung: every supply performed under Istversteuerung is recorded.
          
          [possible values: true, false]

      --never-before-supply[=<BOOL>]
          true: customers never pay through it before the supply. false takes that back.
          
          [possible values: true, false]

      --payment-provider-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

payroll

decuma payroll.calendar

The payroll calendar of a year: per month the check of the ELStAM changes, the Beitragsnachweis per Einzugsstelle with the due day of the contributions, the Lohnsteuer-Anmeldung with its payment, and the reports to the Sozialversicherung with their Fristen, each with its state. The same entries appear in frist.list.

Usage: decuma payroll.calendar [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma payroll.checklist

The guided steps before the first report to the Sozialversicherung (Unfallversicherung, Betriebsnummer, registration in the SV-Meldeportal, Statusfeststellung of a Geschäftsführer, direct debit mandate): who does each, where, what the product prepared, and its recorded state.

Usage: decuma payroll.checklist [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma payroll.confirm_kirchensteuer_rate

Confirm the Kirchensteuer rate of a year for the Land of the Betriebsstätte while the rule data only propose it (the rate of the year before, before the Kirchensteuerbeschlüsse are published), or enter another rate; the months of that year compute the Kirchensteuer with it.

Usage: decuma payroll.confirm_kirchensteuer_rate [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --satz <STRING>
          (required) Percent of the Lohnsteuer: the proposed rate, or the rate of your payroll.

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma payroll.payment_file

The SEPA credit transfer file (pain.001.001.09) of the open items of one group of a payroll month, from a Bankkonto of the Mandant, for upload at the bank: net wages to each person, the Lohnsteuer to the Finanzamt, or the contributions to each Einzugsstelle without a direct debit mandate (purpose "<Betriebsnummer> <Monat Jahr>", changeable per item). An Einzugsstelle without account is left out and listed with amount, due day and purpose. The product initiates no payment.

Usage: decuma payroll.payment_file [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --ausfuehrung <STRING>
          (required) The requested execution day.

      --bank-account-id <STRING>
          

      --betrieb-id <STRING>
          

      --group <STRING>
          (required)  [values: nettolohn, lohnsteuer, beitraege]

      --month <STRING>
          (required) YYYY-MM

      --verwendungszwecke <OBJECT>
          Another purpose per item (`schluessel` of payroll.payments) instead of the proposed one.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma payroll.payments

What the settled payroll month owes: the net wage per person, the Lohnsteuer with Solidaritätszuschlag and Kirchensteuer to the Finanzamt, the contributions and Umlagen per Einzugsstelle; each with amount, due day, the rule behind the day and whether it is recorded as paid.

Usage: decuma payroll.payments [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --month <STRING>
          (required) YYYY-MM

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma payroll.record_checklist_step

Record the state of a step of the payroll checklist (done or open again) with the number it yielded; the number lands in the payroll settings (Unternehmensnummer of the Unfallversicherung, Betriebsnummer, mandate of the Minijob-Zentrale) from today.

Usage: decuma payroll.record_checklist_step [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --done[=<BOOL>]
          (required)
          
          [possible values: true, false]

      --step <STRING>
          (required)

      --value <STRING>
          The number the step yielded (Unternehmensnummer, Betriebsnummer) or, for the mandate,
          `minijob_zentrale`; it lands in the payroll settings.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma payroll.record_payment

Record that an item of a payroll month was paid, with the day of the payment or the Bankumsatz that paid it (same amount, outgoing; also the debit of a mandate): posts the payment Buchung (liability against the Bankkonto) with the Lohnjournal as Beleg and links the Bankumsatz. A payment dated before the run is valid. Warns zahlung_nach_faelligkeit after the due day.

Usage: decuma payroll.record_payment [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bank-account-id <STRING>
          

      --bank-transaction-id <STRING>
          The Bankumsatz that pays the item (a transfer or the debit of a mandate): the payment is
          posted on its booking day from its Bankkonto and linked to it, like an Offener Posten.

      --betrieb-id <STRING>
          

      --date <STRING>
          The day of the payment (value date); never assumed. Without it, `bankumsatz_id` gives it.

      --month <STRING>
          (required) YYYY-MM

      --posten <STRING>
          (required) The `schluessel` of the item (payroll.payments).

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma payroll.roll_back_payment

Take back a payment recorded with payroll.record_payment: Storno of its Buchung; the item is open again.

Usage: decuma payroll.roll_back_payment [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --lohn-zahlung-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma payroll.set_settings

Payroll settings of a Betrieb valid from a day: Land of the Betriebsstätte, participation in the Umlage U1, Anmeldungszeitraum, Betriebsstätte for the Lohnsteuer, Betriebsnummer, Sofortmeldung branch, Unternehmensnummer of the Unfallversicherung, procedure of the Beitragsschätzung.

Usage: decuma payroll.set_settings [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --settings <OBJECT>
          (required)  [shape: {anmeldungszeitraum?: monat | vierteljahr | jahr, betriebsnummer?, contribution_estimate?: expected_amount | previous_month, finanzamt_iban?, land, lohnsteuer_finanzamt?, lohnsteuer_steuernummer?, minijob_lastschriftmandat?, sofortmeldung_branch?, u1_pflichtig, uv_hoechstjahresarbeitsverdienst?, uv_unternehmensnummer?}]

      --valid-from <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma payroll.settings

The payroll settings of a Betrieb with their valid-from days and the Mandant's Finanzamt and Steuernummer as the preset of the one lohnsteuerliche Betriebsstätte.

Usage: decuma payroll.settings [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma payroll.unsupported_cases

The payroll cases the product does not settle yet (each is refused where it occurs) and the Kennzahlen of the Lohnsteuer-Anmeldung that stay empty. Settle these outside the product.

Usage: decuma payroll.unsupported_cases [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

payroll_document

decuma payroll_document.list

Every document the payroll runs of a calendar year stored (Entgeltbescheinigungen, Lohnkonten), newest run first, those of a corrected run marked as replaced; download at GET /v1/files/{hash}.

Usage: decuma payroll_document.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

payroll_run

decuma payroll_run.correct

Reverse the run of a month: Storno of its Buchungen, its Abrechnungen marked as replaced; nothing is deleted, payments stay, the next run is an ordinary one.

Usage: decuma payroll_run.correct [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --month <STRING>
          (required) YYYY-MM

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma payroll_run.finalize

Settle a month in one transaction: store every Abrechnung with its inputs and rule data, post the Buchungen on the day of the Lohnzahlung with the Lohnjournal as Eigenbeleg. One run per Betrieb and month; a mistake is answered by payroll_run.correct.

Usage: decuma payroll_run.finalize [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --lohnzahlung <STRING>
          (required) The day of the Lohnzahlung, inside the month it settles; never assumed.

      --month <STRING>
          (required) YYYY-MM

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma payroll_run.get

The runs of a month as stored, the replaced ones included.

Usage: decuma payroll_run.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --month <STRING>
          (required) YYYY-MM

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma payroll_run.preview

The payroll month for every Arbeitnehmer employed in it, gross to net with every step, the Beitragsnachweise, the Kennzahlen of the Lohnsteuer-Anmeldung and the Buchungen it would post; refused with what stands in the way.

Usage: decuma payroll_run.preview [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --month <STRING>
          (required) YYYY-MM

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

person

decuma person.create

Add the second Person to a natürliche Person (Zusammenveranlagung).

Usage: decuma person.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --first-name <STRING>
          (required)

      --last-name <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma person.set_idnr

Record the steuerliche Identifikationsnummer of a Person (§ 139b AO; eleven digits with the check digit of the official procedure, a refused number is not stored) with the day it holds from and its source. It never changes; replacing a stored number is a correction and needs a Begründung. It is used for the Person's own returns and never printed on a Rechnung.

Usage: decuma person.set_idnr [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --idnr <STRING>
          (required) The steuerliche Identifikationsnummer (§ 139b AO), eleven digits.

      --person-id <STRING>
          (required)

      --source <STRING>
          The letter, Bescheid, ELSTER-Postfach or Bekanntmachung it came with.

      --valid-from <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

private

decuma private.remove_master_record

Removes a master record (for example a Kind) and the Angaben of every year that belong to it.

Usage: decuma private.remove_master_record [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma private.set_master_record

Creates or replaces a master record of the Privatsphäre that lives across years: the tax data of a Person, the marriage, a Kind, a Mietobjekt, a Rente (with the steuerfreier Teil fixed once), the Einkunftsart of a Betrieb.

Usage: decuma private.set_master_record [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bezug <STRING>
          The Person (person, rente) or the Betrieb (betrieb) it belongs to.

      --id <STRING>
          The record to replace; absent: a new one.

      --kind <STRING>
          (required) person, ehe, kind, mietobjekt, rente, betrieb.

      --werte <OBJECT>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

product

decuma product.archive

Archive a Produkt: no longer offered in the editor.

Usage: decuma product.archive [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --product-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma product.create

Create a Produkt or Leistung: name, unit, net price, the revenue Kategorie (Konto and Steuerschlüssel) and its rate.

Usage: decuma product.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --category <STRING>
          

      --description <STRING>
          

      --kind <STRING>
          [values: leistung, lieferung]

      --name <STRING>
          

      --net-price <STRING>
          

      --product-id <STRING>
          Only for product.update.

      --steuersatz <STRING>
          

      --unit <STRING>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma product.list

Produkte and Leistungen with search, filters, sorting and CSV.

Usage: decuma product.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bis <STRING>
          Up to this day (inclusive).

      --filter <OBJECT>
          Categorical filters: column -> the values to keep.

      --format <STRING>
          csv: every filtered row, in `csv`; xlsx and pdf: the same rows as a file, in `datei`. [values: json, csv, xlsx, pdf]

      --page <INTEGER>
          The page, from 1.

      --per-page <INTEGER>
          Rows per page, 1 to 500 (default 50).

      --sorting <STRING>
          A sortable column, ascending, or with a leading `-` descending.

      --text <STRING>
          Rows whose text columns contain this, ignoring case.

      --von <STRING>
          From this day on (inclusive), over the list's date column.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma product.update

Change a Produkt (produkt_id and the fields sent); applies to Entwürfe created afterwards, never to an issued Rechnung.

Usage: decuma product.update [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --category <STRING>
          

      --description <STRING>
          

      --kind <STRING>
          [values: leistung, lieferung]

      --name <STRING>
          

      --net-price <STRING>
          

      --product-id <STRING>
          Only for product.update.

      --steuersatz <STRING>
          

      --unit <STRING>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

pruefvermerk

decuma pruefvermerk.list

The Prüfvermerke of a Meldung, newest first: who, Beruf (self-declared), scope, comment, and whether it covers the current values.

Usage: decuma pruefvermerk.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --meldung <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma pruefvermerk.record

Record a Prüfvermerk on a Meldung as its Berater: scope (whole Meldung, sales only, input VAT only) and a comment, bound to the hash of the current Meldungsstand. Voluntary; the Freigabe never waits for it. Works with the Berater's own API-Schlüssel.

Usage: decuma pruefvermerk.record [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --comment <STRING>
          

      --hash <STRING>
          (required) The `stand_hash` of the Meldung as reviewed (filing.get); refused when the values changed.

      --meldung <STRING>
          (required) The Meldung, as in its screen (`ustva-2026-03`).

      --umfang <OBJECT>
          (required)  [values: ganz, umsatz, vorsteuer]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

push

decuma push.key

The VAPID public key the browser subscribes with.

Usage: decuma push.key [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma push.subscribe

Register this browser's push subscription for your notifications.

Usage: decuma push.subscribe [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --auth <STRING>
          (required)

      --endpoint <STRING>
          (required)

      --p256dh <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma push.unsubscribe

Remove a push subscription.

Usage: decuma push.unsubscribe [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --push-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

question

decuma question.answer

Answer a question (Rückfrage) of a case with one of its answer codes, such as whether a second file is the same Beleg (a duplicate); an answer that completes the proposal books it at once. An answer by a program to the question who changed an amount by hand, or whether a line is an asset (asset_or_consumption), is saved and logged; only a person releases that hold. question_id and the answer codes: inbox.list rows (`question`) or case.get (`questions`); a case_id is no question_id. A question about a Bankumsatz is answered with bank_transaction.clarify.

Usage: decuma question.answer [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --answer <STRING>
          (required) One of the Rückfrage's answer codes.

      --inputs <ARRAY>
          The inputs of the chosen answer, one per `choices[].inputs[].field`, when it takes any. [shape: [{field, value}]]

      --question-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma question.groups

The open questions one answer fits (same kind, issuer, facts and answers): count, total and the questions of each group, for command.batch with question.answer. A question that needs a look at its Beleg is in no group.

Usage: decuma question.groups [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma question.withdraw

Withdraw an open question; the case returns to the state before it.

Usage: decuma question.withdraw [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --question-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

quote

decuma quote.convert_to_invoice

Turn an accepted Angebot into the Entwurf of a Rechnung that names it (one position with its net amount; the treatment derived as for any position).

Usage: decuma quote.convert_to_invoice [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --quote-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma quote.create

Record an Angebot: Kunde, date, net amount, tax rate, valid until, number, optionally its document. Not part of the books.

Usage: decuma quote.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --customer-id <STRING>
          

      --date <STRING>
          

      --name <STRING>
          

      --netto <STRING>
          

      --number <STRING>
          

      --pages <ARRAY>
          Files stored through POST /v1/files. [shape: [string]]

      --quote-id <STRING>
          Only for quote.update.

      --steuersatz <STRING>
          

      --valid-until <STRING>
          

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma quote.get

One Angebot with its state and the Rechnung made from it.

Usage: decuma quote.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --quote-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma quote.list

Angebote with search, filter by state, sorting and CSV.

Usage: decuma quote.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bis <STRING>
          Up to this day (inclusive).

      --filter <OBJECT>
          Categorical filters: column -> the values to keep.

      --format <STRING>
          csv: every filtered row, in `csv`; xlsx and pdf: the same rows as a file, in `datei`. [values: json, csv, xlsx, pdf]

      --page <INTEGER>
          The page, from 1.

      --per-page <INTEGER>
          Rows per page, 1 to 500 (default 50).

      --sorting <STRING>
          A sortable column, ascending, or with a leading `-` descending.

      --text <STRING>
          Rows whose text columns contain this, ignoring case.

      --von <STRING>
          From this day on (inclusive), over the list's date column.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma quote.set_status

Set an Angebot offen, angenommen or abgelehnt.

Usage: decuma quote.set_status [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --quote-id <STRING>
          (required)

      --state <STRING>
          (required)  [values: offen, angenommen, abgelehnt]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma quote.update

Change an Angebot (angebot_id and the fields sent).

Usage: decuma quote.update [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --customer-id <STRING>
          

      --date <STRING>
          

      --name <STRING>
          

      --netto <STRING>
          

      --number <STRING>
          

      --pages <ARRAY>
          Files stored through POST /v1/files. [shape: [string]]

      --quote-id <STRING>
          Only for quote.update.

      --steuersatz <STRING>
          

      --valid-until <STRING>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

receivable

decuma receivable.write_off

Write off the remainder of a Forderung that is uncollectable (Begründung required): Forderungsverluste and the correction of the Umsatzsteuer on the day named (§ 17 Abs. 2 Nr. 1 UStG); an Einzelwertberichtigung of an earlier year is used first and its excess released. A later payment posts the reversal.

Usage: decuma receivable.write_off [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --befugnis <OBJECT>
          With `vorlaeufiger_verwalter`: the powers the court order names. [values: keine, stark, zustimmungsvorbehalt, forderungseinzug, kassenfuehrung]

      --date <STRING>
          (required)

      --open-item-id <STRING>
          (required)

      --reason <OBJECT>
          (required) Why the remainder is written off. [values: insolvenz, vorlaeufiger_verwalter, abweisung_mangels_masse, uneinbringlich]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

recurring_expense

decuma recurring_expense.assign_beleg

The Beleg of the month for an expected expense: completed already (by its payment), it becomes a further Beleg of that Buchung, never a second one; otherwise it books the rate against Verbindlichkeiten, which the payment later settles.

Usage: decuma recurring_expense.assign_beleg [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --beleg-id <STRING>
          (required) The Beleg of the month (an invoice of the Lieferant for this rate).

      --lauf-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma recurring_expense.clarify_deviation

Answer the question fixkosten_betrag_weicht_ab (a payment to the Lieferant with another amount than the contract): nachtrag records the Nachtrag (new amount from the rate it names, a further Beleg of the contract) and links the payment; einmalig books the paid amount once (Vorsteuer at most the contract's tax and at most the statutory tax) and links it; gehoert_nicht_dazu leaves payment and rate open.

Usage: decuma recurring_expense.clarify_deviation [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --answer <STRING>
          (required) nachtrag (with `nachtrag`), einmalig, gehoert_nicht_dazu.

      --nachtrag <OBJECT>
          [shape: {ab?, beleg_id, belegdatum, brutto?, netto?, steuer?, steuersatz?}]

      --question-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma recurring_expense.confirm_received

Confirm that the Teilleistung of an unpaid rate was received (at the end of the Voranmeldungszeitraum): books it against Verbindlichkeiten with the contract as Beleg. Only for a contract that names the period of every rate; otherwise the payment document or the Beleg of the month completes the invoice.

Usage: decuma recurring_expense.confirm_received [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --lauf-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma recurring_expense.create

Create a recurring expense from a contract: Lieferant, Kategorie, amount (netto, steuer and steuersatz only as the contract shows them), interval (monat, quartal, jahr), first date, end or none, the contract as the Beleg of the whole series with its statements (angaben, the fields of an Eingangsrechnung), and the answer whether it names the period of each rate. A missing statement the Vorsteuer needs raises the question fixkosten_angabe_fehlt. The run never books; a payment or the Beleg of the month completes each rate.

Usage: decuma recurring_expense.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --angaben <OBJECT>
          What else the contract states, with the fields of an Eingangsrechnung. [shape: {empfaenger?, issuer_postal_address?, issuer_steuernummer?, leistung?, rechnungsnummer?, recipient_postal_address?}]

      --betrieb-id <STRING>
          

      --brutto <STRING>
          (required)

      --category <STRING>
          (required) An expense Kategorie (category.list): its Konto and Steuerschlüssel.

      --end <STRING>
          The last day of the contract; none for an open-ended one.

      --erster-termin <STRING>
          (required)

      --intervall <STRING>
          (required)  [values: monat, quartal, jahr]

      --netto <STRING>
          Entgelt and tax amount, only as the contract shows them separately (§ 14 Abs. 4 Satz 1
          Nr. 7 und 8 UStG). Without them no Vorsteuer is taken.

      --steuer <STRING>
          

      --steuersatz <STRING>
          The tax rate the contract shows, in percent (§ 14 Abs. 4 Satz 1 Nr. 8 UStG).

      --supplier-id <STRING>
          (required) The Geschäftspartner with the role lieferant.

      --vertrag-beleg-id <STRING>
          (required) The contract, the Beleg of the whole series.

      --vertragsdatum <STRING>
          (required)

      --zeitraum-je-rate[=<BOOL>]
          "Nennt der Vertrag für jede Rate den Monat oder Zeitraum, für den sie gilt?" Yes for a
          schedule of the rates or "für den jeweiligen Kalendermonat"; no when it names only amount and
          due day. Unanswered, the Vorsteuer of an unpaid rate waits.
          
          [possible values: true, false]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma recurring_expense.end

End a recurring expense on the last day of the contract: no rate after it is expected; a later payment to the Lieferant is no rate and is presented.

Usage: decuma recurring_expense.end [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --end <STRING>
          (required) The last day of the contract.

      --recurring-expense-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma recurring_expense.execute

One run of a recurring expense on a due date, started by the instance clock only: records the expected expense and books nothing; a Bankumsatz of the Lieferant with the amount that is the only candidate completes it.

Usage: decuma recurring_expense.execute [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --recurring-expense-id <STRING>
          (required)

      --termin <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma recurring_expense.get

One recurring expense with its state, the amount of the next rate, the next three dates and the expected expenses so far.

Usage: decuma recurring_expense.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --recurring-expense-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma recurring_expense.list

The recurring expenses (Fixkosten) with their next date and amount.

Usage: decuma recurring_expense.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bis <STRING>
          Up to this day (inclusive).

      --filter <OBJECT>
          Categorical filters: column -> the values to keep.

      --format <STRING>
          csv: every filtered row, in `csv`; xlsx and pdf: the same rows as a file, in `datei`. [values: json, csv, xlsx, pdf]

      --page <INTEGER>
          The page, from 1.

      --per-page <INTEGER>
          Rows per page, 1 to 500 (default 50).

      --sorting <STRING>
          A sortable column, ascending, or with a leading `-` descending.

      --text <STRING>
          Rows whose text columns contain this, ignoring case.

      --von <STRING>
          From this day on (inclusive), over the list's date column.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma recurring_expense.supplement_inputs

Supplement the statements of a contract with a further document (§ 31 Abs. 1 UStDV): its statements are added, the document becomes a further Beleg of the contract, and the question fixkosten_angabe_fehlt is settled when nothing is missing any more.

Usage: decuma recurring_expense.supplement_inputs [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --angaben <OBJECT>
          (required) The statements it supplies; the others stay. [shape: {empfaenger?, issuer_postal_address?, issuer_steuernummer?, leistung?, rechnungsnummer?, recipient_postal_address?}]

      --beleg-id <STRING>
          (required) The document that supplies the statements (a letter with the Steuernummer, a Nachtrag).

      --recurring-expense-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma recurring_expense.update

Change the amount of a recurring expense from the next rate on (or from the rate `ab` a Nachtrag names, if it is not completed yet); earlier rates stay. With the Nachtrag as beleg_id its Entgelt, rate and tax carry the Vorsteuer, and a payment waiting with that amount can be linked. Also takes the answer zeitraum_je_rate.

Usage: decuma recurring_expense.update [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --ab <STRING>
          The first rate the change applies to; default the next rate not run yet. A rate already
          completed never changes.

      --beleg-id <STRING>
          The Nachtrag or Dauerrechnung that states the new amount, and its date; default the
          contract. A Nachtrag becomes a further Beleg of the contract.

      --belegdatum <STRING>
          

      --brutto <STRING>
          The new amount of a rate; absent when only the answer `zeitraum_je_rate` is given.

      --netto <STRING>
          

      --recurring-expense-id <STRING>
          (required)

      --steuer <STRING>
          

      --steuersatz <STRING>
          

      --zeitraum-je-rate[=<BOOL>]
          The answer whether the contract names the period of each rate.
          
          [possible values: true, false]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

recurring_invoice

decuma recurring_invoice.create

Create a series of Rechnungen: Kunde, positions, interval (monat, quartal, jahr), first run, last day or none; optionally issued and sent by the series where the Freigaberichtlinie allows it.

Usage: decuma recurring_invoice.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --ausstellen[=<BOOL>]
          [possible values: true, false]

      --betrieb-id <STRING>
          

      --customer-id <STRING>
          

      --erster-lauf <STRING>
          

      --intervall <STRING>
          [values: monat, quartal, jahr]

      --last-day <STRING>
          

      --line-items <ARRAY>
          [shape: [{category?, name?, net_price?, performed_in?: inland | eu | drittland, product_id?, quantity?, service_kind?: catalog | on_site | streamed | property | electronic | other, steuersatz?, unit?}]]

      --recurring-invoice-id <STRING>
          Only for recurring_invoice.update.

      --senden[=<BOOL>]
          [possible values: true, false]

      --text <STRING>
          

      --zahlungsziel-tage <INTEGER>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma recurring_invoice.execute

One run of a series on a due date, started by the instance clock only: the Entwurf with the values of the day, or the question serie_unvollstaendig when it cannot be made.

Usage: decuma recurring_invoice.execute [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --date <STRING>
          (required)

      --recurring-invoice-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma recurring_invoice.get

One series with its state, the next run with its amount, the next three dates and the runs so far.

Usage: decuma recurring_invoice.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --recurring-invoice-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma recurring_invoice.list

The series of recurring Rechnungen.

Usage: decuma recurring_invoice.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bis <STRING>
          Up to this day (inclusive).

      --filter <OBJECT>
          Categorical filters: column -> the values to keep.

      --format <STRING>
          csv: every filtered row, in `csv`; xlsx and pdf: the same rows as a file, in `datei`. [values: json, csv, xlsx, pdf]

      --page <INTEGER>
          The page, from 1.

      --per-page <INTEGER>
          Rows per page, 1 to 500 (default 50).

      --sorting <STRING>
          A sortable column, ascending, or with a leading `-` descending.

      --text <STRING>
          Rows whose text columns contain this, ignoring case.

      --von <STRING>
          From this day on (inclusive), over the list's date column.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma recurring_invoice.pause

Pause a series: it creates nothing until it is resumed.

Usage: decuma recurring_invoice.pause [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --recurring-invoice-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma recurring_invoice.resume

Resume a paused series; the runs missed while paused are not caught up.

Usage: decuma recurring_invoice.resume [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --recurring-invoice-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma recurring_invoice.update

Change a series (serie_id and the fields sent); applies from the next run.

Usage: decuma recurring_invoice.update [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --ausstellen[=<BOOL>]
          [possible values: true, false]

      --betrieb-id <STRING>
          

      --customer-id <STRING>
          

      --erster-lauf <STRING>
          

      --intervall <STRING>
          [values: monat, quartal, jahr]

      --last-day <STRING>
          

      --line-items <ARRAY>
          [shape: [{category?, name?, net_price?, performed_in?: inland | eu | drittland, product_id?, quantity?, service_kind?: catalog | on_site | streamed | property | electronic | other, steuersatz?, unit?}]]

      --recurring-invoice-id <STRING>
          Only for recurring_invoice.update.

      --senden[=<BOOL>]
          [possible values: true, false]

      --text <STRING>
          

      --zahlungsziel-tage <INTEGER>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

reference_rate

decuma reference_rate.list

The exchange rates per day a Bankkonto in another currency converts with: the ECB's reference rates the installation fetched and the rates a person recorded, newest first.

Usage: decuma reference_rate.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --currency <STRING>
          

      --since <STRING>
          The first day listed; default 31 days before today.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma reference_rate.record

Record the exchange rate of a currency for a day from a document (the ECB's publication, the bank's notice): a Bankkonto in that currency converts its lines of that day with it, and of the following days until a newer rate; the conversion at the Stichtag reads it.

Usage: decuma reference_rate.record [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --currency <STRING>
          (required) ISO 4217, not EUR.

      --day <STRING>
          (required) The day the rate is for.

      --evidence <STRING>
          (required) What documents it: the ECB's publication of the day, the bank's notice.

      --rate <STRING>
          (required) Units of the currency per euro, as the document states it.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

release

decuma release.request

Ask the Inhaber to give the Freigabe of a Meldung; notifies the Inhaber once and changes nothing else.

Usage: decuma release.request [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --meldung <STRING>
          (required) The Meldung, as in its Freigabe screen (`#/steuern/<meldung>/freigabe`).

      --note <STRING>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

report

decuma report.balance_sheet

Bilanz on a Stichtag (bis) as a tree in the layout of § 266 HGB, positions open to their Konten, with the comparison Stichtag and the check Aktiva = Passiva.

Usage: decuma report.balance_sheet [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --bis <STRING>
          Also the Stichtag of balance-sheet figures.

      --cost-center-id <STRING>
          

      --form <OBJECT>
          [values: gross, klein, kleinst]

      --format <STRING>
          [values: json, csv, xlsx, pdf]

      --ohne-abschlussbuchungen[=<BOOL>]
          The books before the Abschlussbuchungen of the year-end (and their Stornos).
          
          [possible values: true, false]

      --ohne-vergleich[=<BOOL>]
          [possible values: true, false]

      --vergleich-bis <STRING>
          

      --vergleich-von <STRING>
          The comparison (both or neither); default the same range one year earlier.

      --von <STRING>
          Default: the Voranmeldungszeitraum that contains today (else the running Wirtschaftsjahr).

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma report.bwa

The short-term result statement (BWA) of a period, cumulated from the start of the Wirtschaftsjahr, with the comparison: rows of the product's own scheme (rule data), each open to its Konten.

Usage: decuma report.bwa [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --bis <STRING>
          Also the Stichtag of balance-sheet figures.

      --cost-center-id <STRING>
          

      --form <OBJECT>
          [values: gross, klein, kleinst]

      --format <STRING>
          [values: json, csv, xlsx, pdf]

      --ohne-abschlussbuchungen[=<BOOL>]
          The books before the Abschlussbuchungen of the year-end (and their Stornos).
          
          [possible values: true, false]

      --ohne-vergleich[=<BOOL>]
          [possible values: true, false]

      --vergleich-bis <STRING>
          

      --vergleich-von <STRING>
          The comparison (both or neither); default the same range one year earlier.

      --von <STRING>
          Default: the Voranmeldungszeitraum that contains today (else the running Wirtschaftsjahr).

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma report.cost_centers

Revenue and cost of a period per Kostenstelle (the lines without Kostenstelle last), each open to its Konten.

Usage: decuma report.cost_centers [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --bis <STRING>
          Also the Stichtag of balance-sheet figures.

      --cost-center-id <STRING>
          

      --form <OBJECT>
          [values: gross, klein, kleinst]

      --format <STRING>
          [values: json, csv, xlsx, pdf]

      --ohne-abschlussbuchungen[=<BOOL>]
          The books before the Abschlussbuchungen of the year-end (and their Stornos).
          
          [possible values: true, false]

      --ohne-vergleich[=<BOOL>]
          [possible values: true, false]

      --vergleich-bis <STRING>
          

      --vergleich-von <STRING>
          The comparison (both or neither); default the same range one year earlier.

      --von <STRING>
          Default: the Voranmeldungszeitraum that contains today (else the running Wirtschaftsjahr).

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma report.liquidity

Liquidität: the balance of Bankkonten and Kasse today and eight weeks ahead from Offene Posten, the tax due from Meldungen and the unpaid payroll items (net wages, contributions, Lohnsteuer), with the day of the last bank data.

Usage: decuma report.liquidity [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --bis <STRING>
          Also the Stichtag of balance-sheet figures.

      --cost-center-id <STRING>
          

      --form <OBJECT>
          [values: gross, klein, kleinst]

      --format <STRING>
          [values: json, csv, xlsx, pdf]

      --ohne-abschlussbuchungen[=<BOOL>]
          The books before the Abschlussbuchungen of the year-end (and their Stornos).
          
          [possible values: true, false]

      --ohne-vergleich[=<BOOL>]
          [possible values: true, false]

      --vergleich-bis <STRING>
          

      --vergleich-von <STRING>
          The comparison (both or neither); default the same range one year earlier.

      --von <STRING>
          Default: the Voranmeldungszeitraum that contains today (else the running Wirtschaftsjahr).

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma report.overview

Übersicht of a period: revenue, result, liquidity and open receivables with the change against the comparison, revenue and cost per month, the largest Konten, Offene Posten by age and the Umsatzsteuer per Voranmeldungszeitraum.

Usage: decuma report.overview [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --bis <STRING>
          Also the Stichtag of balance-sheet figures.

      --cost-center-id <STRING>
          

      --form <OBJECT>
          [values: gross, klein, kleinst]

      --format <STRING>
          [values: json, csv, xlsx, pdf]

      --ohne-abschlussbuchungen[=<BOOL>]
          The books before the Abschlussbuchungen of the year-end (and their Stornos).
          
          [possible values: true, false]

      --ohne-vergleich[=<BOOL>]
          [possible values: true, false]

      --vergleich-bis <STRING>
          

      --vergleich-von <STRING>
          The comparison (both or neither); default the same range one year earlier.

      --von <STRING>
          Default: the Voranmeldungszeitraum that contains today (else the running Wirtschaftsjahr).

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma report.profit_and_loss

Gewinn- und Verlustrechnung of a period as a tree in the layout of § 275 Abs. 2 HGB (or § 276, § 275 Abs. 5), positions open to their Konten, with the comparison.

Usage: decuma report.profit_and_loss [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --bis <STRING>
          Also the Stichtag of balance-sheet figures.

      --cost-center-id <STRING>
          

      --form <OBJECT>
          [values: gross, klein, kleinst]

      --format <STRING>
          [values: json, csv, xlsx, pdf]

      --ohne-abschlussbuchungen[=<BOOL>]
          The books before the Abschlussbuchungen of the year-end (and their Stornos).
          
          [possible values: true, false]

      --ohne-vergleich[=<BOOL>]
          [possible values: true, false]

      --vergleich-bis <STRING>
          

      --vergleich-von <STRING>
          The comparison (both or neither); default the same range one year earlier.

      --von <STRING>
          Default: the Voranmeldungszeitraum that contains today (else the running Wirtschaftsjahr).

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma report.trial_balance

Summen- und Saldenliste: opening value, Soll, Haben and balance per Konto of a period, with sums.

Usage: decuma report.trial_balance [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --bis <STRING>
          Also the Stichtag of balance-sheet figures.

      --cost-center-id <STRING>
          

      --form <OBJECT>
          [values: gross, klein, kleinst]

      --format <STRING>
          [values: json, csv, xlsx, pdf]

      --ohne-abschlussbuchungen[=<BOOL>]
          The books before the Abschlussbuchungen of the year-end (and their Stornos).
          
          [possible values: true, false]

      --ohne-vergleich[=<BOOL>]
          [possible values: true, false]

      --vergleich-bis <STRING>
          

      --vergleich-von <STRING>
          The comparison (both or neither); default the same range one year earlier.

      --von <STRING>
          Default: the Voranmeldungszeitraum that contains today (else the running Wirtschaftsjahr).

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

rule

decuma rule.activate

Switch a Regel on; warns regel_ungetestet without a test run of its current definition.

Usage: decuma rule.activate [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --pruefsumme <STRING>
          The `pruefsumme` rule.test returned for the definition as it stands.

      --rule-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma rule.apply_again

Apply the Regel as it now stands to the cases one of its Rücknahmen returned that are still unbooked, as Actor Regel under the Freigaberichtlinie; the preview is rule.rollbacks. cases the condition no longer matches stay in the inbox.

Usage: decuma rule.apply_again [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --rollback-id <STRING>
          (required)

      --rule-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma rule.create

Create a Regel (trigger, condition, action); it is off until rule.activate.

Usage: decuma rule.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --rule <OBJECT>
          (required)  [shape: {action: {command, payload: object}, condition?: {all: [object]} | {eines: [object]} | {nicht: object} | {feld, op: gleich | ungleich | kleiner | kleiner_gleich | groesser | groesser_gleich | enthaelt | beginnt_mit | eines_von, wert: object}, kind: kontierungsregel | automatisierung | webhook_aktion, name, trigger}]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma rule.draft_from_case

The Kontierungsregel a booked case suggests ("Immer so behandeln"): condition Aussteller and an amount range, action the capture with its Kategorie. Send it to rule.create.

Usage: decuma rule.draft_from_case [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --case-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma rule.get

One Regel with its sentence, state and JSON definition.

Usage: decuma rule.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --rule-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma rule.history

Every Command a Regel issued (from the Command-Log, also those a person confirmed) or tried (attempts), newest first. A Buchung in it is corrected one at a time with buchung.correct or buchung.storno.

Usage: decuma rule.history [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --rule-id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma rule.list

The Regeln of the Mandant.

Usage: decuma rule.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bis <STRING>
          Up to this day (inclusive).

      --filter <OBJECT>
          Categorical filters: column -> the values to keep.

      --format <STRING>
          csv: every filtered row, in `csv`; xlsx and pdf: the same rows as a file, in `datei`. [values: json, csv, xlsx, pdf]

      --page <INTEGER>
          The page, from 1.

      --per-page <INTEGER>
          Rows per page, 1 to 500 (default 50).

      --sorting <STRING>
          A sortable column, ascending, or with a leading `-` descending.

      --text <STRING>
          Rows whose text columns contain this, ignoring case.

      --von <STRING>
          From this day on (inclusive), over the list's date column.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma rule.pause

Pause a Regel: it issues nothing until switched on again.

Usage: decuma rule.pause [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --rule-id <STRING>
          (required)

      --schleife[=<BOOL>]
          Set by the engine (the installation) when the Regel reached the loop limit.
          
          [possible values: true, false]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma rule.roll_back

Rücknahme: reverse everything a paused Regel booked, exactly as its preview (rule.rollback_preview) showed, in one transaction: a Storno per Buchung (a matched payment is released), the cases back in the inbox, open confirmations withdrawn, untouched Entwürfe discarded. Needs the preview hash and a Begründung. Cannot be undone; the corrected Regel is applied again with rule.apply_again.

Usage: decuma rule.roll_back [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --preview-hash <STRING>
          The `vorschau_hash` of rule.rollback_preview for exactly this selection.

      --rule-id <STRING>
          (required)

      --selection <OBJECT>
          [shape: {bis?, festgeschrieben?: [string], mit_folgeregeln?, teil?, versions?: [integer], von?}]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma rule.rollback_preview

The preview of a Rücknahme in the form of the test run: which Buchungen of the Regel would be reversed, which skipped and why, the Meldungen touched, what cannot be taken back, and the hash rule.roll_back carries. This is the dry run; it changes nothing.

Usage: decuma rule.rollback_preview [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --rule-id <STRING>
          (required)

      --seite <INTEGER>
          The page of `faelle` (1 is the first).

      --selection <OBJECT>
          [shape: {bis?, festgeschrieben?: [string], mit_folgeregeln?, teil?, versions?: [integer], von?}]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma rule.rollbacks

The Rücknahmen of a Regel, newest first: who, when, Begründung, counts, the skip list as it stands (it shrinks as items are settled) and the returned cases with whether the Regel as it now stands matches each (the preview of rule.apply_again).

Usage: decuma rule.rollbacks [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --rule-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma rule.stage_rollback

Record a Rücknahme the Freigaberichtlinie does not allow alone as a pending confirmation with its preview (the installation only).

Usage: decuma rule.stage_rollback [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --actor <OBJECT>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma rule.templates

The shipped Regeln, to create with rule.create; each off until switched on.

Usage: decuma rule.templates [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma rule.test

Test a Regel as it stands in the editor, saved or not, against the Events of the last 90 days: how often it would have applied and what it would have done. Changes nothing.

Usage: decuma rule.test [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --rule <OBJECT>
          (required)  [shape: {action: {command, payload: object}, condition?: {all: [object]} | {eines: [object]} | {nicht: object} | {feld, op: gleich | ungleich | kleiner | kleiner_gleich | groesser | groesser_gleich | enthaelt | beginnt_mit | eines_von, wert: object}, kind: kontierungsregel | automatisierung | webhook_aktion, name, trigger}]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma rule.update

Change a Regel; one paused by the loop limit may be switched on again afterwards.

Usage: decuma rule.update [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --rule <OBJECT>
          (required)  [shape: {action: {command, payload: object}, condition?: {all: [object]} | {eines: [object]} | {nicht: object} | {feld, op: gleich | ungleich | kleiner | kleiner_gleich | groesser | groesser_gleich | enthaelt | beginnt_mit | eines_von, wert: object}, kind: kontierungsregel | automatisierung | webhook_aktion, name, trigger}]

      --rule-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

rule_data

decuma rule_data.valid

The version of a rule set valid on a date, with its content and source.

Usage: decuma rule_data.valid [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --art <OBJECT>
          (required)  [values: kontenrahmen, steuerschluessel, kategorie, formulardefinition, frist, grenze, gliederung, bwa, einkommensteuer, lohn, zins, e_rechnung, ustid, kurs, storno, abschluss, verwaltung, datev]

      --datum <STRING>
          (required)

      --kennung <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma rule_data.versions

List the loaded Regelwerk versions with their source.

Usage: decuma rule_data.versions [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --art <OBJECT>
          [values: kontenrahmen, steuerschluessel, kategorie, formulardefinition, frist, grenze, gliederung, bwa, einkommensteuer, lohn, zins, e_rechnung, ustid, kurs, storno, abschluss, verwaltung, datev]

      --kennung <STRING>
          

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

schedule

decuma schedule.due

What the instance clock does for this Mandant today: the due runs of series and of recurring expenses, and the Rechnungen whose next Mahnung level falls due when automatic drafts are on.

Usage: decuma schedule.due [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

session

decuma session.end

End one of your sessions, for example on a lost device.

Usage: decuma session.end [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --session-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma session.end_all

Sign out everywhere: end every session of your Account, this one included.

Usage: decuma session.end_all [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma session.list

List the open sessions of your Account: filter, sort, page; no CSV export.

Usage: decuma session.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --bis <STRING>
          Up to this day (inclusive).

      --filter <OBJECT>
          Categorical filters: column -> the values to keep.

      --format <STRING>
          csv: every filtered row, in `csv`; xlsx and pdf: the same rows as a file, in `datei`. [values: json, csv, xlsx, pdf]

      --page <INTEGER>
          The page, from 1.

      --per-page <INTEGER>
          Rows per page, 1 to 500 (default 50).

      --sorting <STRING>
          A sortable column, ascending, or with a leading `-` descending.

      --text <STRING>
          Rows whose text columns contain this, ignoring case.

      --von <STRING>
          From this day on (inclusive), over the list's date column.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma session.sign_in

Sign in with e-mail, password and, if on, the second factor; returns a session token.

Usage: decuma session.sign_in [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --code <STRING>
          The six-digit code, if the second factor is on.

      --email <STRING>
          (required)

      --password <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma session.sign_out

Sign out: end the session this call comes with.

Usage: decuma session.sign_out [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

sonderbereich

decuma sonderbereich.cancel

Cancels an entry of the Sonderbereich (the entry stays in the history, marked as cancelled); record the corrected entry anew.

Usage: decuma sonderbereich.cancel [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma sonderbereich.list

The entries of the Sonderbereich of every Gesellschafter in a year (cancelled ones marked) and the saldo per Gesellschafter that enters the Feststellungserklärung.

Usage: decuma sonderbereich.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma sonderbereich.record

Records a Sonderbetriebseinnahme or Sonderbetriebsausgabe of one Gesellschafter of a Personengesellschaft (his Sonderbereich, kept apart from the Journal of the company): day, kind, positive amount, text and optionally the Beleg. It enters the Feststellungserklärung of its year (Anlage FE-G Zeile 106, FE-S Zeile 76). A Sondervergütung booked as expense of the company is not entered here: classify that payment in the Feststellungserklärung instead.

Usage: decuma sonderbereich.record [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --amount <STRING>
          (required)

      --beleg-id <STRING>
          The Beleg of the entry.

      --date <STRING>
          (required)

      --gesellschafter-id <STRING>
          (required)

      --kind <STRING>
          (required)  [values: sonderbetriebseinnahme, sonderbetriebsausgabe]

      --text <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

sondervorauszahlung

decuma sondervorauszahlung.record

Records the Sondervorauszahlung of a year (Kennzahl 38, full euros): the amount given, or without one, one eleventh of Kennzahl 83 plus Kennzahl 39 of the recorded Voranmeldungen of the previous year. The recorded amount is stored and deducted once, in Kennzahl 39 of December or of the last period with Dauerfristverlängerung. Refused for a quarterly filer.

Usage: decuma sondervorauszahlung.record [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --amount <STRING>
          Full euros as anmeldet (Kennzahl 38). Absent: computed, one eleventh of the recorded
          Voranmeldungen of the previous year (§ 47 Abs. 1 Satz 2 UStDV).

      --angemeldet-am <STRING>
          (required)

      --last-period <STRING>
          The last Meldung with Dauerfristverlängerung when it ended during the year (ustva-<jahr>-<mm>).

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

steuerschluessel

decuma steuerschluessel.valid

The Steuerschlüssel valid on a day: treatment, rate, Meldezeitraum rule, tax Konten and source.

Usage: decuma steuerschluessel.valid [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --date <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

submission

decuma submission.get

One Einreichung with its content, hash, state and next step.

Usage: decuma submission.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma submission.list

Every Einreichung of the Mandant, newest first, with its state.

Usage: decuma submission.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma submission.mark_as_submitted

Records the day an Einreichung was filed with its Transferticket or reference. Refused without a Freigabe of exactly the current content.

Usage: decuma submission.mark_as_submitted [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --am <STRING>
          (required) The day it was filed.

      --id <STRING>
          (required)

      --referenz <STRING>
          (required) The Transferticket, or for a portal without one the reference it returns.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma submission.prepare

Prepares an Einreichung to file by hand in an official portal (Antrag, Einspruch, Fragebogen, notification to a register): the data as a list, the text, the attachments. It is filed by the person after a Freigabe.

Usage: decuma submission.prepare [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bezug <OBJECT>
          

      --content <OBJECT>
          The prepared content: the data as a list, the text to copy, the attachments. [shape: {anlagen?: [string], felder?: [[object]], text?}]

      --formular <STRING>
          (required) The form of the portal (for example fristverlaengerung, vorauszahlung_anpassen,
          bankverbindung, adresse, sonstige_nachricht).

      --kind <STRING>
          (required) antrag, einspruch, fragebogen or registermitteilung.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma submission.record_answer

Records the answer of the authority to a filed Einreichung (bewilligt or abgelehnt) with its day and optionally the document.

Usage: decuma submission.record_answer [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --am <STRING>
          (required)

      --beleg-id <STRING>
          

      --gewaehrter-tag <STRING>
          For an Antrag auf Fristverlängerung: the day granted.

      --id <STRING>
          (required)

      --result <STRING>
          (required) bewilligt or abgelehnt.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma submission.release

Releases exactly the content of an Einreichung (its hash) for filing in the portal. Asks for an API-Schlüssel and the Agent unless the Mandant opened the row Einreichung of the Freigaberichtlinie; never a Regel. Not for a Meldung.

Usage: decuma submission.release [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --checked[=<BOOL>]
          (required) "Ich habe den Inhalt geprüft".
          
          [possible values: true, false]

      --hash <STRING>
          (required) `hash` of the content the person saw.

      --id <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma submission.update

Changes the content of an Einreichung not yet filed (a proposal through the API is a change a person reviews); a Freigabe of the earlier content lapses.

Usage: decuma submission.update [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --content <OBJECT>
          (required) The prepared content: the data as a list, the text to copy, the attachments. [shape: {anlagen?: [string], felder?: [[object]], text?}]

      --id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

sv_meldung

decuma sv_meldung.list

The reports to the Sozialversicherung of a calendar year, prepared for the person to type into the SV-Meldeportal: Beitragsnachweis per Einzugsstelle and settled month, Anmeldung, Abmeldung and Jahresmeldung per person, each with the portal form, its Frist, the values in the order of the statutory content (null: entered in the portal) and whether the person recorded it as sent. The product transmits nothing and fills no portal.

Usage: decuma sv_meldung.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma sv_meldung.record

Record that a person typed a prepared report into the SV-Meldeportal and sent it, with the day. Only a person: the portal may be filled by hand only, and no program or agent operates it.

Usage: decuma sv_meldung.record [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --am <STRING>
          (required) The day the person sent the report in the portal.

      --betrieb-id <STRING>
          

      --schluessel <STRING>
          (required)

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma sv_meldung.roll_back

Take back the record that a report was sent in the SV-Meldeportal; the report is open again.

Usage: decuma sv_meldung.roll_back [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --vermerk-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

tax

decuma tax.settings

The settings of Steuern: Voranmeldungszeitraum, Besteuerungsart, Finanzamt and Steuernummer, the Gewinnermittlung with its proposal, the way of transmission, the answer about the Organkreis, the Sondervorauszahlungen, and the transmitted Meldungen whose master data changed since.

Usage: decuma tax.settings [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

tax_office

decuma tax_office.list

The Finanzämter supported by ELSTER: Bundesfinanzamtsnummer and name in the exact wording, test Finanzämter marked; source and data date in the rule data verwaltung finanzaemter.

Usage: decuma tax_office.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

tax_payment

decuma tax_payment.confirm_no_bescheid

Confirms that no Vorauszahlungsbescheid exists for a Steuerart and year: the hint of frist.list (meldungsart vorauszahlungsbescheid) to record it ends for that year. A Bescheid recorded later sets its Vorauszahlungen as usual.

Usage: decuma tax_payment.confirm_no_bescheid [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --steuerart <STRING>
          (required)

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma tax_payment.outlook

What the Bescheide still bring: the Abschlusszahlungen to expect for the year before (its Steuerrückstellungen, beside the Bescheid once confirmed), and the projection of the running year's Körperschaftsteuer from the books against the fixed Vorauszahlungen, with the Hinweis to prepare an Anpassung above the threshold the Mandant gives. For a natürliche Person instead the estimate of Einkommensteuer, Solidaritätszuschlag, Kirchensteuer and Gewerbesteuer from the completed months of her Betriebe (or her forecast) and the statements of tax_payment.set_estimate_input, each step with its norm and each assumption named, with the Vorauszahlungen still due on their dates and the estimated final payment per creditor spread over the months to December. An estimate, not a Bescheid.

Usage: decuma tax_payment.outlook [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --schwelle <STRING>
          The difference between the projected Körperschaftsteuer and the fixed Vorauszahlungen above
          which the Hinweis "Anpassung vorbereiten" appears; set by the Mandant, no built-in value.

      --year <INTEGER>
          (required) The running year; the Abschlusszahlungen are those of the year before.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma tax_payment.plan

The payments of a year, one row each: Steuerart, kind, statutory and due day, recipient, amount, reference for the transfer and state. Computed on every read.

Usage: decuma tax_payment.plan [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma tax_payment.reconcile

Links an imported Bankumsatz to a row of the payment plan. A row recorded as paid keeps its Buchung and gains the Bankumsatz (nothing is booked again); an open row is recorded as paid with its payment Buchung for the Bankumsatz. A second link is refused.

Usage: decuma tax_payment.reconcile [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bank-transaction-id <STRING>
          (required)

      --konto <STRING>
          

      --paid-on <STRING>
          For a row not recorded as paid yet: the day of the credit at the Finanzamt.

      --schluessel <STRING>
          (required)

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma tax_payment.record

Records a row of the payment plan as paid on a day and posts its payment Buchung (the Konto of the tax at Bank, from the rule data) from a Bankkonto or for an imported Bankumsatz, which it links; a Buchung made by hand is linked instead, never booked twice. A row is settled once. A credit after the Schonfrist warns with the Säumniszuschlag to expect.

Usage: decuma tax_payment.record [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bank-account-id <STRING>
          The Bankkonto it was paid from: the payment Buchung "<Steuerkonto> an Bank" is posted.

      --bank-transaction-id <STRING>
          The imported Bankumsatz it was paid with: the Buchung is posted for it and linked.

      --beleg-id <STRING>
          The Beleg of the payment (statement, confirmation); without one an Eigenbeleg is written.

      --buchung-id <STRING>
          A Buchung of the payment made by hand: linked, never booked twice.

      --konto <STRING>
          The Konto of the tax instead of the rule data (a kind they do not name, SKR03, or an
          amount that differs from its Rückstellung); needs `begruendung`, never from a Regel.

      --paid-on <STRING>
          (required) The day the payment counts as made (the credit at the Finanzamt).

      --schluessel <STRING>
          (required) `schluessel` of the row.

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma tax_payment.set_estimate_input

Stores a statement the tax estimate of a natürliche Person reads besides the books, for one year: the own forecast or the Fragebogen estimate of the profit of a Betrieb, facts of a Gewerbebetrieb (financing costs, holdings, real estate), wages with the tax withheld, other income in the tariff, capital income with Abgeltungsteuer (kept, never counted), Vorsorge contributions, church membership, that no Vorauszahlungen were fixed. The newest statement per kind holds; value null takes it back.

Usage: decuma tax_payment.set_estimate_input [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --betrieb-id <STRING>
          The Betrieb of a forecast, questionnaire or business statement.

      --kind <OBJECT>
          (required) The kinds of statement (one current value per Person, year, kind and Betrieb). [values: forecast, questionnaire, business, wages, other_income, capital_income, vorsorge, church, prepayments]

      --person-id <STRING>
          The Person; default the only one of the Mandant.

      --value <OBJECT>
          The statement, shaped by `kind`; null takes it back.

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma tax_payment.set_recipient

Records the recipient of a Steuerart from a day: Finanzamt or Gemeinde, the holiday Land of the recipient, whether a SEPA-Lastschriftmandat exists. With a mandate the rows of the plan are collected on the due day and no Säumniszuschlag is computed. The mandate itself is given outside the portal, for the Gewerbesteuer separately to the Gemeinde.

Usage: decuma tax_payment.set_recipient [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --land <STRING>
          The Land of the Finanzamt; its holidays move a Frist. [values: BW, BY, BE, BB, HB, HH, HE, MV, NI, NW, RP, SL, SN, ST, SH, TH]

      --sepa-mandat[=<BOOL>]
          (required)
          
          [possible values: true, false]

      --stelle <STRING>
          (required) finanzamt or gemeinde.

      --steuerart <STRING>
          (required)

      --valid-from <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

tax_return

decuma tax_return.configure

Records the household's choices: the Veranlagungsart (changeable until the Freigabe), the Antrag on halving joint costs, and the answers to the cases outside the scope.

Usage: decuma tax_return.configure [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --aufteilung-35a-a <STRING>
          Under Einzelveranlagung of spouses: Person A's share (0 to 1) of the § 35a ceilings, when
          both notify another split than half each; null: half each.

      --ausserhalb <ARRAY>
          The cases outside the scope answered with yes (keys of `ausserhalb_fragen`). [shape: [string]]

      --haelftig[=<BOOL>]
          Übereinstimmender Antrag: joint costs half each under Einzelveranlagung (§ 26a Abs. 2 Satz 2 EStG).
          
          [possible values: true, false]

      --person-a <STRING>
          Correction of Person A of the form (a Person id); null: the rule of the form.

      --veranlagungsart <OBJECT>
          einzelveranlagung, zusammenveranlagung or einzelveranlagung_ehegatten; null: the statute's default. [values: zusammenveranlagung, einzelveranlagung, einzelveranlagung_ehegatten]

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma tax_return.create

Creates the Einkommensteuererklärung of the household for a Veranlagungsjahr (2025). Only a natürliche Person.

Usage: decuma tax_return.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma tax_return.effect

The effect of one section: the outcome with its Angaben minus the outcome without them (two full computations).

Usage: decuma tax_return.effect [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --abschnitt <STRING>
          (required)

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma tax_return.get

The Einkommensteuererklärung of the year: records, the estimate for both Veranlagungsarten in the order of R 2 EStR, the simple result, Hinweise, open points, Frist and the Meldungen.

Usage: decuma tax_return.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma tax_return.set_section

Marks a section of the interview as done, or reopens it.

Usage: decuma tax_return.set_section [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --abschnitt <STRING>
          (required)

      --done[=<BOOL>]
          (required)
          
          [possible values: true, false]

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

team

decuma team.list

The team of the Mandant: the Inhaber, every Zugriff and the open invitations, with rights and last activity.

Usage: decuma team.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bis <STRING>
          Up to this day (inclusive).

      --filter <OBJECT>
          Categorical filters: column -> the values to keep.

      --format <STRING>
          csv: every filtered row, in `csv`; xlsx and pdf: the same rows as a file, in `datei`. [values: json, csv, xlsx, pdf]

      --page <INTEGER>
          The page, from 1.

      --per-page <INTEGER>
          Rows per page, 1 to 500 (default 50).

      --sorting <STRING>
          A sortable column, ascending, or with a leading `-` descending.

      --text <STRING>
          Rows whose text columns contain this, ignoring case.

      --von <STRING>
          From this day on (inclusive), over the list's date column.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

umsatzsteuer

decuma umsatzsteuer.reclassify_not_due

Istversteuerung: moves the tax of every open Forderung that still stands on the Umsatzsteuer Konto (posted before Decuma used the Konten „Umsatzsteuer nicht fällig“) to „nicht fällig“ of its rate, dated the Rechnung or its last payment, without a Meldedatum; a later payment moves its share back with the day of the payment. Forderungen already on „nicht fällig“ are left alone, so it can run again.

Usage: decuma umsatzsteuer.reclassify_not_due [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

umsatzsteuererklaerung

decuma umsatzsteuererklaerung.get

The Umsatzsteuererklärung of a calendar year from the Buchungen of the year: every line of the form with the Buchungen behind it, the Vorauszahlungssoll from the Voranmeldungen as transmitted plus the Sondervorauszahlung, the final payment or refund, the Abstimmung against each transmitted Voranmeldung, the Zusammenfassenden Meldungen and the tax Konten (named, never balanced), the Frist, the state and the hash to release.

Usage: decuma umsatzsteuererklaerung.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma umsatzsteuererklaerung.mark_as_transmitted

Records the Transferticket of the Umsatzsteuererklärung typed into Mein ELSTER: the return is transmitted and locked; returns the final payment with its due date or the refund pending consent.

Usage: decuma umsatzsteuererklaerung.mark_as_transmitted [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --transferticket <STRING>
          (required)

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma umsatzsteuererklaerung.record_external

Records an Umsatzsteuererklärung filed outside the product (extern abgegeben): day, Transferticket and, for a year without rule data, the values as filed. Locks it as transmitted; nothing is recomputed for such a year.

Usage: decuma umsatzsteuererklaerung.record_external [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --transferticket <STRING>
          (required)

      --transmitted-on <STRING>
          (required)

      --werte <OBJECT>
          The values as filed, by field of the form (a year without rule data); default
          the values computed now.

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma umsatzsteuererklaerung.release

Gives the Freigabe for exactly the Umsatzsteuererklärung the person saw (its hash): a human of the Mandant with the second factor; never an API-Schlüssel, a Regel or the Agent. Refused while a Voranmeldung of the year is neither transmitted nor recorded as filed elsewhere, while the Zusammenfassenden Meldungen differ, and while a check of the form is open; a Voranmeldung that differs from the books needs abweichungen_bestaetigt.

Usage: decuma umsatzsteuererklaerung.release [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --abweichungen-bestaetigt[=<BOOL>]
          The person saw that Voranmeldungen differ from the books and releases the yearly values.
          
          [possible values: true, false]

      --checked[=<BOOL>]
          (required) "Ich habe die Werte geprüft".
          
          [possible values: true, false]

      --hash <STRING>
          (required) `stand_hash` of the return the person saw.

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma umsatzsteuererklaerung.transmit

Starts the Übermittlung of the released Umsatzsteuererklärung by hand in Mein ELSTER: returns the input sheet in the order of the form; it waits for the Transferticket.

Usage: decuma umsatzsteuererklaerung.transmit [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

ust_idnr

decuma ust_idnr.check

Ask the official confirmation of a foreign USt-IdNr. (§ 18e UStG) through its port; with geschaeftspartner_id the answer is stored on that record. Never refuses for the answer.

Usage: decuma ust_idnr.check [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --business-partner-id <STRING>
          

      --ust-idnr <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

verfahrensdokumentation

decuma verfahrensdokumentation.export

The Verfahrensdokumentation of the Mandant as an OpenDocument text: what the software vouches for, each statement with the test that proves it and the version, and the operator's part as a template.

Usage: decuma verfahrensdokumentation.export [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

voranmeldungszeitraum

decuma voranmeldungszeitraum.check

Check the stated Voranmeldungszeitraum of this year and the next against § 18 Abs. 2 UStG; where they disagree, raise one question. The stated period stays.

Usage: decuma voranmeldungszeitraum.check [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma voranmeldungszeitraum.proposal

The Voranmeldungszeitraum the law gives for a year (§ 18 Abs. 2 UStG), from the start of the activity and the tax; for a person who does not know what the Finanzamt set. Never an exemption.

Usage: decuma voranmeldungszeitraum.proposal [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --steuer <STRING>
          (required) The expected tax of `jahr` when the activity began in it, else the tax of the previous
          year (converted to a full year when the activity began in it), in Euro.

      --taetigkeit-beginn <STRING>
          The day the activity began, if known.

      --year <INTEGER>
          The year the period is for; default this year.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

webhook

decuma webhook.activate

Switch a paused webhook on again.

Usage: decuma webhook.activate [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --webhook-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma webhook.create

Subscribe a URL to event types; every delivery is signed with the secret shown once.

Usage: decuma webhook.create [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --description <STRING>
          

      --events <ARRAY>
          (required)  [shape: [string]]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma webhook.delete

Remove a webhook; its deliveries stay recorded.

Usage: decuma webhook.delete [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --webhook-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma webhook.deliveries

The deliveries of the webhooks: event type, time, status, HTTP code, duration, tries.

Usage: decuma webhook.deliveries [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bis <STRING>
          Up to this day (inclusive).

      --filter <OBJECT>
          Categorical filters: column -> the values to keep.

      --format <STRING>
          csv: every filtered row, in `csv`; xlsx and pdf: the same rows as a file, in `datei`. [values: json, csv, xlsx, pdf]

      --page <INTEGER>
          The page, from 1.

      --per-page <INTEGER>
          Rows per page, 1 to 500 (default 50).

      --sorting <STRING>
          A sortable column, ascending, or with a leading `-` descending.

      --text <STRING>
          Rows whose text columns contain this, ignoring case.

      --von <STRING>
          From this day on (inclusive), over the list's date column.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma webhook.list

The webhooks of the Mandant (without secrets).

Usage: decuma webhook.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma webhook.pause

Pause a webhook: nothing is delivered to it until it is switched on.

Usage: decuma webhook.pause [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --error[=<BOOL>]
          Set by the delivery (the installation) after repeated failures.
          
          [possible values: true, false]

      --webhook-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma webhook.rotate_secret

Replace the signing secret of a webhook; the new one is shown once.

Usage: decuma webhook.rotate_secret [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --webhook-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma webhook.send

Send data to one webhook (the action of a Webhook-Aktion); delivered and signed like an Event of type webhook.message.

Usage: decuma webhook.send [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --data <OBJECT>
          (required) The body's `daten`.

      --webhook-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma webhook.update

Change the URL, the event types or the description of a webhook.

Usage: decuma webhook.update [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --description <STRING>
          

      --events <ARRAY>
          [shape: [string]]

      --webhook-id <STRING>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

wertabgabe

decuma wertabgabe.list

The unentgeltliche Wertabgaben of objects used privately: cost, private share, months, the amount per month and the months booked.

Usage: decuma wertabgabe.list [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma wertabgabe.post

Book the unentgeltliche Wertabgabe of every month that has ended up to bis (default today) and is not booked: one Buchung per month on its last day, with the calculation as Eigenbeleg.

Usage: decuma wertabgabe.post [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bis <STRING>
          Book every month due up to this day (default today).

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

year

decuma year.balance_carryforward

The opening values of the next Wirtschaftsjahr derived from the closing balances of this one (never typed): every Bestandskonto with its balance, the result as Ergebnisvortrag; it changes until the year is locked.

Usage: decuma year.balance_carryforward [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --year <INTEGER>
          (required)

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma year.complete_amendment

Close the Berichtigung of a year: the checks run again, a new Jahresabschluss is stored beside the earlier one (aufstellen first), the posted Saldenvortrag is replaced by Storno and new Buchung, and the Meldungen resting on the year are returned as needing a Berichtigung. An open check needs the confirmation with a reason, as for year.festschreiben.

Usage: decuma year.complete_amendment [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bestaetigt[=<BOOL>]
          The person closes the year although a check is open (needs `grund`); without an open
          check nothing is asked.
          
          [possible values: true, false]

      --reason <STRING>
          

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma year.festschreiben

Lock a Wirtschaftsjahr with its stored Jahresabschluss (a person of the Mandant only): stores who, when and the state of the books, posts the Saldenvortrag; afterwards a Buchung dated in the year is refused. With an open check it is refused unless the person confirms (bestaetigt) with a reason (grund); the lock then stores the open checks, the confirmation and the reason.

Usage: decuma year.festschreiben [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --bestaetigt[=<BOOL>]
          The person closes the year although a check is open (needs `grund`); without an open
          check nothing is asked.
          
          [possible values: true, false]

      --reason <STRING>
          

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma year.start_amendment

Open a locked Wirtschaftsjahr as a named Berichtigung with a reason (a person of the Mandant only); Buchungen dated in it are accepted again and carry the reference. Refused while a later year is locked.

Usage: decuma year.start_amendment [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --reason <STRING>
          (required)

      --year <INTEGER>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

zusammenfassende_meldung

decuma zusammenfassende_meldung.file

The upload file of the released Zusammenfassende Meldung for the import into the online form of Mein ELSTER, split where one file takes fewer lines. Refused for a Meldung that is not released and for a form year without a confirmed layout.

Usage: decuma zusammenfassende_meldung.file [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --meldung <STRING>
          (required) `zm-2026-Q4`, `zm-2026-05`.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma zusammenfassende_meldung.get

The Zusammenfassende Meldung of a Meldezeitraum: one line per USt-IdNr. of the Kunde and kind (Lieferung, sonstige Leistung, Dreiecksgeschäft) with the Buchungen behind it, computed from the Buchungen that feed Kennzahl 41, 21 and 42 of the Voranmeldung; the check against the transmitted Voranmeldungen of the quarter, the Frist, the Meldungsstand and its hash, the Freigabe, and after an Übermittlung the lines of a Berichtigung.

Usage: decuma zusammenfassende_meldung.get [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --meldung <STRING>
          (required) `zm-2026-Q4`, `zm-2026-05`.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma zusammenfassende_meldung.input_sheet

The input sheet of the newest Freigabe of the Zusammenfassende Meldung: one row per USt-IdNr. and kind as released, to enter by hand in Mein ELSTER.

Usage: decuma zusammenfassende_meldung.input_sheet [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --out <out>
          With --format csv, xlsx or pdf: write the exported file to this path

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --meldung <STRING>
          (required) `zm-2026-Q4`, `zm-2026-05`.

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma zusammenfassende_meldung.mark_as_transmitted

Records the Transferticket of the Zusammenfassende Meldung typed into Mein ELSTER: the version is transmitted, its Freigabe used up and the period locked. Refused when a line changed since the Freigabe.

Usage: decuma zusammenfassende_meldung.mark_as_transmitted [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --meldung <STRING>
          (required)

      --transferticket <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma zusammenfassende_meldung.record_external

Records a Zusammenfassende Meldung filed outside the product (extern abgegeben): date, Transferticket and the transmitted lines. The lines are a record and never used as computed values; a difference returns the warning extern_weicht_ab.

Usage: decuma zusammenfassende_meldung.record_external [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --meldung <STRING>
          (required)

      --rows <ARRAY>
          (required) Every line as transmitted. [shape: [{amount, kind, ust_idnr}]]

      --transferticket <STRING>
          (required)

      --transmitted-on <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma zusammenfassende_meldung.release

Gives the Freigabe for exactly the lines of the Zusammenfassende Meldung the person saw (its hash): a human of the Mandant only, for one Übermittlung. Refused while a turnover has no USt-IdNr. of the Kunde or the lines differ from a transmitted Voranmeldung of the quarter.

Usage: decuma zusammenfassende_meldung.release [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --checked[=<BOOL>]
          (required) "Ich habe die Zeilen geprüft".
          
          [possible values: true, false]

      --hash <STRING>
          (required) `stand_hash` of the Meldung the person saw.

      --meldung <STRING>
          (required)

  -h, --help
          Print help (see a summary with '-h')

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.

decuma zusammenfassende_meldung.transmit

Starts the Übermittlung of the Zusammenfassende Meldung, by hand in Mein ELSTER unless another way of the installation is chosen: returns the input sheet of the valid Freigabe; the Übermittlung waits for the Transferticket.

Usage: decuma zusammenfassende_meldung.transmit [OPTIONS]

Options:
      --payload <JSON>
          The whole payload as JSON

      --payload-file <PATH>
          Read the payload from a JSON file

      --url <url>
          Address of the instance
          
          [env: DECUMA_URL]
          [default: http://127.0.0.1:8080]

      --output <output>
          json for scripts, text for people (default: text on a terminal)
          
          [possible values: json, text]

      --rationale <rationale>
          Why you issue this Command; stored in the history (Command-Log)

      --dry-run
          Run the checks and the handler, then roll back: nothing is kept, logged or sent

      --idempotency-key <idempotency-key>
          A repeated key runs the Command once

      --mandant <mandant>
          The Mandant a session acts on (an API-Schlüssel is bound to its own)
          
          [env: DECUMA_MANDANT]

      --meldung <STRING>
          (required)

      --not-filed-by-hand[=<BOOL>]
          A person confirms that she did not file it by hand, after the input sheet was opened.
          
          [possible values: true, false]

      --weg <STRING>
          The way; von_hand when absent.

  -h, --help
          Print help

Exit codes: 0 ok, 1 error, 2 usage, 3 validation, 4 not authenticated, 5 not allowed, 6 needs a human, 7 unknown command, 8 idempotency conflict, 9 not found, 10 conflict, 11 second factor required, 12 busy (try again).

A value @PATH reads that file (a base64 field gets the file encoded); a boolean takes --flag or --flag=false.