Update expense

Do you want to update an expense using the standardized fields, use this endpoint.

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

The id of the expense to retrieve

Query Params
boolean

When true, saves the report even if non-blocking validation warnings exist; validation errors still abort. Defaults to false.

string
enum

No request body allowed when using action parameter

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

Parameter required to be used when action=merge is passed. This parameter represents the id of loose expense record that is not created based on card transaction, nor belongs to some expense report and it is in one of the statuses [NEW, NORMAL, APPROVAL, REJECTED]

Body Params

ExpenseRecord format

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

UUID without dashes (32-character hex string)

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

UUID without dashes (32-character hex string)

verification

The expense-type-specific payload — receipt details, mileage details, per-diem details, or food-benefit details. Shape selected by the nested type discriminator.

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

UUID without dashes (32-character hex string)

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