Zum Inhalt springen

Records a row of the payment plan as paid on a day and posts its payment Buchung (the Konto of the tax at Bank, from the rule data) from a Bankkonto or for an imported Bankumsatz, which it links; a Buchung made by hand is linked instead, never booked twice. A row is settled once. A credit after the Schonfrist warns with the Säumniszuschlag to expect.

POST
/v1/commands/tax_payment.record
Code sample: Shell / cURL
curl --request POST \
--url https://example.com/v1/commands/tax_payment.record \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "dry_run": false, "origin": { "display_name": "example", "id": "example", "kind": "example" }, "payload": { "bank_account_id": null, "bank_transaction_id": null, "beleg_id": null, "buchung_id": null, "konto": null, "paid_on": "2026-04-15", "rationale": null, "schluessel": "example", "year": 1 }, "rationale": "example" }'
Idempotency-Key
string

A repeated key returns the first result without running the Command again.

Decuma-Mandant
string format: uuid

The Mandant a session acts on; an API-Schlüssel is bound to its own.

Media typeapplication/json
object
dry_run

Dry run: the checks of executing, then the handler in a transaction that is always rolled back; nothing is logged, sent or kept. The answer is then a BefehlPruefung (as command.check) with the handler’s result as output, not the result below.

boolean
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
bank_account_id

The Bankkonto it was paid from: the payment Buchung “ an Bank” is posted.

string | null format: uuid
bank_transaction_id

The imported Bankumsatz it was paid with: the Buchung is posted for it and linked.

string | null format: uuid
beleg_id

The Beleg of the payment (statement, confirmation); without one an Eigenbeleg is written.

string | null format: uuid
buchung_id

A Buchung of the payment made by hand: linked, never booked twice.

string | null format: uuid
konto

The Konto of the tax instead of the rule data (a kind they do not name, SKR03, or an amount that differs from its Rückstellung); needs begruendung, never from a Regel.

string | null
paid_on
required

The day the payment counts as made (the credit at the Finanzamt).

string format: date
rationale

Why the payment goes on konto; kept with the Buchung.

string | null
schluessel
required

schluessel of the row.

string
year
required
integer format: int32
rationale

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

string

Result

Media typeapplication/json
object
saeumniszuschlag

The Säumniszuschlag to expect when credited after the Schonfrist (§ 240 AO).

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

None until a Vorauszahlungsbescheid is recorded and confirmed.

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

The Bankumsatz linked to that Buchung.

string | null format: uuid
buchung_id

The payment Buchung of a paid row.

string | null format: uuid
candidate

An open Bankumsatz with the amount and the Steuernummer in its text: tax_payment.reconcile.

string | null format: uuid
candidate_date

The day of that Bankumsatz: what the day of the credit defaults to in the Abgleich.

string | null format: date
due

After the shift of § 108 Abs. 3 AO; none where it is due with an Antrag.

string | null format: date
empfaenger
required

Finanzamt or Gemeinde (master data per Steuerart, tax_payment.set_recipient).

string
gesetzlicher_tag
string | null format: date
kind
required

Meldung, sondervorauszahlung, vorauszahlung, bescheid, or bank (a payment of or to the Finanzamt for a Voranmeldung not recorded here; a refund is negative).

string
kirchensteuer

The Kirchensteuer in betrag (a natürliche Person, from the Bescheid), shown apart.

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

A SEPA-Lastschriftmandat of the recipient holds on the due day: the row is collected and counts as paid on the due day.

boolean
name
required
string
next_step
string | null
paid_on
string | null format: date
remittance_info
required

Steuernummer, Steuerart and period, as every transfer needs them.

string
schluessel
required

Stable key of the row, to record it as paid.

string
solidaritaetszuschlag

The Solidaritätszuschlag in betrag, shown apart.

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

Offen or bezahlt.

string
steuerart
required
string
year
required

The year the payment belongs to (of the Bescheid, the period, the Vorauszahlungen).

integer format: int32

Example generated

{
"saeumniszuschlag": "example",
"zeile": {
"amount": "example",
"bank_transaction_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"buchung_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"candidate": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"candidate_date": "2026-04-15",
"due": "2026-04-15",
"empfaenger": "example",
"gesetzlicher_tag": "2026-04-15",
"kind": "example",
"kirchensteuer": "example",
"lastschrift": true,
"name": "example",
"next_step": "example",
"paid_on": "2026-04-15",
"remittance_info": "example",
"schluessel": "example",
"solidaritaetszuschlag": "example",
"state": "example",
"steuerart": "example",
"year": 1
}
}

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