sales_upsertSalesOrderPayment

WRITE

Upsert sales order payment.

Parameters

idstringrequired
paymentCompletestringrequired
invoiceCustomerIdstringoptional
invoiceCustomerLocationIdstringoptional
invoiceCustomerContactIdstringoptional
paymentTermIdstringoptional
currencyCodestringoptional

Call it

Invoke it through the call_tool meta-tool with its arguments:

call_tool
call_tool({
  "name": "sales_upsertSalesOrderPayment",
  "arguments": {
    "id": "string",
    "paymentComplete": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "invoiceCustomerId": {
      "type": "string"
    },
    "invoiceCustomerLocationId": {
      "type": "string"
    },
    "invoiceCustomerContactId": {
      "type": "string"
    },
    "paymentTermId": {
      "type": "string"
    },
    "paymentComplete": {
      "type": "string"
    },
    "currencyCode": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "paymentComplete"
  ]
}