Put expenses into an expense report
Moves lines into a nota spese and restates its three totals in the same breath. The report has to be open — a draft or a rejected one — and every line has to belong to the report’s owner, be complete, already be converted into the company’s currency, and carry a proof of payment where the company demands one. ⚠ ALL OR NOTHING: if one line is refused, none of them move, and the answer says which line and why. A line already in THIS report is not an error — putting it in twice is one act. A line in ANOTHER report is refused and never taken from it.
Request
- Base URL: https://api.custodo.ai
- URL: https://api.custodo.ai/api/v1/rest/spese/reports/{id}/expenses
- Auth: HTTP bearer
Path parameters
The nota spese id, from spese_list_reports.
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.
Request body
Response
Done. data is the tool’s own answer.
Changes
No recorded changes to this operation across all 1 revision of this API.