List expense reports

Lists expense reports for the specified partner.

Path Params
string
required
^[0-9a-fA-F]{32}$

The id of the partner for which we retrieve expense reports

Query Params
statuses
array of strings

Comma separated list of statuses to include, to exclude a status use ! before the status

statuses
include
array of strings

Parameter used to include additional data in the response. Available options:

  • expenseRecords: Include all expense records in the report
  • approvalChain: Include approval chain information (reminderSentToApprover, hasRejectedExpenseRecords, hasIncorrectApprovalChains, currentApproverInfo, approvalAllowed)
  • sendChain: Include send chain information (sendChain, hasIncorrectApprovalChains)
  • employeeId: Include the employee ID of the report owner
  • tag: Include tag information (simulatedCardReport, integrationTest, dimensions)
include
Allowed:
integer
1 to 1000
Defaults to 10

max records to return

integer
≥ 0
Defaults to 0

the offset to be used in list

string

Parameter used in the search

integer

Parameter that defines number of the group retrieved reports should belong to

sort
array of strings
Defaults to lastUpdated:desc

Specifies the property and direction for sorting the results. Each sorting criterion must use the property:direction format (e.g., name:asc or date:desc). You can apply multiple sorts by providing a comma-separated list (?sort=name:desc,date:asc) or by repeating the parameter (?sort=name:desc&sort=date:asc).

sort
Response

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json