Skip to content

The corrected invoice of a Beleg that waits for it arrived: Storno of the Buchung without Vorsteuer and a new Buchung with the Vorsteuer. It counts in the period of the Leistung and the original invoice when the original showed issuer, recipient, description, Entgelt and the separate tax (Abschnitt 15.2a Abs. 7 Satz 10 und 15 UStAE), otherwise from the day the correction arrived (Satz 17); a period transmitted already names the berichtigte Voranmeldung or the Jahreserklärung as the next step.

POST
/v1/commands/incoming_invoice.receive_amendment
Code sample: Shell / cURL
curl --request POST \
--url https://example.com/v1/commands/incoming_invoice.receive_amendment \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "dry_run": false, "origin": { "display_name": "example", "id": "example", "kind": "example" }, "payload": { "beleg_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "belegdaten": null, "berichtigung_beleg_id": null, "zugang": "2026-04-15" }, "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
beleg_id
required

The Beleg of the original invoice, waiting for its correction.

string format: uuid
belegdaten

The details the corrected invoice adds or changes (for example aussteller_steuernummer): each field given replaces the captured one, the others stay as captured.

Any of:

The Belegdaten as a person or a caller types them.

object
belegart
Any of:
One of:
string
Allowed values: rechnung kleinbetragsrechnung fahrausweis vertrag sonstiges eigenbeleg lohnsteuerbescheinigung
belegdatum
string | null format: date
brutto

The gross total of the Beleg.

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

ISO 4217 code of every amount of the Beleg; absent is EUR. The capture converts each line with the BMF monthly rate before any sum.

string | null
empfaenger

The recipient’s name.

string | null
issuer
string | null
issuer_country

State of the issuer’s address, ISO alpha-2.

string | null
issuer_postal_address

Full address of the issuer.

string | null
issuer_steuernummer

The issuer’s Steuernummer.

string | null
issuer_ust_idnr

The issuer’s USt-IdNr.; one without the format of its member state is a warning, never a refusal.

string | null
leistung

Quantity and kind of the goods, or extent and kind of the service.

string | null
leistungsdatum
string | null format: date
positions

The itemised positions of the Beleg (each dish and drink of a restaurant bill); absent keeps those of the record before.

Array<object> | null

One itemised position as the person states it.

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

True when the position is a drink or anything but a dish, false when it is a dish.

boolean | null
steuersatz
string | number | null
/^-?\d+(\.\d+)?([eE]\d+)?$/
text
required
string
prepaid_credit

Credit taxed with its purchase; leistungsdatum: the day credited, if known.

boolean | null
received_latest

Instead of the day of receipt, when it is not known: the latest provable one.

Any of:

The latest provable day an invoice was in possession, with its evidence.

object
evidence
required

What shows the recipient’s possession; a direct debit or card charge of the supplier is none (the supplier writes its text).

One of:
string
Allowed values: email_time receipt_stamp portal_log
latest_confirmed

Confirms this day where several periods of one year are possible.

boolean
on
required
string format: date
reference
required

Where the evidence is found.

string
rechnung_erhalten_am

Vorsteuer: the day the invoice reached the Unternehmer, needed where invoice date and Eingang in Decuma lie in different months.

string | null format: date
rechnungsnummer
string | null
recipient_postal_address

The recipient’s address.

string | null
recipient_ust_idnr

The number printed as the recipient’s (USt-IdNr. or Steuernummer).

string | null
rows
Array<object>
default:
object
brutto
string | number | null
/^-?\d+(\.\d+)?([eE]\d+)?$/
category
string | null
cost_center_id

The Kostenstelle of the line.

string | null format: uuid
delivered_on

Goods over a period: the day delivered.

string | null format: date
foreign_vat

A foreign VAT the issuer shows on an invoice whose tax the recipient owes (§ 13b UStG): never Vorsteuer; the base of the line is asked.

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

A service over a period: its last day counts.

boolean | null
leistungsdatum

A line performed on a day of its own; default the Leistungsdatum of the Beleg.

string | null format: date
mitbenutzung

Also used privately (an Einzelunternehmer only).

Any of:
object
assignment

For an object: ganz, anteilig or keine.

Any of:

The assignment of an object used partly privately to the business.

One of:

