Actions33
- Einstellungen Actions
- Transaktionen Actions
- Belege Actions
- Rechnungen Actions
- Buchungen Actions
Buchungen → Belegbuchung Hinzufügen
AI-generatedSummary
Fügt einem Beleg einen Posten mit Konten, Texten, Steuersätzen und Beträgen hinzu.
Inputs
- receipt_id_by_customer (required) — Die ID des Belegs.
- postingaccounts (required) — JSON-Array von Buchungskonten-Nummern, z. B. [4000, 4100].
- postingtexts (required) — JSON-Array von Buchungstexten, z. B. [Text 1, Text 2].
- 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.
- amounts (required) — JSON-Array von Beträgen im Format 0000.00, z. B. [100.00, 50.00].
- additionalFields — Zusätzliche Felder. creditor: Kreditor-Nummer (erforderlich bei Eingangsrechnungen), debtor: Debitor-Nummer (erforderlich bei Ausgangsrechnungen), cost_locations: JSON-Array von Kostenstellen, cost_locations_two: JSON-Array von Kostenstellen 2.
Output shape
API-Antwortobjekt mit success, message und Daten
Gibt die Bestätigung der Belegbuchung oder das erstellte Posting-Objekt zurück.
Examples
Example 1: Eingangsrechnung mit Kreditor und Kostenstellen
receipt_id_by_customer: 123, postingaccounts: [4000], postingtexts: [Leistung], vats: [19_vat], amounts: [100.00], additionalFields: { creditor: 100, cost_locations: [KST1] }