Security
Authorization
| apiKey | API Key |
|---|
| Name | x-access-token |
| In | header |
/v1/expenses
GET
Summary
Fetch Expenses.
Description
API to fetch existing expenses.
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| limit | query | limit | No | integer |
| page | query | page | No | integer |
| query | query | query | No | string |
| search | query | search | No | string |
| sort | query | sort | No | string |
| sortDir | query | sortDir | No | string |
| view | query | view | No | string |
Responses
| Code | Description | Schema |
|---|
| 200 | Make Payment's have been fetched successfully. | ExpenseResponse |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
POST
Summary
Expense.
Description
API to add a new expense.
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| expenseDto | body | expenseDto | Yes | ExpenseDto |
Responses
| Code | Description | Schema |
|---|
| 200 | OK | ExpenseResponse |
| 201 | Expense has been added successfully. | ExpenseResponse |
| 400 | Expense failed because of insufficient data. | |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/admin/categories
GET
Summary
Fetch Category
Description
API to fetch category.
Responses
| Code | Description | Schema |
|---|
| 200 | Category has been fetched successfully. | [ ExpenseCategoryDto ] |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/breakdown
GET
Summary
Fetch Expense breakdown
Description
API to fetch expense breakdown for the current year
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| type | query | type | No | string |
Responses
| Code | Description | Schema |
|---|
| 200 | Expense status count and amount fetched successfully | ExpenseTrendReportDto |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/bulkUnassign
POST
Summary
Bulk UnAssign Manager role
Description
API to bulk un-assign manager(s).
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| userGroupRoleDto | body | userGroupRoleDto | Yes | [ UserGroupRoleDto ] |
Responses
| Code | Description | Schema |
|---|
| 200 | Manager(s) unassigned successfully. | [ UserGroupRoleDto ] |
| 201 | Created | |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/bulkUser
POST
Summary
Bulk User Creation
Description
API to create a user(s).
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| userGroupRoleDto | body | userGroupRoleDto | Yes | [ UserGroupRoleDto ] |
Responses
| Code | Description |
|---|
| 200 | OK |
| 201 | Member(s) has been created successfully. |
| 401 | Unauthorized |
| 403 | Forbidden |
| 404 | Not Found |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/category
GET
Summary
Fetch Category
Description
API to fetch category.
Responses
| Code | Description | Schema |
|---|
| 200 | Category has been fetched successfully. | [ ExpenseCategoryDto ] |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
POST
Summary
Category Creation
Description
API to create a category.
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| expenseCategoryRequest | body | expenseCategoryRequest | Yes | ExpenseCategoryRequest |
Responses
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/category/{id}
PUT
Summary
updateCategory
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| expenseCategoryRequest | body | expenseCategoryRequest | Yes | ExpenseCategoryRequest |
| id | path | id | Yes | long |
Responses
| Code | Description | Schema |
|---|
| 200 | OK | ExpenseCategoryDto |
| 201 | Created | |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
DELETE
Summary
Category Delete
Description
API to delete a category.
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| id | path | id | Yes | long |
Responses
| Code | Description |
|---|
| 200 | OK |
| 201 | Category has been deleted successfully. |
| 204 | No Content |
| 401 | Unauthorized |
| 403 | Forbidden |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/default-users
GET
Summary
Fetch Default Users
Description
API to fetch default users
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| limit | query | limit | No | integer |
| page | query | page | No | integer |
Responses
| Code | Description | Schema |
|---|
| 200 | Default users have been fetched successfully. | [ ExpenseMembersResponse ] |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/export
GET
Summary
Expenses export
Description
API to export Expenses.
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| categoryId | query | categoryId | No | long |
| fileFormat | query | fileFormat | No | string |
| fromDate | query | fromDate | Yes | dateTime |
| status | query | status | No | string |
| toDate | query | toDate | Yes | dateTime |
| view | query | view | No | string |
Responses
| Code | Description | Schema |
|---|
| 200 | Expense Report data has been exported. | Resource |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/group
GET
Summary
Fetch Groups
Description
API to fetch groups
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| limit | query | limit | No | integer |
| page | query | page | No | integer |
| query | query | query | No | string |
| search | query | search | No | string |
| sort | query | sort | No | string |
| sortDir | query | sortDir | No | string |
Responses
| Code | Description | Schema |
|---|
| 200 | Group has been fetched successfully. | ExtAppGroupDto |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
POST
Summary
Group Creation
Description
API to create a group.
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| extAppGroupRequest | body | extAppGroupRequest | Yes | ExtAppGroupRequest |
Responses
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/group/{groupId}/users
GET
Summary
Fetch Users
Description
API to fetch group users
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| groupId | path | groupId | Yes | long |
Responses
| Code | Description | Schema |
|---|
| 200 | Members has been fetched successfully. | [ ExpenseMembersResponse ] |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/group/{id}
GET
Summary
Fetch Group
Description
API to fetch group by id
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| id | path | id | Yes | long |
Responses
| Code | Description | Schema |
|---|
| 200 | Group has been fetched successfully. | ExtAppGroupDto |
| 400 | Group does not exist. | |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
PUT
Summary
Group Update
Description
API to update a group
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| extAppGroupDto | body | extAppGroupDto | Yes | ExtAppGroupDto |
| id | path | id | Yes | long |
Responses
| Code | Description | Schema |
|---|
| 200 | Group has been created successfully. | ExtAppGroupDto |
| 201 | Created | |
| 400 | Group does not exist. | |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
DELETE
Summary
Group Delete
Description
API to delete a group
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| id | path | id | Yes | long |
Responses
| Code | Description |
|---|
| 200 | OK |
| 204 | Group has been deleted successfully. |
| 401 | Unauthorized |
| 403 | Forbidden |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/import
POST
Summary
Expense.
Description
API to add a new expense.
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| expenseDtos | body | expenseDtos | Yes | [ ExpenseDto ] |
Responses
| Code | Description | Schema |
|---|
| 200 | OK | [ ExpenseResponse ] |
| 201 | Expense has been added successfully. | [ ExpenseResponse ] |
| 400 | Expense failed because of insufficient data. | |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/integration-mapping
GET
Summary
Get integration setting.
Description
API to get integration setting.
Responses
| Code | Description | Schema |
|---|
| 200 | Expense attributes has been updated successfully. | IntegrationMappingResponse |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Get integration setting failed. | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
PUT
Summary
Update integration setting
Description
API to update existing integration setting.
Parameters
Responses
| Code | Description | Schema |
|---|
| 200 | Integration mapping has been updated successfully | IntegrationMappingResponse |
| 201 | Created | |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Integration setting with id not found. | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/je/{operation}
POST
Summary
sync/revert je
Description
API to add make sync/revert je.
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| expenseIdsDtos | body | expenseIdsDtos | Yes | ExpenseIdsDto |
| operation | path | operation | Yes | string |
Responses
| Code | Description | Schema |
|---|
| 200 | Sync/revert successful | string |
| 201 | Created | |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Failed to sync/revert je. | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/moveUser
POST
Summary
Move User
Description
API to move a user
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| moveUserGroupRoleDto | body | moveUserGroupRoleDto | Yes | MoveUserGroupRoleDto |
Responses
| Code | Description | Schema |
|---|
| 200 | Member(s) has been created successfully. | UserGroupRoleDto |
| 201 | Created | |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/multi
POST
Summary
Multi expenses
Description
API to add multiple expenses.
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| expensesDto | body | expensesDto | Yes | MultiExpensesDto |
Responses
| Code | Description | Schema |
|---|
| 200 | OK | ExpenseResponse |
| 201 | Expense has been added successfully. | ExpenseResponse |
| 400 | Expense failed because of insufficient data. | |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/process/image
GET
Summary
Get Text Extract from Image
Description
API to get texts from Image
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| relativeFilePath | query | relativeFilePath | No | string |
Responses
| Code | Description | Schema |
|---|
| 200 | Image texts fetched successfully. | ClaimVo |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/push/{pushToClient}
POST
Summary
Push Information..
Description
API to push extracted image information to the server.
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| pushToClient | path | pushToClient | Yes | boolean |
| textExtractDto | body | textExtractDto | Yes | TextExtractDto |
Responses
| Code | Description | Schema |
|---|
| 200 | OK | ClaimVo |
| 201 | Created | |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/receipt/upload
POST
Summary
Upload receipt
Description
Upload receipt
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| file | formData | file | Yes | file |
Responses
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/roles
GET
Summary
Fetch Roles
Description
API to fetch roles
Responses
| Code | Description | Schema |
|---|
| 200 | Role has been fetched successfully. | ExtAppGroupDto |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/roles/users
GET
Summary
Get users
Description
API to get users.
Responses
| Code | Description | Schema |
|---|
| 200 | users fetched successfully | UserDto |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Failed to fetch users. | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/scan
POST
Summary
Scanned Information.
Description
API to store scanned document information.
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| scannerDto | body | scannerDto | Yes | ScannerDto |
Responses
| Code | Description | Schema |
|---|
| 200 | OK | ExpenseDto |
| 201 | Scanned information stored successfully. | ExpenseDto |
| 400 | Scanned information failed to store because of insufficient data. | |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/status
GET
Summary
Fetch Expense count,status and amount
Description
API to fetch expense count,amount grouped by status
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| query | query | query | No | string |
| view | query | view | No | string |
Responses
| Code | Description | Schema |
|---|
| 200 | Expense status count and amount fetched successfully | [ ExpenseResponseWithCount ] |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/toggle-integration-mapping/{status}
PATCH
Summary
Toggle setting.
Description
API to update attributes of existing expense.
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| status | path | status | Yes | string |
Responses
| Code | Description | Schema |
|---|
| 200 | API to toggle integration setting. | IntegrationMappingResponse |
| 204 | No Content | |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Toggle failed. | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/trend
GET
Summary
Fetch Expense trend report
Description
API to fetch expense trend for the current year
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| trend_view | query | trend_view | No | string |
Responses
| Code | Description | Schema |
|---|
| 200 | Expense status count and amount fetched successfully | ExpenseTrendReportDto |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/update
POST
Summary
Approve expenses in bulk
Description
API to approve multiple expenses
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| ids | body | ids | Yes | [ long ] |
| view | query | view | Yes | string |
Responses
| Code | Description | Schema |
|---|
| 200 | Expense has been updated successfully. | BulkResponse |
| 201 | Created | |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/user
POST
Summary
User Creation
Description
API to create a user(s).
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| userGroupRoleDto | body | userGroupRoleDto | Yes | UserGroupRoleDto |
Responses
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/user/{id}
DELETE
Summary
User Deletion
Description
API to delete a user from a group.
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| userGroupRoleDto | body | userGroupRoleDto | Yes | UserGroupRoleDto |
Responses
| Code | Description |
|---|
| 200 | OK |
| 204 | Member has been deleted successfully from the group. |
| 401 | Unauthorized |
| 403 | Forbidden |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/user/{userId}
GET
Summary
Expense Detail by Users
Description
API to fetch expense details by users and date
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| fromDate | query | fromDate | Yes | dateTime |
| toDate | query | toDate | Yes | dateTime |
| userId | path | userId | Yes | long |
Responses
| Code | Description | Schema |
|---|
| 200 | Make Payment's have been fetched successfully. | ExpenseResponse |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/userroles
GET
Summary
Get User Roles.
Description
API to fetch Users group and role information
Responses
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/users/{id}
GET
Summary
Fetch Users
Description
API to fetch group users
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| id | path | id | Yes | long |
Responses
| Code | Description | Schema |
|---|
| 200 | Members has been fetched successfully. | [ object ] |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
/v1/expenses/{id}
GET
Summary
Get Expense by id.
Description
API to fetch Expense by id
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| id | path | id | Yes | long |
Responses
| Code | Description | Schema |
|---|
| 200 | OK | ExpenseResponse |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Not Found | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
PUT
Summary
Update expense.
Description
API to update existing expense.
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| expenseDto | body | expenseDto | Yes | ExpenseDto |
| id | path | id | Yes | long |
Responses
| Code | Description | Schema |
|---|
| 200 | Expense has been updated successfully. | ExpenseResponse |
| 201 | Created | |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Expense with id not found. | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
DELETE
Summary
Delete expense.
Description
API to delete expense.
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| id | path | id | Yes | long |
Responses
| Code | Description | Schema |
|---|
| 200 | OK | ResponseEntity |
| 204 | Expense has been deleted successfully. | ResponseEntity |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Expense with id not found. | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
PATCH
Summary
Update expense attributes.
Description
API to update attributes of existing expense.
Parameters
| Name | Located in | Description | Required | Schema |
|---|
| expenseRequest | body | expenseRequest | Yes | object |
| id | path | id | Yes | long |
Responses
| Code | Description | Schema |
|---|
| 200 | Expense attributes has been updated successfully. | ExpenseDto |
| 204 | No Content | |
| 401 | Unauthorized | |
| 403 | Forbidden | |
| 404 | Expense with id not found. | |
Security
| Security Schema | Scopes |
|---|
| Authorization | global |
Models
Address
| Name | Type | Description | Required |
|---|
| address1 | string | Address line 1 | |
Example: "218, Robinson Road" | No | | |
| address2 | string | Address line 2 | |
Example: "Downtown" | No | | |
| city | string | City | |
Example: "C001" | No | | |
| country | string | Country | |
Example: "C001" | No | | |
| postalCode | string | Postal Code | |
Example: 123456 | No | | |
| preferred | boolean | Is this a default address? | |
Example: true | No | | |
| state | string | State | |
Example: "CS001" | No | | |
AttachmentsResponse
| Name | Type | Description | Required |
|---|
| fileName | string | | No |
| relativePath | string | | No |
BulkResponse
| Name | Type | Description | Required |
|---|
| httpStatusCode | integer | HTTP Status code | |
Example: 404 | No | | |
| id | long | ID | |
Example: 2 | No | | |
CategotyAccountDto
| Name | Type | Description | Required |
|---|
| expenseAccount | string | Expense Account. | |
Example: "ACC70003" | No | | |
| id | string | Category id. | |
Example: "60d4298aff91a82207a7be2b" | No | | |
| liabilityAccount | string | Liability Account. | |
Example: "ACC70003" | No | | |
| name | string | Category name. | |
Example: "Food" | No | | |
ClaimVo
| Name | Type | Description | Required |
|---|
| extracted | boolean | | No |
| extractedDates | [ string ] | | No |
| invoiceNumber | string | | No |
| tax | string | | No |
| totalAmount | float | | No |
EntityVo
| Name | Type | Description | Required |
|---|
| score | float | | No |
| text | string | | No |
| type | string | Enum: "DATE", "QUANTITY", "COMMERCIAL_ITEM", "OTHER" | No |
ExpenseCategoryDto
| Name | Type | Description | Required |
|---|
| groups | [ ExtAppGroupDto ] | | No |
| id | long | Primary Key | |
Example: 1 | No | | |
| name | string | Expense Category Name | |
Example: "food" | No | | |
| sysGenerated | boolean | Boolean value | |
Example: false | No | | |
| tenantId | long | Tenant Id | |
Example: 1 | No | | |
ExpenseCategoryRequest
| Name | Type | Description | Required |
|---|
| groupIds | [ long ] | List of Group id | |
Example: [1,2] | No | | |
| name | string | Expense Name | |
Example: "food" | No | | |
ExpenseDto
| Name | Type | Description | Required |
|---|
| attachmentIds | [ integer ] | Attachments ids | No |
| attachments | [ string ] | Attachments url's | No |
| categoryId | long | Expense category. | |
Example: 1 | No | | |
| currency | string | Currency code. | |
Enum: "AFN", "ALL", "DZD", "AOA", "ARS", "AMD", "AWG", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "BMD", "BTN", "BOB", "BAM", "BRL", "BND", "BGN", "BIF", "KHR", "CAD", "CVE", "KYD", "CLP", "CNY", "COP", "KMF", "CDF", "CRC", "CZK", "HRK", "CUC", "DJF", "DOP", "EGP", "ERN", "ETB", "FKP", "FJD", "XAF", "GMD", "GEL", "GHS", "GIP", "DKK", "GTQ", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "INR", "IDR", "IRR", "IQD", "JMD", "JPY", "JOD", "KZT", "KES", "KWD", "KGS", "LAK", "LBP", "LSL", "LRD", "LYD", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRO", "MUR", "MXN", "MDL", "MNT", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "KPW", "OMR", "PKR", "ILS", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "XCD", "WST", "STD", "SAR", "RSD", "SCR", "SLL", "SGD", "ANG", "SBD", "SOS", "ZAR", "KRW", "SSP", "EUR", "LKR", "SDG", "SRD", "NOK", "SZL", "SEK", "CHF", "SYP", "TWD", "TJS", "TZS", "THB", "XOF", "NZD", "TOP", "TTD", "TND", "TRY", "TMT", "AUD", "UGX", "UAH", "AED", "GBP", "USD", "UYU", "UZS", "VUV", "VEF", "VND", "XPF", "MAD", "YER", "ZMW", "BWP", "CNH"
Example: "SGD" | No |
| deletedAttachmentIds | [ long ] | Deleted attachment id | No |
| expenseGroup | string | expensegroup | No |
| invoiceNo | string | Invoice number.
_Example: "INV001" | No |
| merchant | string | Merchant name.
Example: "Uber" | No |
| otherDetails | string | Other details.
Example: "Utilities bill" | No |
| purpose | string | Expense purpose.
Example: "official meeting" | No |
| spendDate | dateTime | Spend date.
Example: "2019-09-27" | No |
| status | string | Expense status.
Enum: "DRAFT", "PENDING", "APPROVED", "REJECTED"
Example: "PENDING" | No |
| taxAmount | number | Tax amount.
Example: 0.7 | No |
| taxCode | string | Tax code.
Example: "TX0001" | No |
| totalAmount | number | Total amount.
Example: 10.5 | No |
| valid | boolean | | No |
ExpenseIdsDto
| Name | Type | Description | Required |
|---|
| ids | [ long ] | Expense ids. | No |
ExpenseMembersResponse
| Name | Type | Description | Required |
|---|
| firstName | string | User First Name | |
Example: "John" | Yes | | |
| group | ExtAppGroupDto | Group | |
Example: "Default" | No | | |
| id | long | Primary Key | |
Example: 1 | No | | |
| lastName | string | User Last Name | |
Example: "Doe" | Yes | | |
| role | string | Role | |
Example: "Employee" | No | | |
| userName | string | Username | |
Example: "d.6511223344" | No | | |
ExpenseResponse
| Name | Type | Description | Required |
|---|
| approvalDate | string | Expense approval date. | |
Example: "2019-10-27" | No | | |
| approvedBy | long | Expense approved id. | |
Example: 4567 | No | | |
| approved_dt | dateTime | Expense approval date. | |
Example: "2019-10-27" | No | | |
| approverName | string | Expense approver Name. | |
Example: "admin 1" | No | | |
| attachmentIds | [ integer ] | Attachments ids | No |
| attachments | [ string ] | Attachments url's | No |
| category | string | Category name. | |
Example: "Food" | No | | |
| categoryId | long | Expense category. | |
Example: 1 | No | | |
| currency | string | Currency code. | |
Enum: "AFN", "ALL", "DZD", "AOA", "ARS", "AMD", "AWG", "AZN", "BSD", "BHD", "BDT", "BBD", "BYN", "BZD", "BMD", "BTN", "BOB", "BAM", "BRL", "BND", "BGN", "BIF", "KHR", "CAD", "CVE", "KYD", "CLP", "CNY", "COP", "KMF", "CDF", "CRC", "CZK", "HRK", "CUC", "DJF", "DOP", "EGP", "ERN", "ETB", "FKP", "FJD", "XAF", "GMD", "GEL", "GHS", "GIP", "DKK", "GTQ", "GNF", "GYD", "HTG", "HNL", "HKD", "HUF", "ISK", "INR", "IDR", "IRR", "IQD", "JMD", "JPY", "JOD", "KZT", "KES", "KWD", "KGS", "LAK", "LBP", "LSL", "LRD", "LYD", "MOP", "MKD", "MGA", "MWK", "MYR", "MVR", "MRO", "MUR", "MXN", "MDL", "MNT", "MZN", "MMK", "NAD", "NPR", "NIO", "NGN", "KPW", "OMR", "PKR", "ILS", "PAB", "PGK", "PYG", "PEN", "PHP", "PLN", "QAR", "RON", "RUB", "RWF", "SHP", "XCD", "WST", "STD", "SAR", "RSD", "SCR", "SLL", "SGD", "ANG", "SBD", "SOS", "ZAR", "KRW", "SSP", "EUR", "LKR", "SDG", "SRD", "NOK", "SZL", "SEK", "CHF", "SYP", "TWD", "TJS", "TZS", "THB", "XOF", "NZD", "TOP", "TTD", "TND", "TRY", "TMT", "AUD", "UGX", "UAH", "AED", "GBP", "USD", "UYU", "UZS", "VUV", "VEF", "VND", "XPF", "MAD", "YER", "ZMW", "BWP", "CNH"
Example: "SGD" | No |
| deletedAttachmentIds | [ long ] | Deleted attachment id | No |
| expenseDate | string | Expense spend date.
Example: "2019-10-27" | No |
| expenseGroup | string | expensegroup | No |
| groupCode | string | Expense group code.
_Example: "Group Code" | No |
| groupName | string | Expense group name.
Example: "Claims" | No |
| invoiceNo | string | Invoice number.
Example: "INV001" | No |
| merchant | string | Merchant name.
Example: "Uber" | No |
| otherDetails | string | Other details.
Example: "Utilities bill" | No |
| purpose | string | Expense purpose.
Example: "official meeting" | No |
| receipts | [ string ] | Receipt urls | No |
| spendDate | dateTime | Spend date.
Example: "2019-09-27" | No |
| status | string | Expense status.
Enum: "DRAFT", "PENDING", "APPROVED", "REJECTED"
Example: "PENDING" | No |
| taxAmount | number | Tax amount.
Example: 0.7 | No |
| taxCode | string | Tax code.
Example: "TX0001" | No |
| totalAmount | number | Total amount.
Example: 10.5 | No |
| userId | long | User id.
Example: 1234 | No |
| userName | string | Expense created by.
Example: "user 1" | No |
| valid | boolean | | No |
ExpenseResponseWithCount
| Name | Type | Description | Required |
|---|
| count | long | | No |
| status | string | | No |
| totalAmount | number | | No |
ExpenseTrendReportDto
| Name | Type | Description | Required |
|---|
| data | [ TenureData ] | | No |
| maxClaimAmount | number | | No |
| totalClaimAmount | number | | No |
| totalCount | integer | | No |
ExtAppGroupDto
| Name | Type | Description | Required |
|---|
| code | string | Code Generated by Procedure | |
Example: "E-0000001" | No | | |
| id | long | Primary Key | |
Example: 1 | No | | |
| memberCount | long | Member Count | |
Example: 10 | No | | |
| name | string | Group Name | |
Example: "default" | No | | |
| tenantId | long | Tenant Id | |
Example: 1 | No | | |
ExtAppGroupRequest
| Name | Type | Description | Required |
|---|
| name | string | Group Name | |
Example: "default" | No | | |
File
| Name | Type | Description | Required |
|---|
| absolute | boolean | | No |
| absoluteFile | File | | No |
| absolutePath | string | | No |
| canonicalFile | File | | No |
| canonicalPath | string | | No |
| directory | boolean | | No |
| file | boolean | | No |
| freeSpace | long | | No |
| hidden | boolean | | No |
| name | string | | No |
| parent | string | | No |
| parentFile | File | | No |
| path | string | | No |
| totalSpace | long | | No |
| usableSpace | long | | No |
GroupMembersResponse
| Name | Type | Description | Required |
|---|
| role | string | | No |
| userId | long | | No |
GroupRoles
| Name | Type | Description | Required |
|---|
| groupId | long | Group Id. | No |
| groupName | string | Group Name. | No |
| roles | [ string ] | Roles. | No |
| Name | Type | Description | Required |
|---|
| InputStream | object | | |
IntegrationMappingResponse
| Name | Type | Description | Required |
|---|
| active | boolean | status. | |
Example: true | No | | |
| countryCode | string | Country code. | |
Example: "US" | No | | |
| id | long | Integration mapping id. | No |
| mapping | MappingResponse | Category mapping | No |
| tenantId | long | Tenant id. | |
Example: 1234 | No | | |
MappingResponse
| Name | Type | Description | Required |
|---|
| category | [ CategotyAccountDto ] | Category. | No |
| expenseAccount | string | Expense Account. | |
Example: "ACC70003" | No | | |
| liabilityAccount | string | Liability Account. | |
Example: "ACC70003" | No | | |
MoveUserGroupRoleDto
| Name | Type | Description | Required |
|---|
| newGroupId | long | New Group id | |
Example: 1 | No | | |
| newRole | string | New Role Name | |
Example: "manager" | No | | |
| oldGroupId | long | Old Group id | |
Example: 1 | No | | |
| oldRole | string | Old Role Name | |
Example: "manager" | No | | |
| userId | long | User id to be deleted | |
Example: 1 | No | | |
MultiExpensesDto
| Name | Type | Description | Required |
|---|
| expneseGroupName | string | Group name. | |
Example: "Other" | No | | |
| expneses | [ ExpenseDto ] | Multiple expense. | No |
Pageable
| Name | Type | Description | Required |
|---|
| offset | long | | No |
| pageNumber | integer | | No |
| pageSize | integer | | No |
| paged | boolean | | No |
| sort | Sort | | No |
| unpaged | boolean | | No |
Page«ExpenseMembersResponse»
| Name | Type | Description | Required |
|---|
| content | [ ExpenseMembersResponse ] | | No |
| empty | boolean | | No |
| first | boolean | | No |
| last | boolean | | No |
| number | integer | | No |
| numberOfElements | integer | | No |
| pageable | Pageable | | No |
| size | integer | | No |
| sort | Sort | | No |
| totalElements | long | | No |
| totalPages | integer | | No |
Page«ExpenseResponse»
| Name | Type | Description | Required |
|---|
| content | [ ExpenseResponse ] | | No |
| empty | boolean | | No |
| first | boolean | | No |
| last | boolean | | No |
| number | integer | | No |
| numberOfElements | integer | | No |
| pageable | Pageable | | No |
| size | integer | | No |
| sort | Sort | | No |
| totalElements | long | | No |
| totalPages | integer | | No |
Page«ExtAppGroupDto»
| Name | Type | Description | Required |
|---|
| content | [ ExtAppGroupDto ] | | No |
| empty | boolean | | No |
| first | boolean | | No |
| last | boolean | | No |
| number | integer | | No |
| numberOfElements | integer | | No |
| pageable | Pageable | | No |
| size | integer | | No |
| sort | Sort | | No |
| totalElements | long | | No |
| totalPages | integer | | No |
Resource
| Name | Type | Description | Required |
|---|
| description | string | | No |
| file | File | | No |
| filename | string | | No |
| inputStream | InputStream | | No |
| open | boolean | | No |
| readable | boolean | | No |
| uri | URI | | No |
| url | URL | | No |
ResponseEntity
| Name | Type | Description | Required |
|---|
| body | object | | No |
| statusCode | string | Enum: "100 CONTINUE", "101 SWITCHING_PROTOCOLS", "102 PROCESSING", "103 CHECKPOINT", "200 OK", "201 CREATED", "202 ACCEPTED", "203 NON_AUTHORITATIVE_INFORMATION", "204 NO_CONTENT", "205 RESET_CONTENT", "206 PARTIAL_CONTENT", "207 MULTI_STATUS", "208 ALREADY_REPORTED", "226 IM_USED", "300 MULTIPLE_CHOICES", "301 MOVED_PERMANENTLY", "302 FOUND", "302 MOVED_TEMPORARILY", "303 SEE_OTHER", "304 NOT_MODIFIED", "305 USE_PROXY", "307 TEMPORARY_REDIRECT", "308 PERMANENT_REDIRECT", "400 BAD_REQUEST", "401 UNAUTHORIZED", "402 PAYMENT_REQUIRED", "403 FORBIDDEN", "404 NOT_FOUND", "405 METHOD_NOT_ALLOWED", "406 NOT_ACCEPTABLE", "407 PROXY_AUTHENTICATION_REQUIRED", "408 REQUEST_TIMEOUT", "409 CONFLICT", "410 GONE", "411 LENGTH_REQUIRED", "412 PRECONDITION_FAILED", "413 PAYLOAD_TOO_LARGE", "413 REQUEST_ENTITY_TOO_LARGE", "414 URI_TOO_LONG", "414 REQUEST_URI_TOO_LONG", "415 UNSUPPORTED_MEDIA_TYPE", "416 REQUESTED_RANGE_NOT_SATISFIABLE", "417 EXPECTATION_FAILED", "418 I_AM_A_TEAPOT", "419 INSUFFICIENT_SPACE_ON_RESOURCE", "420 METHOD_FAILURE", "421 DESTINATION_LOCKED", "422 UNPROCESSABLE_ENTITY", "423 LOCKED", "424 FAILED_DEPENDENCY", "426 UPGRADE_REQUIRED", "428 PRECONDITION_REQUIRED", "429 TOO_MANY_REQUESTS", "431 REQUEST_HEADER_FIELDS_TOO_LARGE", "451 UNAVAILABLE_FOR_LEGAL_REASONS", "500 INTERNAL_SERVER_ERROR", "501 NOT_IMPLEMENTED", "502 BAD_GATEWAY", "503 SERVICE_UNAVAILABLE", "504 GATEWAY_TIMEOUT", "505 HTTP_VERSION_NOT_SUPPORTED", "506 VARIANT_ALSO_NEGOTIATES", "507 INSUFFICIENT_STORAGE", "508 LOOP_DETECTED", "509 BANDWIDTH_LIMIT_EXCEEDED", "510 NOT_EXTENDED", "511 NETWORK_AUTHENTICATION_REQUIRED" | No |
| statusCodeValue | integer | | No |
Role
| Name | Type | Description | Required |
|---|
| id | long | | No |
| role | string | | No |
ScannerDto
| Name | Type | Description | Required |
|---|
| content | [ string ] | Document content. | No |
| documentName | string | Document name. | |
Example: "expense.png" | No | | |
| documentType | string | Document type. | |
Enum: "EXPENSE", "CONTACT"
Example: "EXPENSE" | No |
ShortRoleInfo
| Name | Type | Description | Required |
|---|
| appName | string | Application Name | |
Enum: "CONSOLE", "ERP", "ORGANISATION", "ATTENDANCE", "EXPENSE", "CRM", "PEOPLE", "CHAT", "ALL", "REPORT_BUILDER", "SHOP", "WORKFLOW_ENGINE", "CRM_PLUS"
Example: "ERP" | No |
| roleGroupName | string | Role Group
Example: "admin" | No |
| shortCode | string | Role Group
Example: "admin" | No |
Sort
| Name | Type | Description | Required |
|---|
| empty | boolean | | No |
| sorted | boolean | | No |
| unsorted | boolean | | No |
TenureData
| Name | Type | Description | Required |
|---|
| amount | number | | No |
| axisValue | string | | No |
| count | integer | | No |
| day | integer | | No |
| month | string | Enum: "JANUARY", "FEBRUARY", "MARCH", "APRIL", "MAY", "JUNE", "JULY", "AUGUST", "SEPTEMBER", "OCTOBER", "NOVEMBER", "DECEMBER" | No |
| name | string | | No |
| year | Year | | No |
Text
| Name | Type | Description | Required |
|---|
| confidenceScore | float | | No |
| hight | float | | No |
| order | integer | | No |
| size | float | | No |
| text | string | | No |
| width | float | | No |
| Name | Type | Description | Required |
|---|
| entityVoList | [ EntityVo ] | | No |
| fileName | string | | No |
| tenantId | long | | No |
| textList | [ Text ] | | No |
| userId | long | | No |
| wssessionId | string | | No |
URI
| Name | Type | Description | Required |
|---|
| absolute | boolean | | No |
| authority | string | | No |
| fragment | string | | No |
| host | string | | No |
| opaque | boolean | | No |
| path | string | | No |
| port | integer | | No |
| query | string | | No |
| rawAuthority | string | | No |
| rawFragment | string | | No |
| rawPath | string | | No |
| rawQuery | string | | No |
| rawSchemeSpecificPart | string | | No |
| rawUserInfo | string | | No |
| scheme | string | | No |
| schemeSpecificPart | string | | No |
| userInfo | string | | No |
URL
| Name | Type | Description | Required |
|---|
| authority | string | | No |
| content | object | | No |
| defaultPort | integer | | No |
| file | string | | No |
| host | string | | No |
| path | string | | No |
| port | integer | | No |
| protocol | string | | No |
| query | string | | No |
| ref | string | | No |
| userInfo | string | | No |
UserDto
| Name | Type | Description | Required |
|---|
| emailId | string | | No |
| erpTenantId | long | | No |
| iamUserId | long | | No |
| isTerminated | boolean | | No |
| roles | [ UserRoleDto ] | | No |
| tenantId | string | | No |
| terminationStage | string | | No |
| userId | string | | No |
UserGroupRoleDto
| Name | Type | Description | Required |
|---|
| groupId | long | Group id | |
Example: 1 | No | | |
| httpStatus | string | Response HTTP Status | |
Enum: "100 CONTINUE", "101 SWITCHING_PROTOCOLS", "102 PROCESSING", "103 CHECKPOINT", "200 OK", "201 CREATED", "202 ACCEPTED", "203 NON_AUTHORITATIVE_INFORMATION", "204 NO_CONTENT", "205 RESET_CONTENT", "206 PARTIAL_CONTENT", "207 MULTI_STATUS", "208 ALREADY_REPORTED", "226 IM_USED", "300 MULTIPLE_CHOICES", "301 MOVED_PERMANENTLY", "302 FOUND", "302 MOVED_TEMPORARILY", "303 SEE_OTHER", "304 NOT_MODIFIED", "305 USE_PROXY", "307 TEMPORARY_REDIRECT", "308 PERMANENT_REDIRECT", "400 BAD_REQUEST", "401 UNAUTHORIZED", "402 PAYMENT_REQUIRED", "403 FORBIDDEN", "404 NOT_FOUND", "405 METHOD_NOT_ALLOWED", "406 NOT_ACCEPTABLE", "407 PROXY_AUTHENTICATION_REQUIRED", "408 REQUEST_TIMEOUT", "409 CONFLICT", "410 GONE", "411 LENGTH_REQUIRED", "412 PRECONDITION_FAILED", "413 PAYLOAD_TOO_LARGE", "413 REQUEST_ENTITY_TOO_LARGE", "414 URI_TOO_LONG", "414 REQUEST_URI_TOO_LONG", "415 UNSUPPORTED_MEDIA_TYPE", "416 REQUESTED_RANGE_NOT_SATISFIABLE", "417 EXPECTATION_FAILED", "418 I_AM_A_TEAPOT", "419 INSUFFICIENT_SPACE_ON_RESOURCE", "420 METHOD_FAILURE", "421 DESTINATION_LOCKED", "422 UNPROCESSABLE_ENTITY", "423 LOCKED", "424 FAILED_DEPENDENCY", "426 UPGRADE_REQUIRED", "428 PRECONDITION_REQUIRED", "429 TOO_MANY_REQUESTS", "431 REQUEST_HEADER_FIELDS_TOO_LARGE", "451 UNAVAILABLE_FOR_LEGAL_REASONS", "500 INTERNAL_SERVER_ERROR", "501 NOT_IMPLEMENTED", "502 BAD_GATEWAY", "503 SERVICE_UNAVAILABLE", "504 GATEWAY_TIMEOUT", "505 HTTP_VERSION_NOT_SUPPORTED", "506 VARIANT_ALSO_NEGOTIATES", "507 INSUFFICIENT_STORAGE", "508 LOOP_DETECTED", "509 BANDWIDTH_LIMIT_EXCEEDED", "510 NOT_EXTENDED", "511 NETWORK_AUTHENTICATION_REQUIRED"
Example: "200 OK" | No |
| message | string | Response error message, if any
Example: "User does not exist" | No |
| role | string | Role Name
Example: "manager" | No |
| userId | long | User id to be deleted
Example: 1 | No |
UserGroupRolesResponseDto
| Name | Type | Description | Required |
|---|
| groupRolesList | [ GroupRoles ] | Group Roles List. | No |
| tenantId | long | Tenant id. | No |
| userId | long | User id. | No |
UserRoleDto
| Name | Type | Description | Required |
|---|
| appName | string | | No |
| name | string | | No |
| roleId | string | | No |
UserShortInfoWithRole
| Name | Type | Description | Required |
|---|
| address | [ Address ] | List of Address. | No |
| authUserId | string | Auth0 User ID | |
| Example: `"auth0 | 5d70ec986e382a0d12a4ff22"` | No | |
| contact | string | User Contact | |
Example: 12345678 | No | | |
| deleted | boolean | Delete Flag | |
Example: false | No | | |
| department | string | User Department | |
Example: "Finance" | No | | |
| designation | string | User Designation | |
Example: "Accountant" | No | | |
| email | string | User email | |
Example: "jsmith@example.com" | No | | |
| firstName | string | User First Name | |
Example: "John" | No | | |
| genderLookUpCode | string | Gender | |
Example: "Mr." | No | | |
| iamUserId | long | Iam User Id | |
Example: 1 | No | | |
| id | long | Primary Key | |
Example: 1 | No | | |
| isEmailVerified | boolean | Email is verified or not. | No |
| lastName | string | User Last Name | |
Example: "Doe" | No | | |
| mfaenabled | boolean | | No |
| profileUrl | string | User profile image path. | |
Example: "http://deskera.com/user/myprofile.png" | No | | |
| roleShortInfo | [ ShortRoleInfo ] | | No |
| status | string | Status like Active/ InActive | |
Example: "active" | No | | |
| tenantId | long | Tenant Id | |
Example: 1 | No | | |
| userName | string | User Name | |
Example: "jsmith@example.com" | No | | |
Year
| Name | Type | Description | Required |
|---|
| leap | boolean | | No |
| value | integer | | No |