invoicing_insertSalesInvoice

WRITE

Insert sales invoice.

Parameters

customerIdstringrequired
invoiceIdstringoptional
customerReferencestringoptional
paymentTermIdstringoptional
currencyCodestringoptional
locationIdstringoptional
invoiceCustomerIdstringoptional
invoiceCustomerContactIdstringoptional
invoiceCustomerLocationIdstringoptional
dateIssuedstringoptional
dateDuestringoptional
exchangeRatenumberoptional
exchangeRateUpdatedAtstringoptional
customFieldsanyoptional

Call it

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

call_tool
call_tool({
  "name": "invoicing_insertSalesInvoice",
  "arguments": {
    "customerId": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

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