Zum Inhalt springen

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.

POST
/v1/queries/ertragsteuer.get
Code sample: Shell / cURL
curl --request POST \
--url https://example.com/v1/queries/ertragsteuer.get \
--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
gewerbesteuer
Any of:
object
abschluss
string | number | null
/^-?\d+(\.\d+)?([eE]\d+)?$/
fehlbetrag
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
gewerbeertrag
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
hinzurechnung_8_nr_1
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
hinzurechnung_8_nr_5
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
kuerzung_gewerbeverlust
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
kuerzung_zuwendungen
required

§ 9 Nr. 5 GewStG: the Kürzung of the year and the Zuwendungsvortrag left (no line; the Finanzamt computes them).

string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
kuerzungen
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
markers
required
Array<object>

A question of judgement with what triggered it and, where the result depends on it, the results of each reading.

object
norm
required
string
schluessel
required
string
trigger
required
Array<string>
varianten
required

(reading, amount of the line under it).

Array<array>
massgebender_gewerbeertrag
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
questions
required
Array<object>

A required Angabe that is missing: the line is a Rückfrage and blocks the Freigabe.

object
index

For a shareholding: its index in the input.

integer | null format: uint
norm
required
string
schluessel
required
string
rows
required
Array<object>
object
amount

None: the line does not apply (“entfällt”).

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

The number of the step in R 7.1 Abs. 1 KStR 2022 (Körperschaftsteuer) or in the Rechenweg.

integer | null format: uint8
<= 255
origin
required

Where the value of a line comes from.

One of:

From the Journal (the Konten are named on the line).

string
Allowed value: berechnet
schluessel
required
string
steuer

None while a Rückfrage is open.

string | number | null
/^-?\d+(\.\d+)?([eE]\d+)?$/
steuermessbetrag
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
summe_finanzierungsanteile
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
verbleibender_zuwendungsvortrag
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
koerperschaftsteuer
Any of:
object
abziehbare_zuwendungen
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
einkommen
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
gesamtbetrag_der_einkuenfte
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
markers
required
Array<object>

A question of judgement with what triggered it and, where the result depends on it, the results of each reading.

object
norm
required
string
schluessel
required
string
trigger
required
Array<string>
varianten
required

(reading, amount of the line under it).

Array<array>
questions
required
Array<object>

A required Angabe that is missing: the line is a Rückfrage and blocks the Freigabe.

object
index

For a shareholding: its index in the input.

integer | null format: uint
norm
required
string
schluessel
required
string
rows
required
Array<object>
object
amount

None: the line does not apply (“entfällt”).

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

The number of the step in R 7.1 Abs. 1 KStR 2022 (Körperschaftsteuer) or in the Rechenweg.

integer | null format: uint8
<= 255
origin
required

Where the value of a line comes from.

One of:

From the Journal (the Konten are named on the line).

string
Allowed value: berechnet
schluessel
required
string
ruecktrag
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
ruecktrag_second_prior_year
required

Into the second previous year; zero while its Rückfrage is open.

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

None while a Rückfrage is open.

Any of:
object
abschluss_kst
required

Positive: to pay; negative: refund.

string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
abschluss_soli
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
anrechnung_kapitalertragsteuer
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
anrechnung_solidaritaetszuschlag
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
koerperschaftsteuer
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
solidaritaetszuschlag
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
summe_der_einkuenfte
required

R 7.1 Nr. 31: the start of the Gewerbesteuer.

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

Carried to the next year as a proposal the person confirms against the notice.

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

Wartet_auf_jahresabschluss or berechnet.

string
vergleich_jahresabschluss

The tax computed here against the tax expense of the Jahresabschluss (Vorauszahlungen plus provision): (tax, booked).

array | null
>= 2 items <= 2 items
vordrucke
required

The forms the returns need, with the case each is needed in.

Array<array>
year
required
integer format: int32
zusammenhang
required

How the returns hang together, in three lines.

Array<string>

Example

{
"gewerbesteuer": {
"rows": [
{
"origin": "berechnet"
}
]
},
"koerperschaftsteuer": {
"rows": [
{
"origin": "berechnet"
}
]
}
}

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