Add Expense
Adding new expenses may be obtained using this endpoint. For emphasis on specific results, you can add the following parameters when creating new expenses.
Endpoint
POST
https://app.xtrakit.com/api/v1/expenses/add
Headers
Authorization: Bearer API_KEY
Body Parameters
Parameters
Type
Description
expense_type
string
Required
The type of the expense.
expense_description
string
Optional
A detailed description of the expense.
expense_amount
decimal(10,2)
Required
The amount of the expense in this format: 10.00
payment_method
string
Required
The method used for payment.
expense_image
string
Optional
URL to an image or receipt associated with the expense.
created_by
string
Required
The user who created the record.
Sample Requests
Sample Response
Last updated