Expenses

Rename an expense report

Renames a nota spese, or rewrites or clears its note. Only while it is open — draft or rejected: the name is what an approver reads on the task, so a report that has left keeps it, and the refusal says the state it found. It changes no money and moves no line. The caller renames their own reports, and whoever manages the company’s expenses anybody’s.

patch/api/v1/rest/spese/reports/{id}

Request

  • Base URL: https://api.custodo.ai
  • URL: https://api.custodo.ai/api/v1/rest/spese/reports/{id}
  • Auth: HTTP bearer

Path parameters

idstring uuid required

The nota spese id, from spese_list_reports.

Headers

X-Tenant-Idstring uuid

The organisation to act in. An API key is bound to exactly one, so this is optional for a key and must match the one it was minted for.

Request body

namestring

The new name.

notestring nullable

The new note, in place of the old one. null clears it.

Response

Done. data is the tool’s own answer.

oktrue required
dataunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.