Skip to main content
POST
Create Bulk Expenses
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

Create Bulk Expenses Description: The /expense/bulk endpoint allows creation of multiple expense records simultaneously. Method: POST Authorization:
  • Required role: admin or higher
Request Payload:

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Body

application/json
expenses
object[]
required

Response

Created with possible errors

message
string
createdExpenses
string[]
processedCount
integer
totalAmount
number
totalAmountUSD
number
errors
string[]