Update Expense

Updates an expense's details. This is a full update — category_id, description, date and amount must always be sent. Captured payments are not affected; use the capture-payment endpoint to record payments.

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

The expense id.

Body Params
integer
required
integer | null
string
required
string | null
string
required
string | null
number
required
≥ 0.01
integer | null

Optional purchase (input) tax — a percentage tax of the company (per-quantity taxes are rejected with 422). Send null to clear it; omit the key to leave the expense's tax unchanged.

boolean | null

Defaults to true — amount already includes the tax, which is extracted from it. When false the tax is added on top and the stored amount becomes amount + tax.

number | null
≥ 0

The tax as printed on the bill; overrides the amount computed from the tax's rate.

string | null
Headers
string
required

The merchant install this request acts on (install.store_id from the app.installed webhook).

Response

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