GuidesRecipesAPI ReferenceChangelog
API Reference

Add/update non-primary state tax

Sends new or updated employee non-primary state tax information directly to Paylocity Payroll/HR solution.

Path Params
string
required

The Paylocity Company Identifier. This is the unique value provided by Paylocity to each specific Payroll Entity.
Allowable Values:
9 char max

string
required

The Paylocity Employee ID. This is a unique value per Paylocity Company ID.
Allowable Values:
10 char max

Body Params

Non-Primary State Tax Model

number

State tax code.
Max length: 50

number

Box 4(b) on form W4 (year 2020 or later): Deductions amount.
Decimal (12,2)

number

Box 3 on form W4 (year 2020 or later): Total dependents amount.
Decimal (12,2)

number

State tax exemptions value.
Decimal (12,2)

number

State tax exemptions 2 value.
Decimal (12,2)

string

Employee state tax filing status. Common values are S (Single), M (Married).
Max length: 50

boolean

Box 2(c) on form W4 (year 2020 or later): Multiple Jobs or Spouse Works.
Boolean

number

Box 4(a) on form W4 (year 2020 or later): Other income amount.
Decimal (12,2)

number

State Tax percentage.
Decimal (12,2)

string

Non-primary state tax reciprocity code.
Max length: 50

string

Supplemental check calculation code. Common values are Blocked (Taxes blocked on Supplemental checks), Supp (Use supplemental Tax Rate-Code).
Max length: 10

string

Tax calculation code. Common values are F (Flat), P (Percentage), FDFP (Flat Dollar Amount plus Fixed Percentage).
Max length: 10

string

State tax code.
Max length: 50

integer

The state W4 form year
Integer

Responses
200

Successfully added or updated

401

Unauthorized

403

Forbidden

429

Too Many Requests

Language
Credentials
OAuth2
Choose an example:
application/json

Copyright © 2025 Paylocity. All Rights Reserved. Privacy Center | Terms and Conditions | Accessibility