V0 - Update report status
deprecated
Legacy (V0). This endpoint belongs to the legacy Admin API and is kept for existing integrations. For new integrations, use the Admin API v1 where it has an equivalent endpoint.
Sets an expense report’s lifecycle status to the value in the {status} path segment — used by admin tools and integrations to push reports between states (e.g. marking as SENT after a payroll export).
PUT
/
expensereports
/
{reportId}
/
setstatus
/
{status}
V0 - Update report status
curl --request PUT \
--url https://stage-expense.findity.com/api/admin/expensereports/{reportId}/setstatus/{status} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: text/plain'import requests
url = "https://stage-expense.findity.com/api/admin/expensereports/{reportId}/setstatus/{status}"
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "text/plain"
}
response = requests.put(url, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'text/plain'}
};
fetch('https://stage-expense.findity.com/api/admin/expensereports/{reportId}/setstatus/{status}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://stage-expense.findity.com/api/admin/expensereports/{reportId}/setstatus/{status}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: text/plain"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://stage-expense.findity.com/api/admin/expensereports/{reportId}/setstatus/{status}"
req, _ := http.NewRequest("PUT", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "text/plain")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://stage-expense.findity.com/api/admin/expensereports/{reportId}/setstatus/{status}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "text/plain")
.asString();require 'uri'
require 'net/http'
url = URI("https://stage-expense.findity.com/api/admin/expensereports/{reportId}/setstatus/{status}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'text/plain'
response = http.request(request)
puts response.read_body{
"id": "f328e47d595c40ad80f27f52626c5b92",
"name": "Expense Report May 2026",
"status": "SENT",
"lastUpdated": "2026-05-14T11:45:02Z",
"externalVoucherNumber": "V-2026-0814",
"bookingDate": "2026-05-14"
}{
"result": "error",
"code": "INVALID_STATUS",
"description": "Unknown status value 'foobar'. Expected one of NEW, NORMAL, SEND, SENT, APPROVAL, APPROVED, REJECTED, ERROR, PAID, READY_TO_SEND."
}Authorizations
Headers
Path Parameters
Response
OK
Last modified on November 19, 2026
Was this page helpful?
⌘I
V0 - Update report status
curl --request PUT \
--url https://stage-expense.findity.com/api/admin/expensereports/{reportId}/setstatus/{status} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: text/plain'import requests
url = "https://stage-expense.findity.com/api/admin/expensereports/{reportId}/setstatus/{status}"
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "text/plain"
}
response = requests.put(url, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'text/plain'}
};
fetch('https://stage-expense.findity.com/api/admin/expensereports/{reportId}/setstatus/{status}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://stage-expense.findity.com/api/admin/expensereports/{reportId}/setstatus/{status}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: text/plain"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://stage-expense.findity.com/api/admin/expensereports/{reportId}/setstatus/{status}"
req, _ := http.NewRequest("PUT", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "text/plain")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://stage-expense.findity.com/api/admin/expensereports/{reportId}/setstatus/{status}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "text/plain")
.asString();require 'uri'
require 'net/http'
url = URI("https://stage-expense.findity.com/api/admin/expensereports/{reportId}/setstatus/{status}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'text/plain'
response = http.request(request)
puts response.read_body{
"id": "f328e47d595c40ad80f27f52626c5b92",
"name": "Expense Report May 2026",
"status": "SENT",
"lastUpdated": "2026-05-14T11:45:02Z",
"externalVoucherNumber": "V-2026-0814",
"bookingDate": "2026-05-14"
}{
"result": "error",
"code": "INVALID_STATUS",
"description": "Unknown status value 'foobar'. Expected one of NEW, NORMAL, SEND, SENT, APPROVAL, APPROVED, REJECTED, ERROR, PAID, READY_TO_SEND."
}
