Skip to navigation

Approve or Reject Reimbursement Requests

Approves or rejects one pending reimbursement request of a staff member. Shared rules: see Writing data. Needs Payroll on your plan.

  • Find the request with List Reimbursement Requests (GET /requests/reimbursements). Send its reimbursement_date as date and its amount.
  • Only pending requests can be decided. Revoke is not available.
  • action is APPROVE or REJECT. reason is optional, at max 500 characters, trimmed.
  • status in the response can stay pending when a multi-level approval flow still needs a later level. An Admin’s approval finishes all levels.
  • If no pending request matches date, the response is 404 “Reimbursement request not found.” If more than one pending request matches, the response is 400 on date (“Decide them in the SalaryBox app.”).
  • You cannot decide your own request (400). A request that is not pending at your approval level gives 403. A finalised payroll month gives 400.
  • Repeating the request after it succeeded returns 404, which is harmless.

Authentication

AuthorizationApi-Key

Format: “Api-Key {api-key}”

Path parameters

salarybox_idstringRequired
SalaryBox ID of the staff member who raised the request.

Request

This endpoint expects an object.
datedateRequired

The reimbursement_date of the request as listed by GET /requests/reimbursements.

amountdoubleRequired

The amount of the request as listed by GET /requests/reimbursements.

actionenumRequired
Allowed values:
reasonstringOptional1-500 characters

Response

The decision was saved.
messagestringOptional
statusbooleanOptional
dataobjectOptional

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error