CreateDocumentPaymentRequest (object)
| Feld | Typ | Beschreibung |
|---|---|---|
| amount_cents* | integer | Signed; positive = incoming, negative = outgoing (e.g. credit note payout) |
| bank_account_id | integer | Required when bank_transaction_id is omitted; the bank account in which to create the new transaction. |
| bank_transaction_id | integer | Link payment to an existing bank transaction. If omitted, bank_account_id is required and a new transaction is created in that account. |
| counterparty_name | string | Counterparty (Auftraggeber/Empfänger) for a newly created manual bank transaction. Ignored when bank_transaction_id is set. |
| currency_code | string | — |
| note | string | Optional note on the payment record (not the bank transaction reference). |
| payment_date* | string | Date in Y-m-d format |
| reference | string | Bank transaction reference (Verwendungszweck) when a new manual transaction is created. Ignored when bank_transaction_id is set. |
Beispiel (JSON)
{
"bank_transaction_id": 0,
"bank_account_id": 0,
"payment_date": "2025-01-14T00:00:00.000Z",
"amount_cents": 0,
"currency_code": "string",
"note": "string"
}