Set up earning codes and earning code groups

This article explains how to set up earning codes and earning code groups. Earning codes uniquely identify every type of earning that workers receive. They include parameters that are related to earnings, such as accounting rules, tax laws, reporting requirements, and gross-up capability. You also use earning codes to calculate various amounts that are used by the payroll system. For example, earning codes are required in order to determine the following amounts:

  • Deductions and contributions for certain benefits
  • Balances in benefit accrual plans
  • Disposable income

Tip

During the initial configuration, you will be instructed to add earning codes to the various Payroll entities where they are required. Whenever you create or modify earning codes after the initial configuration, consider all the places that the earning code should be used, and update all Payroll entities that are affected. After you create earning codes, you can assign them to workers or earning code groups. You can also manually enter the earning codes on earnings statements. Earning codes are assigned to workers in the following situations:

  • An earning is received on a recurring basis, such as every pay period.
  • An earning has a unique flat amount for a worker position.
  • An earning has a unique rate for a worker position.

You don't have to assign an earning code to a worker to enter that earning code on the worker's earnings statement. For example, earning codes for vacation or overtime hours aren't usually assigned to workers. Earning codes are assigned to earning code groups in the following situations:

  • It's convenient to group similar earning codes for administrative purposes. For example, you might want to include all earning codes that are used for benefit accrual plans in one group, so that you can easily identify the codes when you update the plans.
  • A group of earning codes is used by a payroll process. For example, before a regular-rate-of-pay premium can be calculated, all earning codes that are used for nondiscretionary earnings must be included in a single group.

Develop a list of the earning codes that you need

Because earning codes are used to uniquely identify every type of earning that workers receive for their services, most organizations use many earning codes. A typical set of earning codes includes codes for at least the following types of earnings:

  • Base pay hourly earnings – If you have workers on multiple shifts, you must have a separate earning code for each shift.
  • Salaried earnings – You must have a separate earning code for each fixed compensation plan.
  • Premiums – If premiums are paid based on other earnings, such as shift differentials or overtime earnings, or on a worker's characteristics, such as bonuses based on credentials, you must have additional earning codes. For more information, see Set up premium earnings.
  • Leave – You must have separate earning codes for jury duty, bereavement leave, and any other type of leave that your organization offers.
  • Benefit accruals – You must have a separate earning code for every benefit accrual plan. The earning code for a benefit accrual plan is used to verify the available balance in the plan and reduce the balance when a pay statement line that includes the earning code is submitted for payment. For more information, see Set up benefit accrual plans.
  • Retroactive earnings – We recommend that you create a retroactive earning code for every type of earning that can be paid retroactively. It's helpful if the names of the two codes resemble each other. For example, if the regular earning code is named Hourly union 1st shift, the retroactive earning code might be named Hourly union 1st shift retro.
  • Miscellaneous or occasional earnings – Many organizations provide car allowances, reimbursement of relocation expenses, and other miscellaneous earnings. You must have a separate earning code for each type of miscellaneous or occasional earning.

Earning codes are shared across legal entities. However, the information on the Accounting tab isn't shared. That information applies only to the legal entity that you specify when you enter the information on the tab. For details, see the later sections of this article.

Create earning codes

Each earning type should have a unique earning code. The following information is entered on the Earning codes page.

Fields Description
Earning code Enter the name of the earning code. You might want to use a naming convention, so that similar earning codes are grouped together.
Unit of measure Select the unit of measure that is used to record the unit of work. The following options are available:
  • Hours – Select this option for earnings that are paid by the hour.
  • Pieces – Select this option for earning codes that are paid for each piece produced.
  • Each – Select this option for all earning codes where the earnings amount isn't determined by the number of hours that are worked or the number of pieces that are produced.
Productive Select this option if the earning code is used for productive hours. Productive hours represent regular work hours, whereas nonproductive hours represent hours that weren't actually worked, such as vacation and sick pay hours. Hours that are worked, but that are accounted for under another earning code, are also considered nonproductive. This information is used in several benefit and tax calculations, such as the calculation of the regular-rate-of-pay premium that is required for overtime hours under the Fair Labor Standards Act (FLSA). For more information about premium earnings, see Premium earning setup tasks.
Description Enter a description of the earning code.
Include in payment run type Select a payment run type for this earning code. When you generate pay statements, you select a run type for each payment run. Earning codes that are included in the selected payment run type are processed in that payment run. The following options are available:
  • Primary – Include this earning code only in primary payment runs, such as weekly or biweekly runs. These runs are used for earnings such as regular pay, holiday pay, or vacation pay. [!TIP] An earning code of the Primary type can be used in only one payment run in each pay period. This restriction can cause issues if, for example, you make a mistake that you must correct in the same payment run. Earning codes of the Primary and additional type can be used more than one time in a pay period. Therefore, you should consider selecting Primary and additional instead of Primary for the earning codes that will be used for your primary payment runs.
  • Additional – Include this earning code only in additional payment runs, such as runs that are used for bonuses or travel reimbursement.
  • Primary and additional – Include this earning code in both primary and additional payment runs. [!TIP] When you select this payment run type, the earning code is processed in the first payment run in the pay period that is either primary or additional. You can't reserve or hold the earning code for a specific run type.
  • Gross up – Include this earning code in gross-up payment runs, which are most often used for awards or reimbursements where the worker should receive a specific amount after taxes. If you select this option, you must select an earning code in the Gross up earning code field. The earning codes that are available in that field have a payment run type of Automatic.
  • Automatic – Use this earning code in gross-up payment runs. Gross-up payment runs use earning codes of two payment run types: Gross up and Automatic. The earning code of the Gross up payment run type is used for the earning that must be grossed up. (This earning is often an award or a reimbursement.) The earning code of the Automatic payment run type is used for the earnings that cover the taxes, so that the final amount of the gross up earning is correct. Earning lines that use earning codes of the Automatic payment run type are generated automatically when gross-up earning codes are processed.
