BuchhaltungsButler icon

BuchhaltungsButler

Interagiere mit der BuchhaltungsButler API

Buchungen → Transaktionsbuchung Hinzufügen

AI-generated

Summary

Fügt ein Transaktionsposting mittels JSON-Arrays für Konten, Texte, MwSt-Sätze und Beträge hinzu.

Inputs

  • transaction_id_by_customer (required) — Die ID der Transaktion. Typ: number. Pflichtfeld.
  • postingaccounts (required) — JSON-Array von Buchungskonten-Nummern, z. B. [4000, 4100]. Typ: string.
  • postingtexts (required) — JSON-Array von Buchungstexten, z. B. [Text 1, Text 2]. Typ: string.
  • vats (required) — JSON-Array von MwSt-Sätzen. Mögliche Werte: 0_none, 19_vat, 7_vat, 19_pre, 7_pre, 19_both_1, 19_both_2, 7_both, 19_both_1_no_pre, 19_both_2_no_pre, 7_both_no_pre, 19_pre_app, 7_pre_app, 19_both_app_1, 19_both_app_2, 7_both_app. Typ: string.
  • amounts (required) — JSON-Array von Beträgen im Format 0000.00, z. B. [100.00, 50.00]. Typ: string.
  • additionalFields — Zusätzliche Felder. Verfügbare Optionen: cost_locations (JSON-Array von Kostenstellen), cost_locations_two (JSON-Array von Kostenstellen 2). Typ: collection.

Output shape

Bestätigung der Transaktionsposting-Erstellung via BuchhaltungsButler API.

Die Operation ordnet den übergebenen Arrays Konten, Texte, MwSt-Sätze und Beträge einem einzelnen Transaktionsposting zu und sendet die Zusammenstellung an die API. Optional können über additionalFields Kostenstellen ergänzt werden.

Examples

Example 1: Transaktionsposting mit zwei Konten, Texten und Standard-MwSt hinzufügen

transaction_id_by_customer: 12345; postingaccounts: [4000, 4100]; postingtexts: [Lohn, Material]; vats: [19_vat, 7_vat]; amounts: [100.00, 50.00]; additionalFields: {cost_locations: [KST1]}

Links

Discussion