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
statusispending. It isapprovedstraight 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. dateis the day of the expense,YYYY-MM-DD. A date in the future or in a finalised payroll month is refused with400ondate.amountis a JSON number from 0.01 to 10000000 with up to 2 decimals.notesis 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_id
SalaryBox ID of an active staff member.
date
Day of the expense, YYYY-MM-DD. Not in the future or in a finalised payroll month.
amount
Claim amount, a JSON number with up to 2 decimals.
notes
What the expense was for. Outer spaces are trimmed.
Response
The reimbursement request was raised.
message
status
data
Errors
400
Bad Request Error
403
Forbidden Error
404
Not Found Error
