> ## Documentation Index
> Fetch the complete documentation index at: https://docs.simplifi.work/llms.txt
> Use this file to discover all available pages before exploring further.

# Payroll Overview

> A reference guide to the core entities in the Payroll Integration module.

This page defines the key entities in StaffSync's Payroll Integration module. These concepts cover how timesheet data is translated, processed, and exported to your payroll provider.

***

## Entities

<CardGroup cols={2}>
  <Card title="Payroll Provider" icon="building-columns">
    An external payroll system that StaffSync integrates with to transfer timesheet and leave data. Once connected, approved timesheets are exported to the provider automatically or on demand. Supported providers include DataPay and iPayroll, with additional providers available via CSV export.
  </Card>

  <Card title="Payroll Code" icon="00">
    A unique identifier assigned to a timesheet activity, leave type, department, or role that tells the payroll provider how to classify and process that data. Payroll codes must match the codes configured in your payroll system. They are set up in StaffSync under roles, activities, and leave types.
  </Card>

  <Card title="Payroll Export" icon="file-export">
    The action of sending approved timesheet data from StaffSync to the payroll provider for processing. Exports can be delivered via a direct API connection or as a downloadable CSV file. Exports are typically performed at the end of each pay period after all timesheets have been approved.
  </Card>

  <Card title="Pay Period" icon="calendar-week">
    The recurring window (e.g. weekly, fortnightly) that timesheets are grouped into for payroll processing. Timesheets within the pay period are batched together at the end of the period and exported to the payroll provider. Pay periods are aligned to the configuration in the connected payroll system.
  </Card>

  <Card title="Payroll Rules Engine" icon="money-bill-transfer">
    StaffSync's built-in logic system for automatically applying pay conditions to timesheets. Rules define who they apply to, when they are triggered, and what action to take — for example, applying an overtime rate after a certain number of hours, or granting a day of annual leave when a staff member works on a public holiday. Rules run automatically when timesheets are generated or approved.
  </Card>

  <Card title="API Integration" icon="plug">
    A direct connection between StaffSync and a payroll provider that automates the transfer of employee data, leave balances, and approved timesheets. API integrations are configured under **Our Profile → API Integrations** and use API mappings to control which data fields are sent to the provider.
  </Card>

  <Card title="Cost Centre" icon="chart-pie">
    A financial classification used to attribute timesheet hours and costs to a specific area of the business (e.g. a department, project, or location). Cost centres are typically configured in the payroll provider and synced into StaffSync, where they can be assigned to departments or individual timesheets.
  </Card>

  <Card title="Payroll Batch" icon="layer-group">
    A grouped set of approved timesheets for a given pay period that are processed and exported together. Batches can be reviewed in the **View Processed Batches** section, where individual timesheets can be inspected and a CSV or Excel export can be downloaded.
  </Card>
</CardGroup>
