v1

latestOpenAPI 3.1.02026-08-06236494759.4 KB
Expense Reports

Update Expense Report

Endpoint to update a specific ExpenseReport.

put/business/v2/expense-reports/{expenseReportId}

Path parameters

expenseReportIdstring required

The ExpenseReport ID .

Example:7bf79328-a7ae-4222-aa54-091ff7f429a7

Request body

approver_idstring

The ID of the SuperAdmin User who approves/rejects the expense.

status'PROCESSED' | 'CANCELLED'

Example request

{
  "approver_id": "XMPL1234-000003"
}

Response

The returned resource is a single ExpenseReport.

reimburse_amountnumber

The amount to be reimbursed to the user.

deduct_amountnumber

The amount to be deducted from the user.

process_amountnumber

The amount to be processed.

file_urlstring

The Base64 string of the File URL encrypted by DES in ECB mode, Pkcs7 padding scheme and using Token for key.

idstring

The ExpenseReport ID .

protocolstring

The ExpenseReport ID protocol.

numberstring

The ExpenseReport number.

type'EMPLOYEE' | 'COMPANY'
status'PROCESSED' | 'CANCELLED' | 'DELETED' | 'TO_BE_PROCESSED'
exported_datestring

The date when the ExpenseReport got exported.

exported_bystring

The ID of the user who exported the ExpenseReport.

trx_owner_idstring

The ID of the user who made the expenses included in the ExpenseReport.

trx_date_fromstring

The date of the oldest expense included in the ExpenseReport.

trx_date_tostring

The date of the most recent expense included in the ExpenseReport.

processed_datestring

The date when the expense report got processed.

processed_bystring

The ID of the user who processed the ExpenseReport.

reimbursement_transaction_idstring

The ID of the transaction of the ExpenseReport.

Example response

{
  "id": "7bf79328-a7ae-4222-aa54-091ff7f429a7"
}