Zum Inhalt springen

The Lohnsteuer-Anmeldung of an Anmeldungszeitraum (month, quarter or year) as a Meldung: the Kennzahlen from the settled Abrechnungen of its months, each with the Abrechnungen behind it, the Meldungsstand and its hash, the Frist, the check against the Journal, the Freigabe, and after the Übermittlung the difference to the transmitted values and the amount to pay.

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

The Anmeldungszeitraum: YYYY-MM (month), YYYY-Qn (quarter) or YYYY (calendar year).

string
rationale

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

string

Result

Media typeapplication/json
object
bis
required
string format: date
deviations
required

After an Übermittlung: the Kennzahlen whose computed value differs from the transmitted one.

Array<object>
object
berechnet
string | null
kennzahl
required
string
transmitted
string | null
frist

Last day for filing and payment (Fristen engine); none where no Fristen rule data cover it.

string | null format: date
journal_stimmt
required

Gesamtbetrag against what the runs posted to the liability Konto of the Lohnsteuer; a difference blocks the Freigabe.

boolean
kennzahlen
required
Array<object>
object
abrechnungen
required

The Abrechnungen behind it (the persons for Kennzahl 86).

Array<object>

One Abrechnung behind a Kennzahl.

object
amount
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
month
required
string
personalnummer
required
integer format: uint32
kz
required
string
name
required
string
wert
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
zeile

The line and the official wording of the form.

integer | null format: uint32
meldung
required
string
next_step
required
object
code
required
string
text
required
string
nicht_unterstuetzt
required

The Kennzahlen of the form this product leaves empty.

Array<object>
object
kennzahl
required
string
reason
required
string
payment_until
string | null format: date
period
required

The Anmeldungszeitraum: YYYY-MM, YYYY-Qn or YYYY.

string
release
Any of:
object
am
required
string format: date-time
hash
required
string
release_id
required
string format: uuid
state
required

Gueltig, verbraucht, verfallen.

string
version
required
integer format: int32
release_missing

What keeps the Freigabe, or none.

Any of:
object
code
required
string
text
required
string
rueckfrage_zahl_arbeitnehmer

Kennzahl 86 of a period whose staff changed: the proposal and the confirmed number.

Any of:

The Rückfrage on Kennzahl 86 of a period whose staff changed.

object
at_end
required

The three possible counts the person chooses from (the form names no reference day): the Arbeitnehmer at the end of the period, everyone employed in it, everyone paid in it.

integer format: uint32
beschaeftigt
required
integer format: uint32
bestaetigt

The number the person confirmed, while it answers this proposal.

integer | null format: uint32
mit_lohn
required
integer format: uint32
proposal
required

The number of distinct persons with wages settled in the period.

integer format: uint32
stand
required

The Meldungsstand the Freigabe binds.

stand_hash
required
string
state
required

Entwurf, freigegeben, uebermittelt, berichtigung_noetig.

string
transmitted
required
Array<object>
object
transferticket
string | null
transmitted_on
string | null format: date
version
required
integer format: int32
weg
required

Von_hand or extern.

string
version
required

1, then one more per Berichtigung.

integer format: int32
von
required
string format: date

Example generated

{
"bis": "2026-04-15",
"deviations": [
{
"berechnet": "example",
"kennzahl": "example",
"transmitted": "example"
}
],
"frist": "2026-04-15",
"journal_stimmt": true,
"kennzahlen": [
{
"abrechnungen": [
{
"amount": "example",
"month": "example",
"personalnummer": 1
}
],
"kz": "example",
"name": "example",
"wert": "example",
"zeile": 1
}
],
"meldung": "example",
"next_step": {
"code": "example",
"text": "example"
},
"nicht_unterstuetzt": [
{
"kennzahl": "example",
"reason": "example"
}
],
"payment_until": "2026-04-15",
"period": "example",
"release": {
"am": "2026-04-15T12:00:00Z",
"hash": "example",
"release_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"state": "example",
"version": 1
},
"release_missing": {
"code": "example",
"text": "example"
},
"rueckfrage_zahl_arbeitnehmer": {
"at_end": 1,
"beschaeftigt": 1,
"bestaetigt": 1,
"mit_lohn": 1,
"proposal": 1
},
"stand": "example",
"stand_hash": "example",
"state": "example",
"transmitted": [
{
"transferticket": "example",
"transmitted_on": "2026-04-15",
"version": 1,
"weg": "example"
}
],
"version": 1,
"von": "2026-04-15"
}

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