GuidesRecipesAPI ReferenceChangelog
API Reference

Add/Update Earning

Add/Update Earning API sends new or updated employee earnings 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

Earning Model

string

Third-party agency associated with earning. Must match Company setup.
Max length: 10

number

Value that matches CalculationCode to add to gross wages. For percentage (%), enter whole number (10 = 10%).
Decimal(12,2)

number

Year to Date dollar amount not to be exceeded for an earning in the calendar year. Used only with company driven maximums.
Decimal(12,2)

string

Defines how earnings are calculated. Common values are % (percentage of gross), flat (flat dollar amount). Defaulted to the Company setup calcCode for earning.
Max length: 20

string

Cost Center associated with earning. Must match Company setup.
Max length: 10

string

Cost Center associated with earning. Must match Company setup.
Max length: 10

string

Cost Center associated with earning. Must match Company setup.
Max length: 10

string
required

Earning code. Must match Company setup.
Max length: 10

string

Date earning is active. Defaulted to run date or check date based on Company setup. Common formats are MM-DD-CCYY, CCYY-MM-DD.

string

Stop date of an earning. Common formats are MM-DD-CCYY, CCYY-MM-DD.

string

Needed if earning is applied differently from the payroll frequency (one time earning for example).
Max length: 5

number

Dollar amount. The employee earning will stop when the goal amount is reached.
Decimal(12,2)

number

The value is used in conjunction with the Rate field. When entering Group Term Life Insurance (GTL), it should contain the full amount of the group term life insurance policy.
Decimal(12,2)

boolean

Used for ACA. If not entered, defaulted to Company earning setup.

string

Job code associated with earnings. Must match Company setup.
Max length: 20

string

Information to print on the check stub if agency is set up for this earning.
Max length: 50

number

Amount already paid to employee toward goal.
Decimal(12,2)

number

Maximum amount of the earning on a single paycheck.
Decimal(12,2)

number

Minimum amount of the earning on a single paycheck.
Decimal(12,2)

number

Rate is used in conjunction with the hoursOrUnits field.
Decimal(12,2)

string

Rate Code applies to additional pay rates entered for an employee. Must match Company setup.
Max length: 10

string
required

Start date of an earning based on payroll calendar. Common formats are MM-DD-CCYY, CCYY-MM-DD.

Responses
200

Successfully added or updated

401

Unauthorized

403

Forbidden

429

Too Many Requests

Language
Credentials
OAuth2
Click Try It! to start a request and see the response here! Or choose an example:
application/json

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