Expenses

Mark an expense report as reimbursed

Records that the money was actually paid back. This is the end of the story and there is no way back from it, so confirm with the user before calling it. ⚠ ONLY A REPORT THAT HAS BEEN APPROVED can be reimbursed — approving is the approval flow’s act, not this one — and anything else is refused with the state it found. It needs the grant that manages the company’s expenses, which the person being paid normally does not hold.

Examples

  • Ho pagato il rimborso a Rossi, segnalo POST /api/v1/rest/spese/reports/22222222-3333-4444-8555-666666666666/reimburse
post/api/v1/rest/spese/reports/{id}/reimburse

Request

  • Base URL: https://api.custodo.ai
  • URL: https://api.custodo.ai/api/v1/rest/spese/reports/{id}/reimburse
  • 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.

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.