Skip to main content
PUT

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string
required

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

Pattern: ^[0-9a-fA-F]{32}$
Example:

"05b8daba9ba14a49846fe77883248cf0"

reportId
string
required

The id of the expense report to retrieve UUID without dashes (32-character hex string)

Pattern: ^[0-9a-fA-F]{32}$

Query Parameters

lang
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

application/json

Request body for sending a single expense report.

skipAttestation
boolean

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

action
enum<string>

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.

Available options:
resend,
resend-with-approval,
resend-without-approval,
return-report-to-user,
forward-without-approval
messageText
string

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

Response

The report was sent, possibly with validation warnings

Result of sending a single expense report. Validation problems are reported as warnings rather than refusing the send, which is how the endpoint has always behaved.

result
enum<string>

String, enum. Accepted values: success, warnings.

Available options:
success,
warnings
warnings
string[]

Translated validation warnings the send produced. Array of strings, empty on a clean send.