Expense imports
Import an approved reimbursement
Push one approved reimbursement. It is stored, then imported as an approved expense or reimbursement invoice, or held for review.
Required scope: expenses:write
Organization key (production HTTP): served. The key, service seat and organization must also meet this operation’s requirements.
curl --request POST \
--url 'https://api.toku.com/expense-imports/approved-reimbursements' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"workerEmail": "string",
"purchaseDate": "2026-01-01",
"approvedAt": "string",
"claimAmount": "string",
"claimCurrency": "string",
"payoutAmount": "string",
"payoutCurrency": "string",
"vendor": "string",
"category": "string",
"description": "string",
"sourceReference": "string"
}'{
"intakeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "RECEIVED",
"holdReason": "POSSIBLE_DUPLICATE",
"workerType": "EMPLOYEE",
"record": {
"type": "EXPENSE_REPORT",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
}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.
Body
application/json
workerEmailstringrequiredAllowed: 3 to 320 characters
purchaseDatestring<date>requiredapprovedAtstringrequiredAllowed: 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})$
claimAmountstring<decimal>requiredAllowed: matches ^-?[0-9]+(\.[0-9]{1,6}0*)?$
claimCurrencystringrequiredAllowed: matches ^[A-Z]{3}$
payoutAmountstring<decimal>requiredAllowed: matches ^-?[0-9]+(\.[0-9]{1,6}0*)?$
payoutCurrencystringrequiredAllowed: matches ^[A-Z]{3}$
vendorstringrequiredAllowed: 1 to 200 characters
categorystringAllowed: 1 to 100 characters
descriptionstringAllowed: at most 1000 characters
sourceReferencestringAllowed: 1 to 200 characters
Response
201Created
intakeIdstring<uuid>requiredstatusstringrequiredAvailable options: RECEIVED, IMPORTED, HELD, REJECTED
holdReasonstring | nullrequiredworkerTypestring | nullrequiredrecordobject | nullrequiredShow child attributes
typestringrequiredAvailable options: EXPENSE_REPORT, INVOICE
idstring<uuid>required