Reject report

Sends a submitted report back to its submitter with a comment.

MCP tool expensify_write → reject_report

write Confirm

Rejects the whole report and posts your comment, because Expensify requires one. The submitter can fix the report and resubmit. On a multi-level workflow, return_to chooses the submitter or an earlier approver. By default you confirm each call; you can switch that off for this tool.

Parameters

Parameters: reject_report
NameTypeDescription
report_id string required string Report ID from list_reports.
comment string required string Reason shown to the submitter.
return_to string string Email of the submitter or an earlier approver. Default: the submitter.

tools/call

JSON-RPC

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "expensify_write",
    "arguments": {
      "operation": "reject_report",
      "arguments": {
        "report_id": "report_8c41d2",
        "comment": "comment"
      }
    }
  }
}

Example response

JSON

{
  "content": [
    {
      "type": "text",
      "text": "{ ... same JSON as structuredContent ... }"
    }
  ],
  "structuredContent": {
    "report_id": "R10081",
    "status": "rejected",
    "returned_to": "Marcus Lee",
    "comment": "Chipotle USD 38.00 has no receipt. Please attach it and resubmit."
  },
  "isError": false
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.