Skip to main content
POST
/
allowance_line_items
/
batch
/
upsert
Batch upsert allowance line items
curl --request POST \
  --url https://sandbox.nmbr.co/services/payroll/allowance_line_items/batch/upsert \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "id": "<id>",
    "custom_amount": 100
  },
  {
    "pay_stub_id": "<id>",
    "allowance_type": "automobile_and_motor_vehicle",
    "custom_amount": 75
  }
]
'

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
Required array length: 1 - 100 elements

Response

202

Accepted