Back

Payslips Settings in Payroll: Automatic Email Delivery and Automatic Sales Commissions

The Payslips Settings screen (the General Settings card in Payroll Settings) controls two things: emailing payslips to employees automatically as soon as they are approved, with the email template you choose, and adding approved sales period commissions automatically to the payslips a pay run creates. Use it when you start using Payroll, or when you want to stop automatic emails, change the email template, or change how commissions are paid.

Required permissionManage Payroll Settings
Where to find itPayroll → Settings → General Settings
Required appPayroll; the Payslip Calculation section also needs the Sales Target & Commissions app

Before you start

  • The Payroll app is active in your account (from the apps manager).
  • You have the Manage Payroll Settings permission, or you are the account owner.
  • For automatic emails: each employee has an email address in their profile, because the default email template sends to the email of the payslip's employee.
  • For the commissions section: the Sales Target & Commissions app is active; otherwise the section does not appear.

Steps to set up Payslips Settings

First: Open the screen

  1. From the main menu choose Payroll, then Settings. The Payroll Settings page opens.
  2. Click the General Settings card. The Payslips Settings screen opens. A side menu moves you between the Payslips Sharing and Payslip Calculation sections.

Second: Set up payslip sharing by email

  1. In Payslips Sharing, turn on Enable under Send Approved Payslips Automatically to email each payslip to the employee as soon as it is approved, or turn it off to stop automatic emails.
  2. When it is on, the Default Email Templates field appears. Choose the template used for the email:
    • The list shows the payslip email templates: the ones created in your account and the system templates, each with its name and number, for example "Template name #161".
    • To add or edit a template, click Manage Email Templates. The payslip email templates list opens.
🛈

Note: Turning automatic sending off and saving clears the chosen template. If you turn it on again, choose the template again; otherwise the system default template is used.

Third: Set up commissions in payslips

  1. In Payslip Calculation, turn on Enable under Automatically Calculate Sales Commissions for Approved Sales Periods so that a pay run adds the employee's approved sales period commissions to their payslip as a separate component.
  2. To review how commissions are calculated, click Manage Commission Rules. The Commission Rules list opens.

Fourth: Save

  1. Click Save. The message «Settings Saved Successfully» appears and you stay on the same screen.
  2. To leave without saving, click Discard. You go back to the Payroll Settings page and nothing changes.

Fields

Field Required / optional Default Accepted values What it does
Send Approved Payslips Automatically (Enable switch) Optional Shown on as long as the setting has never been saved (see the FAQ) On / off When on, the system emails each payslip to the employee as soon as it is approved. Sending a payslip manually is always possible, even when this is off or the payslip is not approved yet.
Default Email Templates Optional; appears only when automatic sending is on Nothing selected, so the system template "Default Payslip Email Template" is used A payslip email template from your account's templates or the system templates The template used for the approved payslip email: recipient, subject, body and attachments.
Manage Email Templates (button) — — — Opens the payslip email templates list to add or edit a template.
Automatically Calculate Sales Commissions for Approved Sales Periods (Enable switch) Optional; appears only when the Sales Target & Commissions app is active On On / off When on, a pay run links the employee's approved sales periods to their payslip and adds the total of their commissions as a separate component.
Manage Commission Rules (button) — — — Opens the commission rules list.

Settings that affect it

Setting Where Default Effect
Enable automatically pay approved sales periods Commissions Settings On The same setting as Automatically Calculate Sales Commissions for Approved Sales Periods: changing one changes the other.
Payslip email templates Email templates The system template "Default Payslip Email Template" (Arabic and English) Set the recipient, subject, body and attachment. If the chosen template is deactivated, no email is sent.
Employee email address Employee profile Empty The system template sends to this address; if it is empty, no email arrives.
Commission rules and sales periods Commission Rules — Decide the commission calculated for each employee. Only approved sales periods are added to payslips.
🛈

Note: The settings on this screen apply to the whole account, to every payslip approved and every pay run created after you save.

Validations and error messages

Message When it appears Fix
«Settings Saved Successfully» After clicking Save successfully. Nothing to do.
«You are not allowed to access this page» When opening the screen or saving without the Manage Payroll Settings permission. Ask the account owner to add the permission to your role.
«The given data was invalid, Please Check Errors Below» When an invalid value reaches one of the switches (it must be on or off). It does not normally appear when saving from the screen itself. Open the screen again, set the options and click Save.

Restrictions

