Send an expense report

Sends a single expense report to its recipient. Validation problems do not refuse the send, they come back as warnings with a 200, which is how this endpoint has always behaved.
This is its own path rather than an action on the report resource because it carries its own permission: it is available to roles that may send a report without being allowed to edit it.

Path Params
string
required
^[0-9a-fA-F]{32}$

The unique identifier of the organization. String, UUID format (32-character hexadecimal). Required.

string
required
^[0-9a-fA-F]{32}$

The id of the expense report to retrieve

Query Params
string

Locale the warnings in the response are translated to. String, language variant such as sv_SE. Optional, the request locale is used when omitted.

Body Params

Request body for sending a single expense report.

boolean

Set to true to send the report without attestation. Boolean. Optional, defaults to false.

string
enum

Which flavour of send this is. String, enum. Accepted values: resend, resend-with-approval, resend-without-approval, return-report-to-user, forward-without-approval. Optional, omit it for a plain send.

Allowed:
string

Message to include with the report, used by the resend and return flavours. String, no maximum length is enforced. Optional.

Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json