Case study
Paylocity NetSuite integration for a multi-location retailer
A multi-location retailer ran payroll in Paylocity and its finances in NetSuite, and keyed every employee change and payroll journal entry by hand. Our Paylocity NetSuite integration on Workato keeps active employee records current and turns every payroll run into a single, balanced, GL-mapped journal entry, with run and error logging across both automations.
Key Business Needs
- A retailer running HR and payroll in Paylocity and finances in NetSuite, with no native integration: every employee change and payroll journal entry was keyed in by hand.
- Payroll and GL mapping spanning 30+ departments, several territories, and multiple sell locations and subsidiaries in NetSuite.
- Dozens of pay codes (earnings, employee and employer taxes, deductions, trust items) landing on the right GL account and ledger side on every pay run.
- Every journal entry balanced, debits equal to credits on each check date, without a manual plug entry, since an unbalanced entry is unusable in NetSuite.
- Cash detail the accounting lead could reconcile on his own timeline: one blended cash line per employee made it impossible to hold HSA withholdings, which leave the bank on a delay.
- Active employees kept current in NetSuite (department, supervisor, title, contact and address) without manual entry, with terminated employees left to the client's own process.
- Source data that did not always map cleanly: missing or mismatched external IDs, sign conventions on reimbursement-style codes, and miscoded pay codes that surfaced only with real payroll data.
Technology Use Cases
- Workato as the automation platform, running two connected automations: an Employee Master Sync and a Payroll Journal Entry Sync.
- A Paylocity connector (Employee, Pay Statement Details and related objects) and NetSuite's SOAP web services connector (Employee and Journal Entry upserts, employee entity search and validation).
- Time-based triggers: the Employee Master Sync every 30 days, the Payroll Journal Entry Sync nightly on a month-end-aware schedule.
- Two Workato lookup tables (Department Mapping, Supervisor Mapping) and a pay-code-to-GL reference table mapping each code to its account and debit or credit side.
- Three Workato data tables (Payroll JE Run Log, Employee Detail Log, Error Log) plus a separate Employee Sync Error Log, a queryable history beyond NetSuite's list view.
- Upserts keyed to the Paylocity employee ID as the NetSuite external ID, so re-runs update existing records instead of duplicating them.
- A parameterized
target_yearandtarget_monthin place of the hardcoded catch-up date filter, so monthly runs default to the current month.
Our Solution
- Employee Master Sync: pulls the Paylocity roster, keeps active employees only (status code A), fetches each one's detail and upserts the NetSuite record, logging any failure instead of failing silently.
- Mapped department and supervisor through the lookup tables, so org changes need no recipe edit, plus Territory, Sell Location, Paylocity employee number, contact details, address, hire date and gender.
- Payroll Journal Entry Sync: a dedicated function loops every employee, pulls pay statement detail for the target period, takes dimensions from Paylocity cost centers, and validates NetSuite employee entities first.
- Merged each check date's lines into one company-wide journal entry, netting duplicate account, department and dimension combinations, with a NET PAY (or NET PAY ADJUSTMENT) plug line so debits equal credits.
- Restructured the cash side into 6 company-wide buckets per check date (Direct Deposit, Taxes, Trust Agency, 401K, HSA Paylocity, HSAEE), each with a fixed department, location and territory confirmed with the accounting lead.
- Left the expense side untouched: every pay code still posts to its existing GL account, so P&L accounting is unaffected.
- Took the Employee Master Sync live first, refined the pay-code table against the client's own numbers, and ran July as the first full payroll run, validating it with the client.
Business Outcomes
- Employee records current every 30 days: department, supervisor, title and contact details sync automatically, with no manual entry for new hires or employee changes.
- One balanced journal entry per payroll run, every pay code mapped to the right GL account: payroll journal entry automation that removed manual JE preparation entirely.
- 6 reconciliation-ready cash buckets: the accounting lead isolates HSA withholdings from the rest of take-home pay and reconciles each bucket independently against the bank.
- Four data issues resolved in validating July's run, including a missing external ID, a stale date filter and a reversed bonus-code mapping; an off-cycle entry that looked missing was confirmed legitimate.
- Buckets validated across the full employee population, not a test sample, once the temporary test-employee filter was removed, with a miscoded deduction code and a reimbursement code's sign handling fixed.
- Full traceability: every run, processed employee and error is logged, showing which employees a run processed, which check dates balanced and why a run failed.
- A validated, repeatable monthly process that replaced manual employee updates and payroll JE preparation and now supports monthly bank reconciliation.
Read next
- Business AutomationStaffing software$250K saved in the first yearIT, finance and HR processes automated, and integrations embedded in the product.
- Business AutomationStaffingQuicker revenue recognitionBullhorn, Salesforce, NetSuite and payroll connected for quicker revenue recognition.
- Data IntegrationRetailOne view of every customerCommerce Cloud, Marketing Cloud and Segment integrated in near real time.
Stop keying payroll into your ledger
Tell us which HR and finance systems you run, and our team will show you how to post every payroll run as one balanced journal entry.