NOTE: When you select Gross up or Automatic, the Tax method, Base earnings component, Rate basis, and Unit of measure fields are set to predefined values that can't be changed.
Base earnings component If you select this option, the earnings that are calculated by using this earning code are included when worker base pay is determined. Base pay settings are used to generate earnings for salaried workers, and base pay figures are used to calculate and determine benefits that are based on pay.

The following information is entered on the General tab.

Field Description
Rate basis This field is used together with the Amount or multiplier field to determine the earnings amount.
  • If you select Flat amount, the Amount or multiplier value is treated as a currency amount. Flat amounts are used when the earnings amount isn't based on a worker's fixed compensation. Here are some examples:
    • To pay a worker a recurring $500.00 car allowance, select Flat amount in the Rate basis field, and enter 500.00 in the Amount or multiplier field.
    • To pay a worker 25 cents for each piece that is produced, select Flat amount in the Rate basis field, and enter .25 in the Amount or multiplier field.
  • If you select Hourly, Pay period, Monthly, or Annually, the earning rate is calculated by using the workers' compensation settings. This calculation is based on the time frame of the rate basis. The calculated fixed compensation for the worker is multiplied by the Amount or multiplier value to determine the earning rate. The rate is then multiplied by the quantity on the earnings statement line to determine the amount. Here are some examples:
    • To set up an earning code for double-time pay for hourly workers, select Hourly in the Rate basis field, and enter 2 in the Amount or multiplier field. If the calculated hourly equivalent for the worker on the Employee fixed compensation page is $35.00, the worker receives 70.00 for each hour that is logged for this earning code.
    • To set up a 1-percent uniform allowance that is paid each pay period, select Pay period in the Rate basis field, and enter .01 in the Amount or multiplier field. The worker then receives 1 percent of his or her pay each pay period.
  • If Retroactive is selected, the earning code is set up for retroactive pay. This option is available only if the Retroactive earning option is selected.
  • If Percent of earnings, Hours of earnings, or Regular rate of pay is selected, select an earning code group in the Basis earning code group field. These rate bases are most often used to generate premium earnings. For more information, see Premium earning setup tasks.
Amount or multiplier Enter the multiplier that is used to calculate earnings, unless the rate basis is a flat amount.
  • If the rate basis is a flat amount, the value in this field is treated as a currency amount. For example, if you enter 500 in this field, the value is considered a flat amount of 500.00.
  • When the rate basis is Hourly, Pay period, Monthly, or Annually, this field is used together with the Rate basis field to determine the earnings amount. The rate basis method determines the appropriate compensation rate for workers. Workers who have different hourly rates can use the same hourly earning code, because the correct hourly rate is calculated for each worker and position. For example, if the compensation rate is $24,000 per year, and the worker's pay cycle is monthly, select Pay period as the rate basis, and enter a multiplier of 1. The generated earnings will be $2,000.
  • For information about the value that you should use when the rate basis is Hours of earnings, Percent of earnings, or Regular rate of pay, see Premium earning setup tasks.
NOTE: This field is ignored when retroactive earning codes are calculated.
Basis earning code group The group of earning codes that are used to calculate the amount of an earnings statement line that uses the selected earning code. This field is available only when the rate basis is Hours of earnings, Percent of earnings, or Regular rate of pay. These rate bases are most often used for premium earnings. The earning code group is used differently, depending on the rate basis that is selected:
  • If the rate basis is Hours of earnings, the line uses the earning codes in the earning code group to identify eligible hours. The earning code adds an additional amount for each eligible hour.
  • If the rate basis is Percent of earnings, the line uses the earning codes in the earning code group to identify eligible earnings. The earning code adds an additional percentage to the eligible amount.
  • If the rate basis is Regular rate of pay, the line uses the earning codes in the earning code group to identify eligible earnings. The earning code adds an amount that is based on the sum of all eligible earnings during a work period. This option is most often used to calculate the amount of the overtime premium that is required by the FLSA.
