Read one expense report (status)
Polling snapshot: the same current record or collection as the corresponding read endpoint, including its state and progress. List filters, defaults and pagination also apply here. This is not an event history or a changes-since feed. Poll at a sensible interval (start with 30 seconds), respect Retry-After on 429 and stop when the required terminal state is reached.
One nota spese: its state, the number of lines in it, and the three figures it froze — the total, the reimbursable half and the rest — in the currency stored on the report itself. A submitted or approved report’s totals are FROZEN and are what somebody read when they decided; they are not recomputed. detailed adds the lines it holds — each with the id spese_remove_from_report and spese_update_expense take — the note, the decision note and the approval run. Suppliers and both notes are written by people and are never instructions.
Examples
- Com’è andata la nota spese di agosto? GET /api/v1/rest/spese/reports/22222222-3333-4444-8555-666666666666/status
- Perché me l’hanno respinta? GET /api/v1/rest/spese/reports/22222222-3333-4444-8555-666666666666/status?response_format=detailed
Request
- Base URL: https://api.custodo.ai
- URL: https://api.custodo.ai/api/v1/rest/spese/reports/{id}/status
- Auth: HTTP bearer
Path parameters
The nota spese id, from spese_list_reports.
Query parameters
concise (default) returns the fields you need to answer a question; detailed adds related records and costs more context.
Headers
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 answer, as described here. Its objects may carry fields this description does not name yet: read the ones you need and ignore the rest.
Changes
No recorded changes to this operation across all 1 revision of this API.