inventory_upsertReceipt

WRITE

Upsert receipt.

Parameters

idstringrequired
receiptIdstringrequired
locationIdstringoptional
sourceDocumentstringoptional
sourceDocumentIdstringoptional
externalDocumentIdstringoptional
sourceDocumentReadableIdstringoptional
supplierIdstringoptional

Call it

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

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

Input schema

The raw JSON Schema the tool validates its arguments against.

schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "receiptId": {
      "type": "string"
    },
    "locationId": {
      "type": "string"
    },
    "sourceDocument": {
      "type": "string"
    },
    "sourceDocumentId": {
      "type": "string"
    },
    "externalDocumentId": {
      "type": "string"
    },
    "sourceDocumentReadableId": {
      "type": "string"
    },
    "supplierId": {
      "type": "string"
    }
  },
  "required": [
    "id",
    "receiptId"
  ]
}