View as Markdown
Zoho Expense icon

Zoho Expense ACTION

Update Expense Report

Alter details in an existing expense report. See the Documentation.
  • Action
  • Writes data
  • Destructive
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Zoho Expense account once, then configure and run Update Expense Report from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "zoho_expense-update-expense-report",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    zoho_expense: { authProvisionId: "apn_xxxxxxx" },
    organizationId: "Organization ID",
    expenseReportId: "Expense Report ID",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Update Expense Report inputs
Property Type Description
organizationId Organization ID string
The ID of the organization
Required Dynamic
expenseReportId Expense Report ID string
The ID of the expense report
Required Dynamic
reportName Report Name string
The name of the report
Optional
startDate Start Date string
The start date of the report. Eg: 2019-12-01
Optional
endDate End Date string
The end date of the report. Eg: 2019-12-31
Optional
numberOfExpenses How Many Expenses integer
The number of expenses to update in the report
Required

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
zoho_expense-update-expense-report
Version
0.0.2
App
Zoho Expense
Authentication
OAuth
Read-only
No
Destructive
Yes
Open world
Yes