One Geschäftspartner with its Rechnungen, Offene Posten and Buchungen.
curl --request POST \ --url https://example.com/v1/queries/business_partner.get \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "origin": { "display_name": "example", "id": "example", "kind": "example" }, "payload": { "business_partner_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }, "rationale": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Header Parameters
Section titled “Header Parameters”The Mandant a session acts on; an API-Schlüssel is bound to its own.
Request Body
Section titled “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": { "business_partner_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }, "rationale": "example"}Responses
Section titled “Responses”Result
object
Gesellschafter, Geschäftsführer or nahestehende Person of the Mandant.
How a Geschäftspartner stands to the Mandant, for the flag of a verdeckte Gewinnausschüttung (§ 8 Abs. 3 Satz 2 KStG, R 8.5 KStR 2022): a Buchung with such a partner is a trigger the person looks at, never an amount.
Sets the relation back to none (never stored).
object
The stored proof of the business status of a Kunde outside the EU: without it a service outside the catalog of § 3a Abs. 4 UStG is treated as one to a non-business.
object
The Beleg that holds it.
The day of the proof.
A juristische Person that is no business (a public authority, a Verein with only its ideal purpose): the six-month duty of § 14 Abs. 2 Satz 2 Nr. 2 UStG applies; with a USt-IdNr. of another EU state the place is that of a business (§ 3a Abs. 2 Satz 3 UStG).
Nothing states it (a payment platform names only the person): allowed for a Kunde at home on a
small invoice (unknown_allowed); every rule that depends on the kind takes the careful side.
Where a payment to or from the partner goes: set only by business_partner.set_bank_details (administration), never by create, update or import.
object
BT-10 of an XRechnung for a public buyer.
object
Bis_30, 31_60, 61_90, ueber_90 (a classification of the product).
The write-off of the remainder: {buchung_id, datum, grund, betrag}, else null.
object
object
Buchung or storno.
object
Posted at payment under Istversteuerung.
The Buchung is a Generalumkehr (imported, insert-only mark): this line counts as a minus
on the other side in every Verkehrszahl (verkehr). Shown only when set.
For a line posted at payment: the deciding day of the Rechnung under Soll.
The day that decides the Meldezeitraum.
Due date, where the source carried one (an imported invoice).
The buchung_id of the Buchung that created it.
object
Negative for a returned payment.
The Bankumsätze linked to the payment Buchung.
The payment Buchung.
Its Buchung was reversed; it no longer counts.
Offen, ausgeglichen, guthaben.
A Verbindlichkeit: the debtor’s correction of the Vorsteuer for uncollectability (payable.write_off; the debt stays open): {buchung_id, datum, grund, betrag}.
object
Qualified query: per field (firmenname, strasse, plz, ort) A matches, B differs, C not asked, D not given by the member state.
object
The offline format check against the table per member state (no check digit exists).
Einfach, qualifiziert or format.
Fake (decuma dev), bzst (the official service), nur_formatpruefung (a German number, or no own German USt-IdNr. to ask with), nicht_verfuegbar (no service in this installation).
Bestaetigt, ungueltig or nicht_moeglich.
The service’s status code (evatr-0000 …) and its record id.
Example
{ "beziehung": null, "bic": null, "business_status_proof": null, "cash_discount_percent": null, "customer_kind": "unternehmer", "customer_number": null, "e_invoice": null, "iban": null, "leitweg_id": null, "offene_posten": [ { "buchung": { "rows": [ { "role": "basis", "side": "debit" } ] }, "kind": "forderung" } ], "roles": [ "kunde" ], "sitz": "inland", "ustid_pruefung": { "abgleich": {}, "format_valid": null, "id": null, "kind": null, "status": 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"}