Bilanz on a Stichtag (bis) as a tree in the layout of § 266 HGB, positions open to their Konten, with the comparison Stichtag and the check Aktiva = Passiva.
curl --request POST \ --url https://example.com/v1/queries/report.balance_sheet \ --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
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”The Mandant a session acts on; an API-Schlüssel is bound to its own.
Request Body
Section titled “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
Section titled “Responses”Result
The fields every report result carries.
object
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”.
Aktiva equal Passiva to the cent.
With format csv, xlsx or pdf: the rows as CSV (the command layer renders datei from it).
object
object
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
object
The GuV of the range that makes the result of the year: the link to report.profit_and_loss.
object
Example
{ "form": "gross"}default
Section titled “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"}