Skip to main content
inputCreateSalesOrderPaymentCommandRequestInput

Fields

salesOrderId
ID!
required

The ID of the sales order to assign the payment to.

amount
Decimal!
required

Payment amount. Must be greater than 0. Stored with 2 decimal places; a third decimal is rounded.

date
DateTime

Date of the payment. Stored without a UTC offset; the offset in the request is not persisted.

paymentMethodId
ID!
required

The payment method to use. Must reference an existing payment method.

transactionType

Type of the payment transaction. Defaults to Payment when omitted.

transactionId
String

External transaction identifier, e.g. from a payment provider.

receiptNumber
String

Receipt or voucher number / Belegnummer.

isDownPayment
Boolean

Whether this payment is a down payment / Anzahlung. Defaults to false when omitted.

comment
String

Free-text comment / Anmerkung.

glAccount
String

G/L account override / Buchungskonto. Overrides the default from the payment method.

idempotencyKey
String

Client-supplied idempotency key. When provided, a repeated request with the same key and payload replays the original result instead of re-executing the mutation.