Skip to content

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.

POST
/v1/queries/distribution.available
Code sample: Shell / cURL
curl --request POST \
--url https://example.com/v1/queries/distribution.available \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "origin": { "display_name": "example", "id": "example", "kind": "example" }, "payload": { "amount": null, "geschaeftsjahr": 1, "steuerliches_einlagekonto": null }, "rationale": "example" }'
Decuma-Mandant
string format: uuid

The Mandant a session acts on; an API-Schlüssel is bound to its own.

Media typeapplication/json
object
origin

Who or what a call comes from beyond its Actor, set by the caller (an automation, an integration): stored and hashed with the log entry, shown and filtered in the Verlauf.

object
display_name
required

The name a person reads in the Verlauf, 1 to 120 characters.

string
id
required

The caller’s own id of it, 1 to 200 characters.

string
kind
required

What kind of caller, 1 to 40 of a-z, 0-9 and _ (for example automation, integration).

string
payload
object
amount
string | number | null
/^-?\d+(\.\d+)?([eE]\d+)?$/
geschaeftsjahr
required

The business year whose result is distributed.

integer format: int32
steuerliches_einlagekonto

The steuerliches Einlagekonto (§ 27 KStG) as the person knows it; 0 when none.

string | number | null
/^-?\d+(\.\d+)?([eE]\d+)?$/
rationale

Why the Actor issues this; stored in the Command-Log.

string

Result

Media typeapplication/json
object
abschlussstichtag
required
string format: date
amount

The planned amount, if given, with its checks.

string | number | null
/^-?\d+(\.\d+)?([eE]\d+)?$/
available
required

Jahresüberschuss plus Gewinnvortrag less Verlustvortrag (§ 29 Abs. 1 GmbHG), less the reserve of a UG.

string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
bankguthaben
required

The bank balance today, beside the taxes of the payment plan still open: the person’s check.

string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
bilanzsumme
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
eigenkapital
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
eigenkapital_danach
string | number | null
/^-?\d+(\.\d+)?([eE]\d+)?$/
einstellung_gesetzliche_ruecklage
required

The statutory reserve of a UG (§ 5a Abs. 3 GmbHG) posted for the year; it is not distributable. Zero for a GmbH and for a UG year without one.

string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
festgestellt_am
string | null format: date
frist_des_beschlusses
required

The last day of the resolution (§ 42a Abs. 2 GmbHG).

string format: date
geschaeftsjahr
required
integer format: int32
gewinnvortrag
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
jahresueberschuss
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
next_step
required
string
questions
required

What the books cannot tell; each depends on your case.

Array<string>
stammkapital
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
steuern_offen
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
verlustvortrag
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/

Example generated

{
"abschlussstichtag": "2026-04-15",
"amount": "example",
"available": "example",
"bankguthaben": "example",
"bilanzsumme": "example",
"eigenkapital": "example",
"eigenkapital_danach": "example",
"einstellung_gesetzliche_ruecklage": "example",
"festgestellt_am": "2026-04-15",
"frist_des_beschlusses": "2026-04-15",
"geschaeftsjahr": 1,
"gewinnvortrag": "example",
"jahresueberschuss": "example",
"next_step": "example",
"questions": [
"example"
],
"stammkapital": "example",
"steuern_offen": "example",
"verlustvortrag": "example"
}

Problem

Media typeapplication/problem+json
object
code
required
string
Allowed values: validation not_authenticated not_allowed needs_human second_factor_required unknown_command idempotency_conflict not_found conflict busy internal
detail

What is wrong.

string
next_command

The Command the next step names, whatever the language of next_step.

string | null
next_step

What to do next.

string
retry_payload

Fields that complete the refused call when the refusal carries a proposal: merged into its payload, the same call goes through.

object | null
status
required
integer
title
required
string
type
required
string

Example

{
"code": "validation"
}