DELETE /api/accrued-expenses/:id
Deletes an existing manual expense. Only expenses withtipo_origen: MANUAL can be deleted. XML-imported expenses cannot be removed through this endpoint.
Authentication
This endpoint requires authentication. Include your access token in the request cookies.Path Parameters
Unique identifier of the expense to delete
Response
Success message confirming deletion
Example Request
Example Response
Error Responses
Authentication required or token expired
Attempting to delete an XML-imported expense
User does not have permission to delete this expense
Expense not found
Server error occurred
This operation is permanent and cannot be undone. Ensure you want to delete the expense before making this request.