API referenceReferenceExpense claims
Create an expense claim with its first receipt
One transaction. A failed receipt leaves no claim and uses no number.
Path Parameters
business_slug*string
Business slug that scopes this request. If you do not have one yet, call common_accessible_businesses_list and pick a slug from the response.
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Multipart form for an expense. Only describes the request in the schema.
Response Body
application/json
curl -X POST "https://example.com/v1/business/string/expense_claims/new/expenses/"{ "id": 0, "trip_id": 0, "merchant": "string", "purchase_date": "2019-08-24", "description": "string", "category": "TRAVEL_TICKETS", "amount": 0, "tags": [ { "id": 0, "name": "string", "color": "string" } ], "vat_rows": [ { "id": 0, "vat_rate": "string", "gross_amount": 0.1, "vat_amount": 0.1 } ], "attachment": { "id": 0, "name": "string", "type": "string", "analysis_status": "string" }, "reading": { "status": "string", "merchant": "string", "purchase_date": "2019-08-24", "amount": 0, "suggested_category": "TRAVEL_TICKETS", "vat_rows": [ { "vat_rate": "string", "gross_amount": 0.1, "vat_amount": 0.1 } ] }}