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.

GEThttps://api.toku.com/expense-imports/approved-reimbursements

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>'
200 response
{
  "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

Authorizationstringheaderrequired

Bearer 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

statusstring

Available options: RECEIVED, IMPORTED, HELD, REJECTED

sincestring

Allowed: 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})$

cursorstring

Allowed: at most 200 characters

limitinteger

Allowed: 1 to 100

Response

200Successful response
itemsobject[]required

Allowed: at most 100 items

Show child attributes
intakeIdstring<uuid>required
sourceReferencestring | nullrequired
statusstringrequired

Available options: RECEIVED, IMPORTED, HELD, REJECTED

holdReasonstring | nullrequired
reviewDecisionstring | nullrequired
reviewReasonstring | nullrequired
workerTypestring | nullrequired
recordobject | nullrequired
Show child attributes
typestringrequired

Available options: EXPENSE_REPORT, INVOICE

idstring<uuid>required
paidbooleanrequired
paidAtstring | nullrequired
receivedAtstringrequired
updatedAtstringrequired
nextCursorstring | nullrequired
400Bad request
401Unauthorized
403Forbidden
429Response 429
Was this page helpful? Suggest edits