For information about how to use earning code groups to generate premium earnings, see Premium earning setup tasks.
Retroactive earning If you select this option, this earning code is set up as a retroactive earning code. This field isn't available if Gross up or Automatic is selected in the Include in payment run type field. When a retroactive earning code is created, the Rate basis, Productive, Unit of measure, and Amount or multiplier fields are set to predefined values that can't be changed. NOTE: If you select this option and then clear it, the Rate basis field is set to Flat amount.
Tax method The tax rate that is used to determine the amount of tax that is withheld for this earning code. The following options are available:
  • Regular – Taxes are calculated by using the standard rate.
  • Supplemental – Taxes are calculated at a supplemental rate.
  • Exempt – No tax is charged on earnings that are calculated by using this earning code.
Fringe benefit type The benefits that the worker is taxed on, even if the worker doesn't receive any direct compensation for them, such as life insurance and health benefits.
Retroactive earning code This field is used to associate a non-retroactive earning code with an earning code that will retroactively adjust the processed earning lines that use this code. NOTE: This field is optional. It's available only if the Retroactive earning option is cleared.
Gross up earning code Select an earning code to use in a gross-up payment run for the earnings that cover the taxes, so that the final amount of the gross-up earning is correct. This field is available only if Gross up is selected in the Include in payment run type field. The earning codes that you can select in this field have a value of Automatic in the Include in payment run type field.
Allow editing of earning statement rates Select this option to let users change the rate on earning statement lines that are generated by using this earning code. If you plan to enter beginning balances during the initial payroll setup, select this option for all earning codes when you create them. After you enter the beginning balances, you can clear this option to prevent rates from being changed during typical payroll processing. NOTE: If a salary line is generated by using an automated process, the rate on that line can't be changed, even if this option is selected. If you manually add a salary line, you can change the rate on the line if this option is selected.
Base definition Select how the earning code is used to calculate workers' compensation and general liability insurance. The following options are available:
  • Not applicable – The earnings that are associated with this earning code aren't used in the calculation.
  • Base time – The calculations use 100 percent of the earnings.
  • Time and a half – The calculations use 150 percent of the earnings.
  • Double time – The calculations use 200 percent of the earnings.

The following information is entered on the Accounting tab. This tab stores financial dimensions and posting rules that are applied when the selected earning code is assigned to a worker. Earning codes are shared across legal entities, but the settings on the Accounting tab are specific to the selected legal entity.

Field Description
Legal entity The legal entity for the dimension template, default dimensions, accounting rules, and project category that are used together with the earning code.
Project category The project category that the earnings are charged to, if the earnings are charged to a project category. NOTE: If the Unit of measure field is set to Hours for this earning code, this list is limited to project categories that bill hourly. Otherwise, the list contains only projects that are billed as expenses.
Distribution template The template that is used to determine the default dimension values and percentages for earning distributions. This information can be changed on individual earning lines. NOTE: If you select a template in this field, this setting overrides the template that is assigned to the position when you create earnings statement lines.
Default financial dimensions The default financial dimensions for the main account. When you select a financial dimension value, the Where the %1 dimension is used field group shows where the dimension is used in account structures and advanced rule structures. NOTE: The dimension values from the earning code and the position are added to the earning line and can be changed. When a value for the same dimension is specified for both the earning code and the position, the dimension value for the earning code is used.
Posting rules The accounting rules that are applied when earnings that are generated for this earning code are posted. The main account for distributions is based on the department, job, and worker selections for each posting rule. NOTE: The main account can't be changed on the earning lines.

The following information is entered on the Reporting tab. This tab contains tax-related information that is required by the Internal Revenue Service (IRS).

Field Description
Form W-2 control data The box number and label on Form W-2 that are used to report tax-related information to the IRS.

The following information is entered on the Earning code groups tab. This tab shows the earning code groups that the selected earning code is assigned to. You can also add earning code groups to the earning code and remove earning code groups from the earning code.

You can create earning code groups on the Earning code groups page.

Field Description
Add Select the earning code group to assign the earning code to. Earning code groups that already include the earning code aren't available.
Remove Select the earning code group to remove the earning code from, and then click Remove. The earning code group still exists, but it no longer includes the selected earning code.

If required: Create earning code groups

Earning code groups are required when you select Percent of earnings, Hours of earnings, or Regular rate of pay as the rate basis.

Important

If you use regular-rate-of-pay earning codes to calculate and pay the overtime premiums that are required by FLSA, every earning code for nondiscretionary earnings must be included in the earning code group that is used by the regular-rate-of-pay earning codes. If any earning codes are omitted from the earning code group, the overtime premium won't be calculated correctly.

Earning code groups can also make it easier for you to manage earning codes. For example, you can create a group that contains all earning codes that apply to union members. If changes in the union contract require that you update these earning codes, the earning code group makes it easy to identify the earning codes that are affected.

You can assign earning codes to groups when you create them, or you can assign an earning code to a group on the Earning code groups tab of the Earning codes page.

Optional: View the groups that include an earning code and add earning codes to the group

On the Earning code groups tab of the Earning codes page, you can see each group that an earning code belongs to. Additionally, on the Earning codes tab of the Earning code groups page, you can see each earning code that belongs to the selected group.

Next step

The next step is to set up schedules, leave types, and benefit accrual plans. For more information, see Set up work schedules and leave and Set up benefit accrual plans.

Additional resources

Generate earnings for workers

Standard payroll reports