Set master data of the Mandant: name, Anschrift, Steuernummer, USt-IdNr., Finanzamt, register data. Fields left out stay. After the first Meldung a change of name, Steuernummer or USt-IdNr. needs a Begründung.
curl --request POST \ --url https://example.com/v1/commands/master_data.set \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "dry_run": false, "origin": { "display_name": "example", "id": "example", "kind": "example" }, "payload": { "betriebsnummer": null, "city": null, "display_name": null, "finanzamt": null, "postal_code": null, "registergericht": null, "registernummer": null, "sitzverlegung": null, "steuernummer": null, "street": null, "unternehmernummer": null, "ust_idnr": null, "wirtschafts_idnr": null, "zugegangen_am": null }, "rationale": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”A repeated key returns the first result without running the Command again.
The Mandant a session acts on; an API-Schlüssel is bound to its own.
Request Body
Section titled “Request Body”object
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.
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).
Master data that are simply changed (the change is in the Command-Log). Steuernummer and USt- IdNr. are stored as entered; a Steuernummer of 13 digits (ELSTER format) must pass the formal checks. The Mandantenart is not among them; it is fixed at creation.
object
Betriebsnummer of the Bundesagentur für Arbeit.
A move of seat or management (§ 137 AO): the day of each event raises its one-month Frist, and the Änderung der Adresse drafts the notice with the new Anschrift. Days left out keep those given before; the former Anschrift, seat, Finanzamt and Steuernummer are kept from the first call.
The days of a move as given in master_data.set.
object
The day the Gesellschafter resolved to move the seat. It starts no Frist: the change of the Gesellschaftsvertrag takes effect only with its entry (§ 54 Abs. 3 GmbHG).
The day the management actually works at the new Anschrift (§ 10 AO).
The new seat (town) as in the Gesellschaftsvertrag.
The Finanzamt at the new place of management, when known.
The day the new seat was entered in the Handelsregister.
The Anschrift of the Mandant (§ 14 Abs. 4 Satz 1 Nr. 1 UStG).
Unternehmernummer of the Unfallversicherung.
Wirtschafts-Identifikationsnummer; it begins with “DE” (§ 139c Abs. 1 AO).
The day the numbers given in this call arrived (the letter of the Finanzamt, the BZSt, the Berufsgenossenschaft or the Bundesagentur); kept per number.
Why the Actor issues this; stored in the Command-Log.
Responses
Section titled “Responses”Result
Master data that are simply changed (the change is in the Command-Log). Steuernummer and USt- IdNr. are stored as entered; a Steuernummer of 13 digits (ELSTER format) must pass the formal checks. The Mandantenart is not among them; it is fixed at creation.
object
Betriebsnummer of the Bundesagentur für Arbeit.
A move of seat or management (§ 137 AO): the day of each event raises its one-month Frist, and the Änderung der Adresse drafts the notice with the new Anschrift. Days left out keep those given before; the former Anschrift, seat, Finanzamt and Steuernummer are kept from the first call.
The days of a move as given in master_data.set.
object
The day the Gesellschafter resolved to move the seat. It starts no Frist: the change of the Gesellschaftsvertrag takes effect only with its entry (§ 54 Abs. 3 GmbHG).
The day the management actually works at the new Anschrift (§ 10 AO).
The new seat (town) as in the Gesellschaftsvertrag.
The Finanzamt at the new place of management, when known.
The day the new seat was entered in the Handelsregister.
The Anschrift of the Mandant (§ 14 Abs. 4 Satz 1 Nr. 1 UStG).
Unternehmernummer of the Unfallversicherung.
The identity of the Mandant before a change: name, Steuernummer, USt-IdNr. (I-26). The Command-Log keeps it with the new values.
object
Wirtschafts-Identifikationsnummer; it begins with “DE” (§ 139c Abs. 1 AO).
A USt-IdNr. received by 30.11.2024 is also the Wirtschafts-Identifikationsnummer with -00001 (§ 1 Abs. 2 WIdV): proposed while none is recorded; confirm it with wirtschafts_idnr.
The day the numbers given in this call arrived (the letter of the Finanzamt, the BZSt, the Berufsgenossenschaft or the Bundesagentur); kept per number.
Example
{ "betriebsnummer": null, "city": null, "display_name": null, "finanzamt": null, "postal_code": null, "registergericht": null, "registernummer": null, "sitzverlegung": null, "steuernummer": null, "street": null, "unternehmernummer": null, "ust_idnr": null, "wirtschafts_idnr": null, "zugegangen_am": null}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"}