Harvest update invoice

harvest__update_invoice

Access

Requires a project integration connection for harvest.

Call type: Can change resources.

Arguments

FieldTypeRequiredDescription and constraints
account_idstringYesHarvest Account ID (get it from harvest__list_accounts)
invoiceIdnumberYesHarvest invoice ID
subjectstringNoUpdated subject
notesstringNoUpdated notes
issue_datestringNoUpdated issue date (YYYY-MM-DD)
due_datestringNoUpdated due date (YYYY-MM-DD)
line_itemsvalue[]NoUpdated line items

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "harvest__update_invoice",
    "arguments": {
      "account_id": "example",
      "invoiceId": 0
    }
  }
}

Result

No output schema is published for this tool. The input contract does not define its return fields. Inspect the MCP response content and isError; do not assume a fixed object shape. See the harvest integration reference for provider setup and tool context.

Full schemas

json
{
  "type": "object",
  "properties": {
    "account_id": {
      "type": "string",
      "description": "Harvest Account ID (get it from harvest__list_accounts)"
    },
    "invoiceId": {
      "type": "number",
      "description": "Harvest invoice ID"
    },
    "subject": {
      "type": "string",
      "description": "Updated subject"
    },
    "notes": {
      "type": "string",
      "description": "Updated notes"
    },
    "issue_date": {
      "type": "string",
      "description": "Updated issue date (YYYY-MM-DD)"
    },
    "due_date": {
      "type": "string",
      "description": "Updated due date (YYYY-MM-DD)"
    },
    "line_items": {
      "type": "array",
      "description": "Updated line items"
    }
  },
  "required": [
    "account_id",
    "invoiceId"
  ],
  "description": "Arguments for the harvest__update_invoice tool."
}