---
title: "Add new local tax"
method: POST
path: "/v2/companies/{companyId}/employees/{employeeId}/localTaxes"
tags: ["Local Taxes"]
---

# Add new local tax

`POST /v2/companies/{companyId}/employees/{employeeId}/localTaxes`

## Request

- Base URL: `https://api.paylocity.com/api`
- URL: `https://api.paylocity.com/api/v2/companies/{companyId}/employees/{employeeId}/localTaxes`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.paylocity.com/IdentityServer/connect/token` scopes: `WebLinkAPI`

Sends new employee local tax information directly to Web Pay.

## Path parameters

- `companyId` string, required
- `employeeId` string, required

## Request body

- LocalTax: The Local Tax model
  - `exemptions` number, nullable: Local tax exemptions value.<br />Decimal (12,2)
  - `exemptions2` number, nullable: Local tax exemptions 2 value.<br />Decimal (12,2)
  - `filingStatus` string, nullable: Employee local tax filing status. Must match specific local tax setup. <br /> Max length: 50
  - `residentPSD` string, nullable: Resident PSD (political subdivision code) applicable in PA. Must match Company setup.<br /> Max length: 9
  - `taxCode` string, nullable: Local tax code.<br />Max length: 50
  - `workPSD` string, nullable: Work location PSD. Must match Company setup. <br /> Max length: 9

## Response `201`

Successfully added

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/paylocity/apis/paylocity-api.md) - [All operations](https://skmtc.dev/paylocity/apis/paylocity-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paylocity/apis/paylocity-api/revisions/4e4bf910efae?raw)
