curl --request GET \
--url https://{host}/api/v3/expenseClaims \
--header 'Authorization: <authorization>'{
"data": {
"items": [
{
"declaredOn": "2023-11-07T05:31:56Z",
"createdOn": "2023-11-07T05:31:56Z",
"modifiedOn": "2023-11-07T05:31:56Z",
"id": 2,
"name": "<string>",
"paymentReceivedOn": "2023-11-07T05:31:56Z",
"sourceId": {
"id": "<string>"
},
"source": {
"id": 123,
"name": "<string>",
"code": "<string>"
},
"paymentMethodId": 0,
"paymentMethod": {
"id": 123,
"name": "<string>",
"code": "<string>"
},
"statusId": {
"id": 0
},
"status": {
"id": 123,
"name": "<string>",
"code": "<string>"
},
"approvalStateId": {
"id": 0
},
"approvalState": {
"id": 123,
"name": "<string>",
"code": "<string>"
},
"authorizedActions": {
"isCancellable": true,
"isEditable": true,
"isApprovable": true,
"isControllable": true,
"isUnControllable": true
},
"ownerId": 123,
"owner": {
"id": 2,
"name": "<string>",
"url": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"authorId": 123,
"author": {
"id": 123,
"name": "<string>",
"url": "<string>"
},
"legalEntityId": 123,
"legalEntity": {
"id": 123,
"name": "<string>",
"url": "<string>"
},
"departmentId": 123,
"department": {
"id": 123,
"name": "<string>",
"url": "<string>"
},
"currencyId": "<string>",
"currency": {
"id": "<string>",
"name": "<string>",
"url": "<string>"
}
}
]
}
}Retrieve a list of ExpenseClaims.
The declaredOn query parameter can operate comparisons with a given date-time value:
?declaredOn=2021-01-01: strict equality.?declaredOn=since,2021-01-01: greater than or equal.?declaredOn=until,2021-01-01: lower than or equal.?declaredOn=between,2021-01-01,2021-01-31: comprised between two dates.curl --request GET \
--url https://{host}/api/v3/expenseClaims \
--header 'Authorization: <authorization>'{
"data": {
"items": [
{
"declaredOn": "2023-11-07T05:31:56Z",
"createdOn": "2023-11-07T05:31:56Z",
"modifiedOn": "2023-11-07T05:31:56Z",
"id": 2,
"name": "<string>",
"paymentReceivedOn": "2023-11-07T05:31:56Z",
"sourceId": {
"id": "<string>"
},
"source": {
"id": 123,
"name": "<string>",
"code": "<string>"
},
"paymentMethodId": 0,
"paymentMethod": {
"id": 123,
"name": "<string>",
"code": "<string>"
},
"statusId": {
"id": 0
},
"status": {
"id": 123,
"name": "<string>",
"code": "<string>"
},
"approvalStateId": {
"id": 0
},
"approvalState": {
"id": 123,
"name": "<string>",
"code": "<string>"
},
"authorizedActions": {
"isCancellable": true,
"isEditable": true,
"isApprovable": true,
"isControllable": true,
"isUnControllable": true
},
"ownerId": 123,
"owner": {
"id": 2,
"name": "<string>",
"url": "<string>",
"firstName": "<string>",
"lastName": "<string>"
},
"authorId": 123,
"author": {
"id": 123,
"name": "<string>",
"url": "<string>"
},
"legalEntityId": 123,
"legalEntity": {
"id": 123,
"name": "<string>",
"url": "<string>"
},
"departmentId": 123,
"department": {
"id": 123,
"name": "<string>",
"url": "<string>"
},
"currencyId": "<string>",
"currency": {
"id": "<string>",
"name": "<string>",
"url": "<string>"
}
}
]
}
}API key. Value must be formatted like so: lucca application={api_key}.
Comma-separated list of user identifiers (int).
{fieldName},{'asc'||'desc'}. Example: ?orderby=declaredOn,desc
Examples: between,2022-01-01,202201-31.
{offset},{limit}. Defaults to 0,1000.
"100,0"
1: Created; 2: PartiallyApproved; 3: Approved; 4: Controlled; 5: ApprovedAndControlled; 6: PaymentInitiated; 7: Paid; 8: Refused; 9: Cancelled. Examples: 2,3 or PartiallyApproved,Approved.
OK
Show child attributes
Show child attributes
Day the expenseClaim has been declared (Time zone Europe/Paris).
Day the expenseClaim has been created (Time zone Europe/Paris).
Day the expenseClaim has been modified (Time zone Europe/Paris).
x >= 1Name of the expense claim. If empty, it will be generated with the month and year of the last of claim item.
255Day the expenseClaim has been paid (Time zone Europe/Paris).
The source describes how the expense was created:
Show child attributes
How this expense was made: the owner used his money, an enterprise debit card, or a Cleemy card:
0, 1, 3 Status of the expenseClaim.
Show child attributes
0, 1, 2, 3, 4, 5, 6, 7, 8 State of the approval of the expenseClaim.
Show child attributes
0, 1, 2, 3, 4 Authorized actions on the expenseClaim for the current user.
Show child attributes
The expenseClaim can be deleted by the current authenticated user.
The expenseClaim can be edited by the current authenticated user.
The expenseClaim can be approved by the current authenticated user.
The expenseClaim can be controlled by the current authenticated user.
The current authenticated user can cancel the control of the expenseClaim.
Unique identifier of the user that made this expenseClaim.
Unique identifier of the user that created this grouping of expense.
ISO code of the currency (eg: 'EUR', 'USD', 'GBP', ...).
Was this page helpful?