Skip to content

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.

POST
/v1/queries/jahresabschluss.get
Code sample: Shell / cURL
curl --request POST \
--url https://example.com/v1/queries/jahresabschluss.get \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "origin": { "display_name": "example", "id": "example", "kind": "example" }, "payload": { "form": null, "format": "json", "preview": false, "year": 1 }, "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
form

The fuller form (klein) for a Kleinstkapitalgesellschaft.

Any of:
One of:

Every level of the statutory layout.

string
Allowed value: gross
format
string
Allowed values: json csv xlsx pdf
preview

With the closing entries not yet posted (labelled as such; never aufgestellt).

boolean
year
required
integer format: int32
rationale

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

string

Result

Media typeapplication/json
object
csv
string | null
file
Any of:

An exported file in a query result: name, media type and the bytes in base64.

object
content
required
string
file_name
required
string
media_type
required
string
saved
Any of:
object
aufgestellt_am
required
string format: date-time
hash
required
string
jahresabschluss_id
required
string format: uuid
last_number
required
integer format: int64
superseded
required

A later Buchung dated in the year made it out of date.

boolean
version
required
integer format: int32
werte
required
object
aktiva
required
anlagenspiegel
required
Array<object>

One row of the Anlagenspiegel (§ 284 Abs. 3 HGB), per position of the Anlagevermögen.

object
abgaenge
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
abschreibungen_abgaenge
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
abschreibungen_beginn
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
abschreibungen_ende
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
abschreibungen_jahr
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
anschaffungskosten_beginn
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
anschaffungskosten_ende
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
buchwert_ende
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
buchwert_vorjahr
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
position
required
string
umbuchungen

Umbuchungen (§ 284 Abs. 3 Satz 2 HGB): an Anlage im Bau completed, minus in its row, plus in the row of its kind; over all rows they sum to zero.

string | number
default: 0 /^-?\d+(\.\d+)?([eE]\d+)?$/
zugaenge
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
bilanzsumme
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
bilanzsumme_vorjahr
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
company_name
required
string
form
required
string
groessenklasse
required
object
klasse
Any of:
string
Allowed values: kleinst klein mittelgross gross
merkmale
required

The marks at one Stichtag.

object
bilanzsumme
required

Aktiva A to E, without a Fehlbetrag under § 268 Abs. 3 HGB (§ 267 Abs. 4a HGB).

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

Yearly average (§ 267 Abs. 5 HGB).

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

Of the twelve months before the Stichtag.

string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
prior_year
Any of:

The marks at one Stichtag.

object
bilanzsumme
required

Aktiva A to E, without a Fehlbetrag under § 268 Abs. 3 HGB (§ 267 Abs. 4a HGB).

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

Yearly average (§ 267 Abs. 5 HGB).

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

Of the twelve months before the Stichtag.

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

Rückfragen that decide the class (employees, the previous year, a holding).

Array<string>
ueberschritten
Any of:
string
Allowed values: kleinst klein mittelgross gross
guv
required
jahresergebnis
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
passiva
required
preview
required
boolean
stichtag
required
string format: date
summenproben
required
vermerke
required
year
required
integer format: int32

Example

{
"werte": {
"anlagenspiegel": [
{
"umbuchungen": "0"
}
],
"groessenklasse": {
"klasse": "kleinst",
"ueberschritten": "kleinst"
}
}
}

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"
}