Skip to content

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).

POST
/v1/queries/asset.list
Code sample: Shell / cURL
curl --request POST \
--url https://example.com/v1/queries/asset.list \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "origin": { "display_name": "example", "id": "example", "kind": "example" }, "payload": { "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
year
required
integer format: int32
rationale

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

string

Example generated

{
"origin": {
"display_name": "example",
"id": "example",
"kind": "example"
},
"payload": {
"year": 1
},
"rationale": "example"
}

Result

Media typeapplication/json
object
afa_by_year
required

The AfA of every year of the plans, summed over the assets.

Array<object>
object
afa
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
year
required
integer format: int32
anlagen
required
Array<object>

An Anlage with its record id and current state.

object
abgang
string | null format: date
acquisition_cost
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
afa_konto

The Konto of its Abschreibung (the kind’s); none: Abschreibungen auf Sachanlagen.

string | null
asset_id
required
string format: uuid
buchung_id
required
string format: uuid
category
string | null
erloes
string | number | null
/^-?\d+(\.\d+)?([eE]\d+)?$/
im_bau

Completed from an Anlage im Bau (lieferung is the day of completion).

Any of:

An Anlage im Bau or an Anzahlung completed into the Konto of its kind: it entered its position by an Umbuchung on the day of completion (lieferung).

object
konto
required

The Konto im Bau or of the Anzahlung.

string
zugang
required

The day of the first cost on it.

string format: date
kind

The kind of the rule data abschluss anlagearten, if given.

string | null
konto
required
string
lieferung
required
string format: date
nachtraege
Array<object>
default:

Nachträgliche Anschaffungskosten: from the Wirtschaftsjahr they arise in, as if spent at its beginning (R 7.4 Abs. 9 Satz 3 EStR), the AfA is the book value at the beginning plus the amount over the remaining useful life the person confirmed (H 7.4).

object
amount
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
date
required
string format: date
restnutzungsdauer
required
integer format: uint32
name
required
string
origin
Any of:

Where a useful life comes from (kept with its reason).

One of:

A position of the AfA-Tabelle AV.

string
Allowed value: tabelle
plan
required

The AfA-Plan: year, amount, book value, state (gebucht, vorgeschlagen, geplant).

Array<object>
object
afa
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
buchwert
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
state
required
string
year
required
integer format: int32
rationale
string | null
satz

A building: the yearly rate in percent (§ 7 Abs. 4 EStG) instead of a useful life.

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

Left this position by an Umbuchung on this day (the Anlage im Bau after completion).

string | null format: date
voll_im_ersten_jahr
boolean
years
integer | null format: uint32
zeitanteil

How the share of the year of the Abgang is counted: the person’s answer, no default.

Any of:

How the share of the year of an Abgang is counted (rule data abgang_zeitanteil, a parameter; the person confirms the amount).

string
Allowed values: monate_mit_abgangsmonat monate_ohne_abgangsmonat tage
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+)?$/
grenzen
required
offene_kaeufe
required

Purchases on Konten of the Anlagevermögen without an entry.

Array<object>
object
amount
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
buchung_id
required
string format: uuid
date
required
string format: date
konto
required
string
line
required

The line of the purchase in its Buchung (asset.create line).

integer format: int32
number
required
integer format: int64
text
required
string
totals
required

Over the assets delivered by the year (lieferung in it or before): cost, AfA of the year, book value at its end.

object
acquisition_cost
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
afa
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
book_value
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
wahl_des_jahres
string | null
year
required
integer format: int32

Example

{
"anlagen": [
{
"abgang": null,
"afa_konto": null,
"im_bau": null,
"nachtraege": [],
"origin": "tabelle",
"satz": null,
"umgebucht_am": null,
"voll_im_ersten_jahr": false,
"years": null,
"zeitanteil": null
}
],
"anlagenspiegel": [
{
"umbuchungen": "0"
}
]
}

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