Gewinn- und Verlustrechnung of a period as a tree in the layout of § 275 Abs. 2 HGB (or § 276, § 275 Abs. 5), positions open to their Konten, with the comparison.
curl --request POST \ --url https://example.com/v1/queries/report.profit_and_loss \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "origin": { "display_name": "example", "id": "example", "kind": "example" }, "payload": { "betrieb_id": null, "bis": null, "cost_center_id": null, "form": "gross", "format": "json", "ohne_abschlussbuchungen": false, "ohne_vergleich": false, "vergleich_bis": null, "vergleich_von": null, "von": null }, "rationale": "example" }'Authorizations
Abschnitt betitelt „Authorizations“Parameters
Abschnitt betitelt „Parameters“Header Parameters
Abschnitt betitelt „Header Parameters“The Mandant a session acts on; an API-Schlüssel is bound to its own.
Request Body
Abschnitt betitelt „Request Body“object
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
The name a person reads in the Verlauf, 1 to 120 characters.
The caller’s own id of it, 1 to 200 characters.
What kind of caller, 1 to 40 of a-z, 0-9 and _ (for example automation, integration).
One query shape for every report.
object
Also the Stichtag of balance-sheet figures.
The books before the Abschlussbuchungen of the year-end (and their Stornos).
The comparison (both or neither); default the same range one year earlier.
Default: the Voranmeldungszeitraum that contains today (else the running Wirtschaftsjahr).
Why the Actor issues this; stored in the Command-Log.
Responses
Abschnitt betitelt „Responses“Result
The fields every report result carries.
object
With format csv, xlsx or pdf: the rows as CSV (the command layer renders datei from it).
object
The Gewinn- or Verlustvortrag included in the Bilanzgewinn, stated under it (§ 268 Abs. 1 Satz 2 HGB): “davon Gewinnvortrag” or “davon Verlustvortrag” with the amount; under the Kapitalrücklage the called-up Nachschusskapital (§ 42 Abs. 2 Satz 3 GmbHG); not in the Kleinst form.
object
Null, “vortrag” (result of earlier Wirtschaftsjahre not carried forward), “ergebnis”, or for an Einzelunternehmen “anfangskapital”, “einlagen”, “entnahmen”.
object
Null, “vortrag” (result of earlier Wirtschaftsjahre not carried forward), “ergebnis”, or for an Einzelunternehmen “anfangskapital”, “einlagen”, “entnahmen”.
object
Booked Erfolgskonten without a position (also in hinweise).
object
Null, “vortrag” (result of earlier Wirtschaftsjahre not carried forward), “ergebnis”, or for an Einzelunternehmen “anfangskapital”, “einlagen”, “entnahmen”.
object
object
Example
{ "form": "gross"}default
Abschnitt betitelt „default“Problem
object
What is wrong.
The Command the next step names, whatever the language of next_step.
What to do next.
Fields that complete the refused call when the refusal carries a proposal: merged into its payload, the same call goes through.
Example
{ "code": "validation"}