Timesheet icon

Timesheet

Interact with timesheet.io time tracking API

Actions153

Expense → Update Status

AI-generated

Summary

Update an expense’s refunded status in Timesheet using its ID and a refunded flag.

Inputs

  • authentication (required) — Choose API Key, OAuth2, or OAuth 2.1 (PKCE) authentication.
  • teamId — Select a team or enter its ID if teams are enabled for your profile; otherwise leave it empty.
  • expenseId (required) — ID of the expense to update.
  • refunded (required) — Whether to mark the expense as refunded; defaults to false.

Output shape

A single expense status result.

The operation updates the expense’s refunded status through the Timesheet API. The supplied source pack does not show the handler body, so the exact returned fields are unspecified.

Examples

Example 1: Setting refunded to true

Set Expense ID to the target expense and Refunded to true.

Links

Discussion