Expense-temp-items
Create a new temporary expense
Documentation
Organization Structure API
- Axis-sections
- Departments
- Legal-Units
- Establishments
Core HR API
- Employees Directory
- Guides
Cleemy Expenses API
- Expense-temp-items
- Expense-claims
- Expense-claim-items
- Exports
- Guides
Cleemy Invoices API
- Guides
Timmi Absences API
- Leaves
- Leave-requests
- Sick-leaves
- Imports
- Guides
Timmi Office API
- User-locations
- Work-locations
Timmi Project API
- Clients
- Projects
- Project services
- Organizations
- Financials
Timmi Settings API
- UserDates
- Workcycle-exceptions
- Working-time-arrangement
Timmi Timesheet API
- Time-entries
- Timesheets
- Reports
- Guides
Pagga Mealvouchers API
- Statutory
- Computation
Pagga Remuneration API
- Fixed-natures
- Fixed-items
- Variable-natures
- Variable-items
Poplee Training API
- Training-demands
- Realized-trainings
Expense-temp-items
Create a new temporary expense
Create a new temporary-expense-item.
POST
/
api
/
v3
/
expenseTempItems
curl --request POST \
--url https://{host}/api/v3/expenseTempItems \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"expenseNatureId": 1,
"purchasedOn": "2025-01-01",
"paymentMethodId": 1,
"quantity": 1,
"originalTransaction": {
"currencyId": "EUR",
"grossAmount": 25
},
"processedAmounts": {
"grossAmount": 25,
"currencyId": "EUR"
},
"deviceId": "Web",
"ownerId": 1,
"merchant": "SNCF",
"comment": "Travel to Paris"
}'
{
"id": 12,
"purchasedOn": "2025-01-01",
"originalTransaction": {
"grossAmount": 25,
"currencyId": "EUR",
"isExpenseAbroad": false
},
"processedAmounts": {
"grossAmount": 25,
"currencyId": "EUR",
"netAmount\"": 25,
"vatBases": [
{
"countryVatRateId": 2,
"countryVatRate": {
"id": "2,",
"name": "<string>",
"url": "<string>"
},
"vatAmount\"": 25,
"amountExcludingVat\"": 25
}
]
},
"expenseNatureId": 1,
"quantity": 1,
"ownerId": 1,
"paymentMethodId": 1,
"deviceId": "Web",
"mileage": null,
"effectiveQuantity": 1,
"attendees": {
"internal": [],
"external": []
},
"axisSections": [],
"customFields": {},
"merchant": "SNCF",
"comment": "Travel to Paris",
"expenseReceipts": [],
"authorizedActions": {
"isCancellable": true,
"isEditable": true
},
"sourceId": {
"id": 6
},
"statusId": {
"id": 0
}
}
Headers
API key. Value must be formatted like so: lucca application={api_key}
.
Body
application/json
The ExpenseTempItem
, or "temporary expense" is an expense that has not yet been declared (within an expense report) by its owner (the user who made the expense). Once submitted within an expense report, the expense turns into an ExpenseClaimItem
.
Response
200
application/json
OK
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://{host}/api/v3/expenseTempItems \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"expenseNatureId": 1,
"purchasedOn": "2025-01-01",
"paymentMethodId": 1,
"quantity": 1,
"originalTransaction": {
"currencyId": "EUR",
"grossAmount": 25
},
"processedAmounts": {
"grossAmount": 25,
"currencyId": "EUR"
},
"deviceId": "Web",
"ownerId": 1,
"merchant": "SNCF",
"comment": "Travel to Paris"
}'
{
"id": 12,
"purchasedOn": "2025-01-01",
"originalTransaction": {
"grossAmount": 25,
"currencyId": "EUR",
"isExpenseAbroad": false
},
"processedAmounts": {
"grossAmount": 25,
"currencyId": "EUR",
"netAmount\"": 25,
"vatBases": [
{
"countryVatRateId": 2,
"countryVatRate": {
"id": "2,",
"name": "<string>",
"url": "<string>"
},
"vatAmount\"": 25,
"amountExcludingVat\"": 25
}
]
},
"expenseNatureId": 1,
"quantity": 1,
"ownerId": 1,
"paymentMethodId": 1,
"deviceId": "Web",
"mileage": null,
"effectiveQuantity": 1,
"attendees": {
"internal": [],
"external": []
},
"axisSections": [],
"customFields": {},
"merchant": "SNCF",
"comment": "Travel to Paris",
"expenseReceipts": [],
"authorizedActions": {
"isCancellable": true,
"isEditable": true
},
"sourceId": {
"id": 6
},
"statusId": {
"id": 0
}
}