Restriction Details
The Payslip Calculation section Appears only when the Sales Target & Commissions app is active. If you save while the app is inactive, automatic commissions are saved as off.
The Default Email Templates field Hidden while automatic sending is off.
Automatic sending is not retroactive The email is sent at approval only. Payslips approved before you turned it on are not sent; send them manually.
Deactivated template If the chosen template is deactivated or unavailable, no email is sent. If the template was deleted, the system falls back to the system default template.
Commissions are added only when a pay run creates payslips Automatic commissions work when payslips are generated from a pay run. In a manual payslip you pick the sales periods yourself in the payslip form.
Sales period conditions Only a sales period that is approved, belongs to the same employee, is in the currency of their contract, is not linked to another payslip, and has at least one commission that is not ignored.

Permissions

Permission What it allows Without it
Manage Payroll Settings Open and save this screen, and open Payroll Settings from the menu. Settings does not appear under Payroll, and opening the link directly shows «You are not allowed to access this page».
Approve Payslips Approve payslips, which is the moment the automatic email is sent and linked sales periods are paid. The user cannot approve payslips, so no automatic email is sent.
Manage Commission Rules Open Manage Commission Rules from the screen. The button shows, but opening the commission rules is refused.

What happens after saving

  • The options are saved at once for the whole account, and you return to the same screen with «Settings Saved Successfully».
  • Saving creates no journal entries and sends no email by itself.
  • From now on: every payslip that is approved is emailed to the employee with the chosen template, if automatic sending is on.
  • From now on: every new pay run adds approved sales period commissions, if automatic commissions are on. Payslips created before you saved do not change.

What happens when a payslip is approved

When you approve a payslip, or all payslips of a pay run, and automatic sending is on, the following happens for each payslip:

  1. The system takes the template chosen in Default Email Templates, or the system default template if none is chosen.
  2. The email is sent in the background to the employee's email. In the system template the subject is "Your Payslip From (start date) To (end date)" in English and «قسيمة راتبك للفترة من … إلى …» in Arabic, and the payslip is attached as a PDF when a payslip print template exists.
  3. If sending fails, for example because the employee has no email address or the template is deactivated, no error message is shown to the user and the payslip stays approved.
🛈

Note: Sending a payslip manually is always possible, whether automatic sending is on or off and whether the payslip is approved or not.

How sales commissions are added to the payslip

  1. When a pay run is created, for each payslip it generates, the system looks for the employee's approved sales periods in the currency of their contract that are not linked to another payslip.
  2. These sales periods are linked to the payslip, and the total of their commissions is added as one separate commission component.
  3. When the payslip is approved, the linked sales periods become paid.
🛈

Note: Example: an employee has two approved sales periods in their contract currency, with commissions of 300 and 200. The pay run adds a commission component of 500 to their payslip, and both periods become paid when the payslip is approved.

Troubleshooting

Problem Cause Fix
I do not see Settings under Payroll You do not have the Manage Payroll Settings permission, or the Payroll app is not active. Add the permission to your role, or activate the app.
The Payslip Calculation section does not appear The Sales Target & Commissions app is not active. Activate the app, then open the screen again.
The Default Email Templates field does not appear Automatic sending is off. Turn on Send Approved Payslips Automatically.
The payslip was approved but the employee got no email The employee profile has no email, the chosen template is deactivated, the setting was never saved, or the payslip was approved before the option was turned on. Add the email to the employee profile, activate the template or choose another, and click Save on this screen. Send earlier payslips manually.
The commission does not appear in the pay run payslip Automatic commissions are off, or the sales period is not approved, is in a currency other than the employee's contract currency, is linked to another payslip, or all its commissions are ignored. Turn the option on, approve the sales period, then create the pay run. Payslips created earlier are not updated automatically.

FAQs

Is automatic sending needed to email a payslip to an employee?

No. Manual sending is always possible, even when Send Approved Payslips Automatically is off or the payslip is not approved yet. The option only adds automatic sending at approval.

Are payslips approved earlier sent when automatic sending is turned on?

No. The email is sent at the moment of approval only, so payslips approved before you saved are not sent automatically; you can send them manually.

Which template is used when no template is chosen in Payslips Settings?

The system template "Default Payslip Email Template". It sends to the employee's email with the subject "Your Payslip From … To …" and attaches the payslip as a PDF when a payslip print template exists.

Why does automatic sending look enabled in a new account but no email is sent?

The switch is shown on as long as the setting has never been saved, but sending starts only after the first click on Save on this screen. Open the screen and click Save once.

What is the difference between automatic sales commissions in Payslips Settings and automatically paying approved sales periods?

None; they are the same setting. The first is in Payslips Settings and the second in Commissions Settings, and changing one changes the other.

Are commissions added automatically to a manual payslip?

No. They are added when payslips are created from a pay run. In a manual payslip you pick the approved sales periods yourself in the form.

Does saving Payslips Settings change existing payslips?

No. Payslips created or approved before you saved stay as they are. The settings apply to what is approved or created afterwards.