invoicing_updateSalesInvoice

WRITE

Update sales invoice.

Parameters

idstringrequired
invoiceIdstringoptional
customerIdstringoptional
customerReferencestringnulloptional
paymentTermIdstringnulloptional
currencyCodestringoptional
locationIdstringoptional
invoiceCustomerIdstringnulloptional
invoiceCustomerContactIdstringnulloptional
invoiceCustomerLocationIdstringnulloptional
dateIssuedstringnulloptional
dateDuestringnulloptional
exchangeRatenumberoptional
exchangeRateUpdatedAtstringoptional
customFieldsanyoptional

Call it

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

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

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "invoiceId": {
      "type": "string"
    },
    "customerId": {
      "type": "string"
    },
    "customerReference": {
      "type": [
        "string",
        "null"
      ]
    },
    "paymentTermId": {
      "type": [
        "string",
        "null"
      ]
    },
    "currencyCode": {
      "type": "string"
    },
    "locationId": {
      "type": "string"
    },
    "invoiceCustomerId": {
      "type": [
        "string",
        "null"
      ]
    },
    "invoiceCustomerContactId": {
      "type": [
        "string",
        "null"
      ]
    },
    "invoiceCustomerLocationId": {
      "type": [
        "string",
        "null"
      ]
    },
    "dateIssued": {
      "type": [
        "string",
        "null"
      ]
    },
    "dateDue": {
      "type": [
        "string",
        "null"
      ]
    },
    "exchangeRate": {
      "type": "number"
    },
    "exchangeRateUpdatedAt": {
      "type": "string"
    },
    "customFields": {}
  },
  "required": [
    "id"
  ]
}