Payroll via SFTP
This guide covers how to implement the Payroll Deductions flow using Wellhub's SFTP file exchange.
Prerequisites
- Completed SFTP setup (SSH keys and server connection).
- Familiarity with the Payroll Deductions flow concepts.
Supported Operations
Loading diagram...
* For Multi Entity, only a .zip file is currently available (containing individual files). A consolidated file will be added in the future.
Overview
Payroll deductions via SFTP use a file download model. Wellhub generates the deduction file at the end of each billing cycle and places it in your designated SFTP download directory. You download the file and process the deductions in your payroll system.
File Characteristics
- The CSV delimiter will be semicolons (
;) - The headers will be in English
- The file headers will follow the Eligibility File specifications shared by the client (if the content hasn't been shared, it will be blank)
- The currency will follow the client's location (if there are entities with different locations/currencies, currencies will be returned accordingly)
- Only employees who have payroll enabled (as determined by the Eligibility File) will appear on the deduction file
- Only employees who have payroll enabled and have subscribed to a plan and then were removed from the company during the given billing cycle will appear on the deduction file for leavers
File Exchange Frequency
Deduction Files are generated and available at the same time the company invoice is issued. You will find the deduction file for the latest billing cycle in the Payroll SFTP folder. On a monthly basis, it will be replaced by the most recent file.
File Naming Convention
Single Entity
Deduction file: YYYYMM_wellhub_payroll_deduction.csv
Example: 202507_wellhub_payroll_deduction.csv
If there is more than one file issued, versioning is applied: 202507_wellhub_payroll_deduction_1.csv, 202507_wellhub_payroll_deduction_2.csv
Deduction file for leavers: YYYYMM_wellhub_partial_payroll_deduction.csv
Example: 202507_wellhub_partial_payroll_deduction.csv
Multi Entity
Deduction file: ClientName_YYYYMM_wellhub_payroll_deduction.csv
Example: Clientname1_202507_wellhub_payroll_deduction.csv
Deduction file for leavers: ClientName_YYYYMM_wellhub_partial_payroll_deduction.csv
Example: Clientname1_202507_wellhub_partial_payroll_deduction.csv
File Contents
See the Wellhub Data Model in the Glossary for the full field reference.
There will be only one record per employee in a file. Because of the flexibility provided to make changes to plans, there may be more than one charge for the employee baked into the total amount owed. Any questions as to the nature of the charge can be answered by the employee logging into their Wellhub app under Profile → Settings → Account → Receipts or Billing History.