Zum Inhalt springen

The Fragebogen zur steuerlichen Erfassung of a GmbH, UG or Einzelunternehmen in Gründung as the official ELSTER data set (ElsterFSE, version 202401) from the master data and the person's answers: either the questions still open (choices are never preset) or the XML file, for a transmission through the ELSTER interface with the installation's own Hersteller-ID and as a record to check; Mein ELSTER takes no such file, the person types the values of formation.prepare_fragebogen into the form there. Decuma does not transmit it.

POST
/v1/queries/formation.fragebogen_file
Code sample: Shell / cURL
curl --request POST \
--url https://example.com/v1/queries/formation.fragebogen_file \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "origin": { "display_name": "example", "id": "example", "kind": "example" }, "payload": { "activity": null, "besteuerung": null, "eingezahlt": null, "einlage": null, "employee": null, "finanzamt": null, "gewinnermittlung": null, "kleinunternehmer": null, "lohnsteuer": null, "no_steuernummer_confirmed": false, "persons": [], "profit_next_year": null, "profit_start_year": null, "religion": null, "sacheinlage": null, "taetigkeit": "", "treuhand": null, "umsatz_folgejahr": null, "umsatz_gruendungsjahr": null, "ust_idnr_beantragen": null, "zahllast": 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

The answers of the person beyond the master data (all optional; what is missing comes back as a question). Choices are taken only from here or from the master data, never preset.

object
activity

Einzelunternehmen: default the kind of activity of the Betrieb.

Any of:

What the person says the activity is; the product does not classify it.

string
Allowed values: gewerbe freier_beruf
besteuerung

Default Soll from the master data; Ist needs its reason here.

Any of:

Soll- or Istversteuerung; Ist with the reason the person gives.

One of:
string
Allowed values: soll
eingezahlt
string | number | null
/^-?\d+(\.\d+)?([eE]\d+)?$/
einlage
Any of:
string
Allowed values: bar sach
employee
integer | null format: uint32
finanzamt

The Finanzamt the person chose (four digits); default the Bundesfinanzamtsnummer of the master data.

string | null
gewinnermittlung
Any of:
One of:

§ 4 Abs. 3 EStG, code 01.

string
Allowed value: einnahmenueberschussrechnung
kleinunternehmer

Default the answer in the master data (kleinunternehmer).

Any of:

The answer on the Kleinunternehmerregelung (§ 19 UStG).

string
Allowed values: applies waived
lohnsteuer
string | number | null
/^-?\d+(\.\d+)?([eE]\d+)?$/
no_steuernummer_confirmed

There is no Steuernummer yet: the Fragebogen asks for a new one (Neuaufnahme).

boolean
persons

The natural persons named in the master data (Geschäftsführer, Gesellschafter), each with first and last name as recorded together (“Anna Muster”), date of birth and address; an Einzelunternehmer gives the own entry here too.

Array<object>
default:
object
address
Any of:
object
city
required
string
postcode
required
string
street
required

Street and house number, as written (“Musterweg 5a”).

string
date_of_birth
string | null format: date
first_name
required
string
last_name
required
string
profit_next_year
string | number | null
/^-?\d+(\.\d+)?([eE]\d+)?$/
profit_start_year

KapG: expected Gewinn; Einzelunternehmen: expected Einkünfte of the activity.

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

Einzelunternehmen: the Religionsschlüssel of the official list (11: not kirchensteuerpflichtig).

string | null
sacheinlage
string | null
taetigkeit
string
""
treuhand
boolean | null
umsatz_folgejahr
string | number | null
/^-?\d+(\.\d+)?([eE]\d+)?$/
umsatz_gruendungsjahr
string | number | null
/^-?\d+(\.\d+)?([eE]\d+)?$/
ust_idnr_beantragen
boolean | null
zahllast

Expected Zahllast of the year of the start; negative: Überschuss.

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

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

string

Result

Media typeapplication/json
object
content
string | null
datenart
required
One of:

GmbH, UG (haftungsbeschränkt).

string
Allowed value: KapG
eroeffnungsbilanz
required

An Eröffnungsbilanz is due (KapG, or Betriebsvermögensvergleich).

boolean
file_name

fragebogen-<datenart>.xml: the data set for a transmission through the ELSTER interface with the installation’s own Hersteller-ID, and a record to check; Mein ELSTER takes no such file. Decuma does not transmit it.

string | null
media_type
required
string
next_step
required

How the person hands the Fragebogen in: typed into the form in Mein ELSTER (vw-gruend-018).

string
questions
required

What the person still has to answer; while one is open there is no file.

Array<object>

An answer the data set still needs, named by the field of [Data] (or of the payload).

object
field
required
string
question
required
string
sha256

SHA-256 of the content, hex.

string | null
version
required
string

Example

{
"datenart": "KapG"
}

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