Skip to main content
PUT
/
employer_statutory_withholding_line_items
/
{line_item}
Update an employer statutory withholding line item
curl --request PUT \
  --url https://sandbox.nmbr.co/services/payroll/employer_statutory_withholding_line_items/{line_item} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "business_preset_id": "<id>",
  "employer_statutory_withholding_type": "ei",
  "title": "EI",
  "title_translations": {
    "en": "EI",
    "fr": "AE"
  },
  "remittance_account_id": "<id>"
}
'
{
  "id": "<id>",
  "object": "employer_statutory_withholding_line_item",
  "data": {
    "pay_stub": {
      "id": "<id>",
      "object": "pay_stub",
      "links": {
        "self": "/pay_stubs/<id>"
      }
    },
    "line_item_type": "employer_statutory_withholding",
    "is_system": true,
    "is_managed": true,
    "amount": 35,
    "custom_amount": null,
    "managed_amount": 35,
    "employer_statutory_withholding_type": {
      "id": "<id>",
      "object": "employer_statutory_withholding_type",
      "data": {
        "type": "ei",
        "label": "EI"
      },
      "links": {
        "self": "/employer_statutory_withholding_types/ei"
      }
    },
    "title": "EI",
    "title_translations": {
      "en": "EI",
      "fr": "AE"
    },
    "title_translated": "EI",
    "remittance_account": {
      "id": "<id>",
      "object": "remittance_account",
      "links": {
        "self": "/remittance_accounts/<id>"
      }
    },
    "source_adjustment": null,
    "business_preset": {
      "id": "<id>",
      "object": "business_preset",
      "links": {
        "self": "/business_presets/<id>"
      }
    },
    "expense_accounting_code": null,
    "managed_expense_accounting_code": null,
    "custom_expense_accounting_code": null,
    "liability_accounting_code": null,
    "managed_liability_accounting_code": null,
    "custom_liability_accounting_code": null,
    "component_settings": {
      "attributes_locked": false
    },
    "created_at": "2026-01-01T00:00:00.000000Z",
    "updated_at": "2026-01-01T00:00:00.000000Z"
  },
  "links": {
    "self": "/employer_statutory_withholding_line_items/<id>"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

line_item
string
required

Body

application/json
business_preset_id
string

Editing is prevented when is_editable is false

employer_statutory_withholding_type
enum<string>

The type of employer statutory withholding for this line item.

Editing is prevented when is_editable is false

Available options:
cpp,
cpp_2,
eht,
ei,
qpip,
qpp,
qpp_2,
wcb
custom_amount
number<decimal>

An override for managed_amount. When set, amount reflects this value instead of managed_amount.

Editing is prevented when is_editable is false

Required range: x <= 999999
title
string | null

Editing is prevented when is_editable is false

Maximum string length: 255
title_translations
object

Optional translations for the title property.

Editing is prevented when is_editable is false

remittance_account_id
string

Editing is prevented when is_editable is false

expense_accounting_code_id
string

Editing is prevented when is_editable is false

custom_expense_accounting_code_id
string

Editing is prevented when is_editable is false

liability_accounting_code_id
string

Editing is prevented when is_editable is false

custom_liability_accounting_code_id
string

Editing is prevented when is_editable is false

external_ref
string
Maximum string length: 255

Response

200 - application/json

OK

id
string
read-only

The unique identifier of the object in Nmbr.

object
string
read-only

The type of the object in Nmbr ("employer_statutory_withholding_line_item").

data
Employer Statutory Withholding Line Item · object