Expenses

Send an expense report for approval

Sends the nota spese: it freezes the three totals and the currency, stamps the moment it left, and hands it to the approval flow. This is a claim for money in somebody’s name and it leaves their hands when it is sent — show the user the total and the number of lines and get an explicit yes first. An empty report is refused, and so is one holding a line that is not complete: the answer names the line and what it is missing. A report that was rejected can be sent again — that opens a NEW round and clears the previous decision.

Examples

  • Invia la nota spese di settembre POST /api/v1/rest/spese/reports/22222222-3333-4444-8555-666666666666/submit
post/api/v1/rest/spese/reports/{id}/submit

Request

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