Skip to main content
POST
Create a expense

Authorizations

Authorization
string
header
required

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

Body

application/json
currency_id
string
required
category_id
string
required
amount
number
required
Required range: x >= 0.01
date
string<date> | null
asset_account_id
string | null

Response

200 - application/json

Successful response

id
string
kind
enum<string>
Available options:
expense,
income
date
string<date> | null
currency_id
string
currency_code
string | null
base_currency_id
string
base_currency_code
string | null
category_id
string | null
asset_account_id
string | null
amount
number
base_amount
number
fx_rate
number
is_locked
boolean
lines
object[]
created_at
string<date-time> | null
updated_at
string<date-time> | null
deleted_at
string<date-time> | null