Skip to navigation

Add Staff Other Payment

Records a one-off other payment for a staff member in payroll. It records an entry and moves no money. Shared rules: see Writing data. Needs Payroll on your plan.

  • After a timeout or failure, check GET /payroll/other-payment for the same staff member and dates before sending again.
  • To correct an entry, use Update Staff Other Payment. There is no delete through the API; delete it in the SalaryBox app.
  • salarybox_id is an active staff member of the company.
  • date is YYYY-MM-DD, not after the staff member’s local today, and not in a finalised payroll month.
  • amount is a JSON number from 0.01 to 10000000 with up to 2 decimals.
  • other_payment_type is amount_given (the company paid the staff member) or amount_received (the staff member paid the company).
  • notes is optional, at max 500 characters, trimmed.
  • The staff member gets the usual in-app notification, as when an admin adds it in the app.

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

YYYY-MM-DD. Not after the staff member’s local today and not in a finalised payroll month.

amountdoubleRequired0.01-10000000
Up to 2 decimals. Must be a JSON number.
other_payment_typeenumRequired

amount_given is the company paying the staff member; amount_received is the staff member paying the company.

Allowed values:
notesstringOptional1-500 characters

Response

The other payment was recorded.
messagestringOptional
statusbooleanOptional
dataobjectOptional

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error