Reads all Expensables
Changed onReads all Expensables
Request
- Base URLhttps://api.factorialhr.com
- URLhttps://api.factorialhr.com/api/2026-10-01/resources/expenses/expensables
- Auth
- OAuth 2Authorization code: https://id.factorialhr.com/oauth/authorizeToken URL: https://id.factorialhr.com/api/oauth/token scopes: expenses
- or API key in header x-api-key
Query parameters
Return only the expensables with these ids.
Return only the expensables filed inside these expense groups, the report or trip bundles an employee submits several expensables in.
Return only the expensables whose spending employee is one of these. When reporter_ids is given too the two are OR'ed, not intersected: the result holds the expensables owned by these employees plus the ones submitted by those reporters.
Return only the expensables submitted by these employees on somebody else's behalf, such as an assistant or an office manager. OR'ed with employee_ids when both are given.
Return only the expensables in these states: draft, pending, changes_requested, approved, rejected, reversed, in_payroll, sent_to_pay or paid.
Return only the expensables created this way: manual (entered by a person) or automatic (raised from a card transaction). Those are the only two values the filter understands, and any other string makes the read return nothing at all rather than ignoring the filter.
Start of the window of expense dates (effective_on) to return, inclusive. It only takes effect together with to: given on its own it is ignored and no date narrowing happens.
End of the window of expense dates (effective_on) to return, inclusive. It only takes effect together with from.
Response
OK
Example response
{
"data": [
{
"id": "1",
"type": "expense",
"company_id": "1",
"employee_id": "1",
"group_id": "1",
"legal_entity_id": "1",
"created_at": "2024-06-06T12:00:00.000Z",
"amount": 1000,
"currency": "EUR",
"status": "approved",
"description": "Dinner with clients",
"reporter_id": "1",
"status_updated_at": "2024-06-06T12:00:00.000Z",
"effective_on": "2024-06-06T12:00:00.000Z",
"review_request_at": "2024-06-06T12:00:00.000Z",
"paid_at": "2024-06-06T12:00:00.000Z",
"updated_at": "2024-06-06T12:00:00.000Z",
"reimbursable_amount": 1000,
"reimbursable_currency": "EUR",
"reimbursement_method": "sepa_transfer",
"internal_reference": "REF123",
"expense_id": "1",
"mileage_id": "1",
"per_diem_id": "1",
"budget_id": "1",
"project_id": "1",
"cost_center_ids": [
"1",
"2"
]
}
]
}Changes
- info
endpoint added
- info