The
/expense/bulk
endpoint allows creation of multiple expense records simultaneously.
Method:POST
Request Payload:
Parameter | Type | Description |
---|---|---|
expenses | array | Array of expense objects |
Authentication
This endpoint requires authentication. Include your bearer token in the Authorization header.Request Body
Example Request
Request Schema
Field | Type | Required | Description |
---|---|---|---|
expenses | array | ✅ |
Responses
✅ 201 - Created with possible errors
⚠️ 401 - Unauthorized
❌ 500 - Internal Server Error
Tags
Expense
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Body
application/json