Wholly to the business: full Vorsteuer, the private use is an unentgeltliche Wertabgabe.

string
Allowed value: ganz
entgelt

A Personengesellschaft: the Gesellschafter pays for the use.

boolean
erstmals_verwendet

Wholly assigned: the day of the first use (default the Leistungsdatum).

string | null format: date
gesellschafter_id

A Personengesellschaft: the Gesellschafter who uses privately (gesellschafter.list).

string | null format: uuid
kind
required

What is used partly privately.

One of:

A service or a consumable (telephone contract, electricity, fuel): only the business share is supplied for the business.

string
Allowed value: laufend
months

Wholly assigned: the months the cost is spread over, as confirmed (Berichtigungszeitraum, at most 60).

integer | null format: uint32
natuerliche_person

A Personengesellschaft: whether that Gesellschafter is a natürliche Person.

boolean | null
unternehmensanteil
required

Business use in percent.

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

The Vorsteuer is only partly deductible (the purchase also serves tax-free turnover without deduction): refused until the deductible amount is decided.

boolean
steuer

The tax as the invoice shows it. Absent: computed per line to the cent, with a warning above the small-amount limit.

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

Percent; required where the Kategorie has a key per rate.

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

Profi-Ansicht: overrides the Kategorie’s key (same direction).

string | null
supply_from

The period of the line; default day: its last one.

string | null format: date
supply_to
string | null format: date
trip_documented

With vehicle: the business trip is documented (date, destination, occasion, km).

boolean
vehicle

A running cost of a vehicle (fuel): whose it is.

Any of:

Whose vehicle a fuel or vehicle cost is for.

One of:

A vehicle of the business.

string
Allowed value: company
wirtschaftsgut

The purchase of a movable asset: booked by its cost and the choice of the year (expense, GWG, Sammelposten, Anlagenverzeichnis).

Any of:
object
gehoert_zu

Not usable on its own: the Anlage it belongs to (its nachträgliche Anschaffungskosten).

string | null format: uuid
invoice_tax

Line without a rate: the tax the invoice shows.

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

The kind (asset.kinds): decides Konto, balance sheet item and Abschreibung.

string | null
land_purchase

Land: what the notarised contract says.

Any of:
string
Allowed values: taxed_by_option no_option whole_business incidental_cost
restnutzungsdauer

With gehoert_zu: that Anlage’s remaining useful life at the start of the year (R 7.4 Abs. 9 EStR).

integer | null format: uint32
selbstaendig_nutzbar
required

Usable on its own (§ 6 Abs. 2 Satz 2 EStG); else part of the Anlage in gehoert_zu.

boolean
useful_life_years

Useful life in years, required for a kind without years (§ 7 Abs. 1 EStG).

integer | null format: uint32
skonto

The agreed cash discount of the invoice (Zahlungsbedingung).

Any of:

The agreed cash discount: prozent of the gross amount when paid within tage days of the Belegdatum (no tage: the terms state no period).

object
percent
required
string | number
/^-?\d+(\.\d+)?([eE]\d+)?$/
tage
integer | null format: int64
supply_from

The period printed; default Leistungsdatum: its last day.

string | null format: date
supply_precision

As printed; default days.

Any of:

What the Beleg prints as the time of the supply: the calendar month (its last day is computed) or days.

string
Allowed values: month days
supply_sections

Sections under one total.

Array<object>
object
first_day
required
string format: date
last_day
required
string format: date
supply_to
string | null format: date
whole_month

Month printed: true all of it, false one day (leistungsdatum).

boolean | null
berichtigung_beleg_id

The corrected invoice as a Beleg, cited by the new Buchung.

string | null format: uuid
zugang
required

The day the corrected invoice (the document referring to the original’s number) arrived.

string format: date
rationale

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

string

Result

Media typeapplication/json
object
buchung_id
string | null format: uuid
next_step

When that period is transmitted already: the corrected Voranmeldung or the Jahreserklärung.

string | null
period
string | null
rueckwirkend
required

The correction works back to the original’s period.

boolean
storno_id
required
string format: uuid
vorsteuer_tag

The day the Vorsteuer counts on.

string | null format: date

Example generated

{
"buchung_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"next_step": "example",
"period": "example",
"rueckwirkend": true,
"storno_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"vorsteuer_tag": "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"
}