Practical guides and tools
W2Workflow breakdown

Turn finalized payroll into a balanced, reviewable journal.

A payroll journal is not just a file conversion. It is a controlled translation between payroll earning and deduction concepts and the accounting dimensions that finance uses to close the books.

9 minute readReviewed August 2026
01Final payrollSource detail
02Mapping layerAccounts + dimensions
03Control totalsBalance + completeness
04GL handoffPost or approved import

A journal is a set of accounting decisions.

Payroll describes earnings, taxes, deductions, liabilities, cash, employees, companies, and locations. The general ledger describes accounts, departments, classes, entities, cost centers, projects, and posting periods. The integration needs an explicit rule for how each source combination becomes a journal line.

Those rules should live in a controlled mapping table rather than being buried inside code. A finance owner approves changes, effective dates are preserved, and an unmapped value stops or quarantines the affected portion according to policy.

The controlled journal path

  1. 01

    Freeze the source population

    Use the finalized payroll identifier and retain the source totals that define the population. Exclude previews and test runs.

  2. 02

    Normalize payroll detail

    Convert vendor-specific labels and codes into consistent earning, tax, deduction, liability, cash, company, and location fields.

  3. 03

    Apply accounting mappings

    Resolve accounts and required dimensions using versioned rules with clear owners and effective dates.

  4. 04

    Build the journal grain

    Summarize or preserve detail at the level finance approved. The choice affects auditability, file size, and reconciliation.

  5. 05

    Run control checks

    Confirm debits equal credits, source totals reconcile, required dimensions exist, the period is open, and the journal has not already been posted.

  6. 06

    Post or prepare the import

    Use an approved API when available or create a controlled import file. Preserve the target response, batch ID, and rejected lines.

  7. 07

    Reconcile after handoff

    Compare the accepted ledger amount and dimensions back to the payroll control totals, then route only the real differences for review.

Minimum mapping decisions

Payroll conceptAccounting decisionExample control
Gross earningsExpense account and department grainSum journal lines back to payroll gross
Employee taxesLiability accounts by tax typeUnknown tax code stops the affected mapping
Employer taxesExpense and liability pairingDebit and credit must be produced together
DeductionsLiability, receivable, or offset treatmentMapping owner approves every new code
Net pay and fundingCash or payroll-clearing treatmentFunding total agrees to approved payroll
Company and locationEntity, class, department, or cost centerEvery required target dimension is populated

Controls that keep convenience from becoming risk

  • Separate preparation from approval where policy requires it.

    Automation can prepare the journal while a designated reviewer still authorizes posting.

  • Give every run a stable idempotency key.

    A retry should find the prior journal or batch instead of posting the same payroll twice.

  • Version the mapping table.

    The reviewer must be able to reconstruct which rule was effective for a historical payroll.

  • Preserve rejected target records.

    Do not reduce an accounting-system rejection to a generic failed status. Keep the line and reason.

  • Reconcile the accepted result, not merely the outbound file.

    A successfully created file is not proof that the ledger accepted every line.