Skip to navigation

Raise Reimbursement Request

Raises a reimbursement request (an expense claim) for a staff member, as they would in the SalaryBox app. Shared rules: see Writing data. Requires Payroll on your plan.

  • The claim is not approved by this call. It waits on the staff member’s reimbursement approval flow, or on an admin, and the response status is pending. It is approved straight away when an Admin key raises it, or in the rare case an approval flow has nobody at any level to act.
  • Approvers get the usual notifications and email, as if the staff member had raised it. The claim appears in List Reimbursement Requests (GET /requests/reimbursements), and reaches payroll only once approved.
  • date is the day of the expense, YYYY-MM-DD. A date in the future or in a finalised payroll month is refused with 400 on date.
  • amount is a JSON number from 0.01 to 10000000 with up to 2 decimals. notes is optional, at max 500 characters, trimmed.
  • Proof such as receipts can’t be attached through the API. The staff member adds it in the SalaryBox app.
  • SalaryBox does not de-duplicate this call: repeating it raises a second claim. If a call failed or timed out, check List Reimbursement Requests before sending it again.
  • To decide a claim, see Approve or Reject Reimbursement Requests (PUT /payroll/reimbursement/{salarybox_id}/decision).

API keys need no extra permission.

Authentication

AuthorizationApi-Key

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

Request

This endpoint expects an object.
salarybox_idstringRequired1-50 characters
SalaryBox ID of an active staff member.
datedateRequired

Day of the expense, YYYY-MM-DD. Not in the future or in a finalised payroll month.

amountdoubleRequired0.01-10000000
Claim amount, a JSON number with up to 2 decimals.
notesstringOptional1-500 characters
What the expense was for. Outer spaces are trimmed.

Response

The reimbursement request was raised.
messagestringOptional
statusbooleanOptional
dataobjectOptional

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error