The analysis of an Umstieg, without posting: files, period, Buchungen, Konten, mapping questions, lines to correct, the balance check against the old program's list, the Voranmeldungszeiträume before the cut and the checklist; analyse_hash for migration.apply.
curl --request POST \ --url https://example.com/v1/queries/migration.analysis \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "origin": { "display_name": "example", "id": "example", "kind": "example" }, "payload": { "umstieg_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }, "rationale": "example" }'Authorizations
Abschnitt betitelt „Authorizations“Parameters
Abschnitt betitelt „Parameters“Header Parameters
Abschnitt betitelt „Header Parameters“The Mandant a session acts on; an API-Schlüssel is bound to its own.
Request Body
Abschnitt betitelt „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).
object
Why the Actor issues this; stored in the Command-Log.
Example generated
{ "origin": { "display_name": "example", "id": "example", "kind": "example" }, "payload": { "umstieg_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }, "rationale": "example"}Responses
Abschnitt betitelt „Responses“Result
object
Over the state of the analysis; migration.apply carries it.
The documents; belege_linked hang at an imported Buchung, belege_to_inbox go to the
Eingang with a Rückfrage.
A document of the previous program added to an Umstieg.
object
Imported Buchungen it belongs to (filled by the analysis); none: the file goes to the Eingang with a Rückfrage when applying.
A document of a Belegpaket: its GUID, matched with the Beleglink of the Buchungen.
object
Offen, erledigt or spaeter.
The contacts files; applying creates contacts_new partners.
A contacts file of an Umstieg: what business_partner.import reads, kept until applying.
object
Bank accounts of the file per partner number: set by applying, through business_partner.set_bank_details as the person who applies, on new partners only. Part of the analysis and so of the hash the person applies.
object
The partner’s name as in the file.
Rows that match a partner (by USt-IdNr., number or name) already there or earlier in the file: the partner stays unchanged, nothing is merged.
Rows that become a new Geschäftspartner.
Partner number to name: an imported Personenkonto of that number takes the name.
object
Questions of a DATEV-Format file (a payment term it does not settle): the partner is created without it.
A question of the contacts import: rolle or zahlungsziel of one Konto.
object
SHA-256 of the file as added (a DATEV file: the original, not the CSV made from it).
The Actor who added the file.
The opening entries of the files (against a Vortragskonto).
The opening entries of a batch: the lines against a Vortragskonto, their balances (Soll minus Haben) and whether they cancel out.
object
object
object
object
Extern_abgegeben, nicht_abgegeben, bereits_erfasst (recorded or transmitted before) or none (unanswered).
Recomputed from the imported Buchungen.
Own Konten created when applying.
Invoices on Personenkonten not settled by an imported payment of the same Belegfeld 1: they become Offene Posten when applying.
object
object
Bu (a BU-Schlüssel without own Steuerschlüssel), konto_steuer (an account with a tax meaning, used without a key: automatic function in the old program?), konto (an account the Kontenrahmen does not know), zeile (a line: net account or tax).
Lines it concerns.
Nothing is open: the Umstieg can be applied.
object
The balance of the old program (Summen- und Saldenliste).
The balance after the import.
Gleich, akzeptiert or offen.
Offen, angewendet or zurueckgenommen.
Remembered answers that differ from the table of the year: they stay in force and are listed for confirmation.
object
The BU-Schlüssel or the account.
Example
{ "belege": [ { "buchungen": 0, "guid": null } ], "contacts": [ { "assignment": null, "bank_details": [], "customer_kind": null, "numbers": {}, "questions": [], "source_hash": "", "uploaded_by": null } ]}default
Abschnitt betitelt „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"}