Skip to main content
POST
/
api
/
v1
/
tax-home-costs
Create Tax Home Cost
curl --request POST \
  --url https://api.example.com/api/v1/tax-home-costs \
  --header 'Content-Type: application/json' \
  --data '
{
  "category": "<string>",
  "amount": 123,
  "month": 123,
  "year": 123
}
'

Request Body

category
string
required
Cost category: rent, utilities, insurance, or return_trips.
amount
integer
required
Amount in cents. Must be ≥ 0.
month
integer
required
Month (1–12).
year
integer
required
Year (YYYY).

Response

Returns the created cost with status 201.

Errors

StatusCause
400Invalid category, amount < 0, invalid month or year