Expense claims
Overview
Endpoints
The resources available in this module.
ExpenseClaimListApi
Returns a list of Expense Claims.
/api/ExpenseClaimListApi | ||||
---|---|---|---|---|
Method | Performed As | Request Query | Request Body | Response |
POST |
| - |
|
|
ExpenseClaimDefaultsApi
Retrieves expense claim default values for client-side, calculation by PersonID and JobCode.
/api/ExpenseClaimDefaultsApi | ||||
---|---|---|---|---|
Method | Performed As | Request Query | Request Body | Response |
GET |
| - |
|
|
GET parameters.
Parameter | Description | Parameter Type | Data Type |
---|---|---|---|
expenseClaimLineId | Line code. | query | integer |
costRate | The cost rate. | query | double |
gST | Tax | query | double |
gSTRate | Tax rate. | query | double |
quantity | Quantity. | query | double |
personId | ID of created person. | query | integer |
jobCode | ID of the related job. | query | string |
finCoCode | Code of financial company. | query | string |
activityCode | Code of the Activity | query | string |
activityType | Type of activity. | query | string |
activitySubType | Sub type of activity. | query | string |
workCentreCode | Code of Work Centre. | query | string |
currency | The currency in the claim. | query | string |
gSTType | Type of the tax. | query | string |
relatedRecordId |
| query | string |
ExpenseClaimDetailApi
[Description]
/api/ExpenseClaimDetailApi | ||||
---|---|---|---|---|
Method | Performed As | Request Query | Request Body | Response |
DELETE |
|
|
|
|
GET |
| - |
|
|
POST |
|
|
|
|
DELETE Parameters
Parameter | Value | Data Type |
---|---|---|
key | Required | body |
GET parameters.
Parameter | Value | Data Type |
---|---|---|
expenseClaimId | Required | integer |
personId | Required | integer |
expenseClaimDate | Required | date-time |
POST parameters
Parameter | Value | Description | Parameter Type |
---|---|---|---|
model | Required |
| body |
Models
The definitions of models specific to endpoints in this module.
ExpenseClaimApiModel
Property | Type | Description |
---|---|---|
Form | ExpenseClaimsExpenseClaimFormResult |
|
Rows | Array [ExpenseClaimsDetailLine] |
|
ReadonlyMessages | Array [Tuple_String] | Read Only status. |
ValidationErrors | Array [MvcValidationError] | Read Only message. |
WarningMessage | String | Warning message. |
SuccessMessage | String | Sucess message. |
ErrorMessage | String | Error message. |
ExpenseClaimsDetailKey
Property | Type | Description |
---|---|---|
ExpenseClaimLineId | Integer | Line code. |
CostRate | Number | Cost rate. |
GST | Number |
|
GSTRate | Number |
|
Quantity | Number | Quantity. |
PersonId | Integer | Id of created person. |
JobCode | String | Code of the related job. |
FinCoCode | String | Code of financial company related. |
ActivityCode | String | Code of Activity related. |
ActivityType | String | Activity type. |
ActivitySubType | String | Activity Sub-type. |
WorkCentreCode | String | Code of related Work Centre. |
Currency | String | The currency in the claim. |
GSTType | String | Type of the tax. |
RelatedRecordId | String | Code of related record |
ExpenseClaimsDetailLine
Property | Type | Description |
---|---|---|
FinCoCode | String | Code of the financial company. |
JobCode | Code of the related job. | |
LogHeader | Log header. | |
Activity | Activity related. | |
ActivityType | String | Activity type. |
WorkCentre | The related Work Centre. | |
TranDate | String | The exact day the Cost was incurred. |
Quantity | Quantity. Details. | |
Currency | String | The local currency for reimbursing. |
Gross | Gross amount | |
GST | Tax | |
Net | NET amount. | |
FCRate | Foreign currency rate. | |
LCGross |
| |
Details | Details text | |
FileAttachment | File attachment. | |
Delete |
| |
Status | String | Claim status. |
ReadonlyFlag | Integer | Read Only status |
ReadonlyMessage | String | Read Only message. |
OriginalKey |
| |
CurrentKey |
| |
Key |
| |
Index | Integer |
|
ExpenseClaimsExpenseClaimFormResult
Property | Type | Description |
---|---|---|
Key |
| |
ClaimDate | Claim date. | |
ClaimContent | Claim content. | |
Notes | Comment. | |
ApprovedField |
| |
CompletedField |
| |
PaidField |
| |
CanSubmit | Boolean |
|
ClaimType | Type of claim |
ExpenseClaimsKey
Property | Type | Description |
---|---|---|
ExpenseClaimId | Integer | Code of the claim. |
PersonId | Integer | ID of person who made the claim. |
ExpenseClaimDate | String |
|
FunctionalCode | String | = ['General', 'PurchaseOrders', 'PurchaseOrderApproval', 'PurchaseRequisitions', 'Timesheets', 'TimesheetReviews', 'TimesheetApproval', 'TimesheetApprovalList', 'ServiceLog', 'ServiceDesk', 'ExpenseClaims', 'ExpenseClaimReviews', 'ExpenseClaimApproval', 'ExpenseClaimAdminApproval', 'TabletTimesheet', 'TabletTimePlant', 'Scheduler', 'LeaveManagement', 'LeaveTypeManagement', 'CrewTimesheets', 'Refueling', 'HumanResources', 'DailyDiary', 'Datasheets', 'Stock', 'LogDaysheet', 'PortalPeople', 'PortalCompany', 'Workflow', 'Reporting', 'ProfitCentres', 'ExternalSalesCodes', 'InternalSalesCodes', 'ActivityReportCode', 'ProfitCentreReportCode', 'SalesCodeReportCode', 'Batch', 'Budget', 'Billing', 'TimeCodes', 'Disbursement', 'Jobs', 'ApInvoices', 'Adjustments', 'Plant', 'NonStockLocation', 'JobContract', 'Processes', 'JobReceipt', 'Forecast', 'SubContracts', 'WorkOrderApproval', 'StockItem', 'ApInvoiceApproval', 'ApCreditApproval', 'TimesheetAdminApproval', 'DocketEntry', 'Revenue', 'Vouchers', 'VoucherApproval', 'Quotes', 'ProductionMeasures', 'StockIssue', 'Utilities', 'SubcontractClaimWorkflowApproval', 'BulkInvoice', 'WorkOrder', 'DocumentRegister', 'Activities', 'SalesCodes', 'ContractorDaysheet', 'Materials', 'ExternalPlant', 'JobInvoices', 'BillOfMaterials', 'Users', 'Daysheet', 'Procurement', 'DocketReconciliation', 'Imports', 'ScheduleStoredProcedure', 'Internal', 'TrustAccount', 'Impersonation', 'SubContractRetentionTrustAccount', 'ContractRetentionTrustAccount'], |
ExpenseClaimsListItem
Property | Type | Description |
---|---|---|
PersonName | CellData | Person who made the claim. |
ExpenseClaimId | Integert | Code of the claims. |
ClaimDate | String | Date of claims. |
Content | String | Claims content. |
LocalCurrencyReimburse | CellData | Local currency in claims. |
Completed | Boolean | Completed or not. |
Approved | Boolean | Approved or not. |
Paid | Boolean | Paid or not. |
Timesheet |
| |
Delete |
| |
Status | String |
|
ReadonlyFlag | Integer |
|
ReadonlyMessage | String |
|
OriginalKey |
| |
CurrentKey |
| |
Key |
| |
Index | Integer |
|
Examples
Get a list of Expense claims.
Example of ExpenseClaimDefaultsApi GET
Example of ExpenseClaimDetailApi DELETE
Example of ExpenseClaimDetailApi POST