Create an expense

Creates a new expense resource.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Payload used to create or fully update an expense entry linked to a supplier, payment method, and expense category.

metafields
array of objects

Free-form key/value metadata attached to the resource.

metafields
string

Currency code associated with the resource.

string

Reference associated with the resource.

string

Label associated with the resource.

string

Note associated with the resource.

string

Identifier of the related activity resource.

string
required

Identifier of the related type resource.

string
required

Identifier of the related supplier resource.

string
enum
required

Payment method associated with the resource.

string
enum

Type associated with the resource.

Allowed:
string

Country of origin associated with the resource.

lines
array of objects
required
length ≥ 1

Lines of the expense, one per taxed portion of the supplier invoice. Replaces the single amount / tax_mode / tax_amount the expense used to carry: sending any of those three is refused, not ignored. The rules are identical on expenses and on recurring expenses, whose lines are copied as they are onto every expense they produce.

lines*
string
required

Expense date.

string

Bank transaction id associated with the resource.

Responses

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