Marks a given sales order as completely paid by creating a payment with the open amount of the sales order.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Headers
The tenant ID for the target ERP instance.
The User-Id (int or uuid) on whose behalf the request is executed. Requires scope 'Application.RunAs'.
The Company-Id (int or uuid) of the company on whose behalf the request is executed.
Path Parameters
"b45f6432-2462-4c6f-b00f-1d9d01000000"
Body
Request parameters
Marks a given sales order as completely paid by creating a payment with the open amount of the sales order. - Request
Unique ID of the sales order to be marked as paid.
"b45f6432-2462-4c6f-b00f-1d9d01000000"
Date when the payment was made. If not provided, the current date and time will be used.
ID of the payment method to be used for the payment. If not provided, the default payment method will be used.
"b45f6432-2462-4c6f-b00f-1d9d01000000"
Whether to distribute the payment to associated invoices. If not provided, it will default to true.
Comment for the payment. If not provided, no comment will be added to the payment.
Whether to send a confirmation email after payment processing. If not provided, it will default to false.
Response
Sales order was successfully marked as paid.