Request Body
Expense category. One of: travel, licensing, supplies, ce_credits, meals, lodging, uniforms, insurance, dues, parking, phone_internet, tax_prep, other.
Amount in cents. Must be ≥ 0.
Date of expense (YYYY-MM-DD).
Link to a specific assignment.
Vendor name or notes (max 500 chars).
S3 key of an uploaded receipt image.
Request
curl -X POST \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json" \
-d '{
"category": "travel",
"amount": 4500,
"date": "2025-02-15",
"description": "Gas station fill-up",
"assignment_id": 1
}' \
https://app.taxhomebase.com/api/v1/expenses
Response
Returns the created expense with status 201.
Errors
| Status | Cause |
|---|
| 400 | Invalid category, amount < 0, missing required fields, invalid assignment_id |