> ## Documentation Index
> Fetch the complete documentation index at: https://developer.jtl-software.com/llms.txt
> Use this file to discover all available pages before exploring further.

# MovePaymentToSalesOrderCommandRequestInput

> Moves a payment to the sales order recorded on it, for example a payment of an invoice that belongs on the order. The amount counts for the order from then on. Moving a payout away from an invoice or an invoice correction raises the paid amount of the invoice, which can then become fully paid and start its workflows. Errors: PAYMENT_NOT_FOUND (the payment was not found); PAYMENT_HAS_NO_SALES_ORDER (no sales order is recorded on the payment); PAYMENT_CANNOT_BE_MOVED (the payment cannot be moved. The error lists the blocker codes: PAYMENT_BOOKED_BY_REFUND). - Request



**Kind**: `input`

## Fields

**`paymentId`**: `ID!` (required)

The ID of the payment.

---

**`disableAutomaticWorkflows`**: `Boolean`

Whether to suppress the workflows this call would start because a sales order or a sales invoice becomes fully paid. Defaults to false when omitted.

---

**`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.

