Zum Inhalt springen

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.

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

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.

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

The running year; the Abschlusszahlungen are those of the year before.

integer format: int32
rationale

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

string

Result

Media typeapplication/json
object
abschlusszahlungen
required
Array<object>
object
konto
required
string
laut_bescheid

The Abschlusszahlung of a confirmed Jahresbescheid, once there is one.

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

The Steuerrückstellung of the Jahresabschluss: the Abschlusszahlung to expect.

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

A natürliche Person: her statements for the year, also while a question withholds the estimate (so they can be changed or taken back).

Array<object>
object
betrieb_id
string | null format: uuid
kind
required

The kinds of statement (one current value per Person, year, kind and Betrieb).

One of:

The person’s own forecast of the profit of a Betrieb for the year: { "profit": "..." }.

string
Allowed value: forecast
recorded_at
required
string format: date-time
value
required
hochrechnung
Any of:
object
annahmen
required

The assumptions the person confirms.

Array<string>
bis
required

The result before taxes on income booked from 1 January to bis.

string format: date
difference
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
ergebnis_bisher
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
ergebnis_jahr
required

Converted to twelve months: a figure of the books.

string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
koerperschaftsteuer
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
months
required
integer format: uint32
notice

“Anpassung vorbereiten” above the threshold.

string | null
vorauszahlungen
required

The Körperschaftsteuer-Vorauszahlungen fixed for the year (confirmed Vorauszahlungsbescheid).

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

A natürliche Person: the estimate of the year from her books and her statements (tax_payment.set_estimate_input), with the monthly reserve beside the Vorauszahlungen.

Any of:
object
basis
required

“Schätzung, kein Bescheid”, in one sentence.

string
betriebe
required
Array<object>
object
activity_months
required
integer format: uint32
basis
required

Projection, forecast, questionnaire, previous_year or full_year.

One of:

The completed months converted to the months of activity in the year.

string
Allowed value: projection
betrieb_id
required
string format: uuid
bezeichnung
required
string
completed_months
required
integer format: uint32
einkunftsart
required
string
Allowed values: gewerbebetrieb selbstaendige_arbeit nichtselbstaendige_arbeit vermietung_und_verpachtung sonstige_einkuenfte
gewerbesteuer
Any of:
object
freibetrag
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
gewerbeertrag
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
gewerbesteuer
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
hebesatz
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
messbetrag
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
profit_year
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
inputs
required

The statements read, each with the day it was made.

Array<object>
object
betrieb_id
string | null format: uuid
kind
required

The kinds of statement (one current value per Person, year, kind and Betrieb).

One of:

The person’s own forecast of the profit of a Betrieb for the year: { "profit": "..." }.

string
Allowed value: forecast
recorded_at
required
string format: date-time
value
required
is_estimate
required

Always true: an estimate from the books, never a Bescheid.

boolean
notes
required

Every product rule the figure rests on, and the questions open.

Array<object>

An assumption the estimate is computed with, or a question that would bring it closer.

object
code
required
string
question
required
boolean
text
required
string
notice

“Anpassung der Vorauszahlungen vorbereiten” above the threshold of the Mandant.

string | null
reserve

The reserve beside the Vorauszahlungen, or why there is none.

Any of:
object
due
required

The Vorauszahlungen still due, each on its date: not part of the monthly amount.

Array<object>

A Vorauszahlung of the Bescheid (Einkommensteuer with its Zuschläge, Gewerbesteuer).

object
amount
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
due
required
string format: date
paid
required
boolean
tax
required

Einkommensteuer or gewerbesteuer.

string
final_finanzamt
required

The estimated Abschlusszahlung to the Finanzamt (Einkommensteuer, Solidaritätszuschlag, Kirchensteuer; § 36 Abs. 4 EStG); negative: an expected refund.

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

The estimated Abschlusszahlung to the Gemeinde (Gewerbesteuer; § 20 Abs. 2, 3 GewStG).

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

Both together, as a figure only; the reserve never nets one creditor’s refund against the other.

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

After the year, until the Bescheide: the amount to hold ready.

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

The positive final payments spread over months, rounded up to the cent; none after the year.

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

Months to December including the running one; zero after the year.

integer format: uint32
paid
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
reserve_question
Any of:
object
code
required
string
text
required
string
steps
required

Each step with its norm, from the Summe der Einkünfte to the tax withheld.

Array<object>
object
amount
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
key
required
string
label
required
string
norm
required
string
tax_withheld
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
total
required

Einkommensteuer, Solidaritätszuschlag, Kirchensteuer and Gewerbesteuer of the year.

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

Payments counted up to this day: the end of the last completed month, or of the year.

string format: date
income_tax_question

Why the income tax estimate is withheld, with the next step.

Any of:
object
code
required
string
text
required
string
year
required
integer format: int32

Example

{
"estimate_inputs": [
{
"kind": "forecast"
}
],
"income_tax": {
"betriebe": [
{
"basis": "projection",
"einkunftsart": "gewerbebetrieb"
}
],
"inputs": [
{
"kind": "forecast"
}
]
}
}

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