Create a new expense (fields format of expense record)

This endpoint is using the payload from the fields endpoint to create a new expense.

Query Params
string
required

Info about the structure passed in the body of request

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

The id of the organization

string
enum
required

The expense type of the expense

Allowed:
include
array of strings

optional properties to include

include
boolean

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

Body Params

Fields format of expense record

fields
array of objects

Field-builder array describing the editable properties of the resource. Each entry pairs a property name with a value and any errors.

fields
validationErrors
array of objects

Response-only. Server-populated array of validation errors that apply to the resource as a whole (not tied to a specific field).

validationErrors
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