invoicing_insertPurchaseInvoice

WRITE

Insert purchase invoice.

Parameters

supplierIdstringrequired
invoiceIdstringoptional
supplierReferencestringoptional
paymentTermIdstringoptional
currencyCodestringoptional
locationIdstringoptional
invoiceSupplierIdstringoptional
invoiceSupplierContactIdstringoptional
invoiceSupplierLocationIdstringoptional
dateIssuedstringoptional
dateDuestringoptional
exchangeRatenumberoptional
exchangeRateUpdatedAtstringoptional
customFieldsanyoptional

Call it

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

call_tool
call_tool({
  "name": "invoicing_insertPurchaseInvoice",
  "arguments": {
    "supplierId": "string"
  }
})

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "supplierId": {
      "type": "string"
    },
    "invoiceId": {
      "type": "string"
    },
    "supplierReference": {
      "type": "string"
    },
    "paymentTermId": {
      "type": "string"
    },
    "currencyCode": {
      "type": "string"
    },
    "locationId": {
      "type": "string"
    },
    "invoiceSupplierId": {
      "type": "string"
    },
    "invoiceSupplierContactId": {
      "type": "string"
    },
    "invoiceSupplierLocationId": {
      "type": "string"
    },
    "dateIssued": {
      "type": "string"
    },
    "dateDue": {
      "type": "string"
    },
    "exchangeRate": {
      "type": "number"
    },
    "exchangeRateUpdatedAt": {
      "type": "string"
    },
    "customFields": {}
  },
  "required": [
    "supplierId"
  ]
}