Expense imports
List pushed approved reimbursements
List the claims this organization pushed, by last change, oldest first: filter by status and changed since an instant, then page with nextCursor.
Required scope: expenses:read
Organization key (production HTTP): read-only. The key, service seat and organization must also meet this operation’s requirements.
curl --request GET \
--url 'https://api.toku.com/expense-imports/approved-reimbursements' \
--header 'Authorization: Bearer <token>'{
"items": [
{
"intakeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"sourceReference": "string",
"status": "RECEIVED",
"holdReason": "POSSIBLE_DUPLICATE",
"reviewDecision": "RELEASED",
"reviewReason": "string",
"workerType": "EMPLOYEE",
"record": {
"type": "EXPENSE_REPORT",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
},
"paid": true,
"paidAt": "string",
"receivedAt": "string",
"updatedAt": "string"
}
],
"nextCursor": "string"
}Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is an access token from a Toku sign-in. See Authentication in the API reference.
Query parameters
statusstringAvailable options: RECEIVED, IMPORTED, HELD, REJECTED
sincestringAllowed: at most 40 characters, matches ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}(:\d{2}(\.\d{1,9})?)?(Z|[+-]\d{2}:\d{2})$
cursorstringAllowed: at most 200 characters
limitintegerAllowed: 1 to 100
Response
200Successful response
itemsobject[]requiredAllowed: at most 100 items
Show child attributes
intakeIdstring<uuid>requiredsourceReferencestring | nullrequiredstatusstringrequiredAvailable options: RECEIVED, IMPORTED, HELD, REJECTED
holdReasonstring | nullrequiredreviewDecisionstring | nullrequiredreviewReasonstring | nullrequiredworkerTypestring | nullrequiredrecordobject | nullrequiredShow child attributes
typestringrequiredAvailable options: EXPENSE_REPORT, INVOICE
idstring<uuid>requiredpaidbooleanrequiredpaidAtstring | nullrequiredreceivedAtstringrequiredupdatedAtstringrequirednextCursorstring | nullrequired