Skip to content

Dataset

Payroll run and adjustment datasets for AI training

A payroll dataset is a set of employer pay runs, each with its inputs (hours, salary changes, bonuses and deductions), the gross-to-net register calculated line by line, the off-cycle corrections and retro adjustments that followed, and the tax and benefit filings generated from it. SourceX sources these from established businesses, such as employers, payroll bureaus and professional employer organizations running ADP, Workday or Paychex. Each dataset is de-identified, with tax identifiers and bank details removed, and licensed for an agreed permitted use.

Dataset manifest

Sourced to your spec
What it is
Pay runs with their inputs, gross-to-net results, later corrections and the filings each run fed
Typical systems
ADP, Workday, Paychex, UKG, Dayforce, Gusto, SAP HCM Payroll, bureau and PEO platforms
Typical history
Specified by the buyer; whole tax years per employer keep year-to-date totals and annual filings checkable
Modality
Structured register, input and adjustment tables with filing documents and pay statements
Delivery formats
Agreed per order; JSONL or Parquet tables, filings as PDF or as structured totals
Preparation
Names, tax IDs, bank details and addresses removed; garnishments and benefits generalized; pay kept, scaled or banded as scoped
Licensing
Rights reviewed per source; permitted use set in the license; confirm the employer's lawful basis with counsel
Availability
Sourced to your spec from holders who agree to license; supply is not guaranteed
Structured recordsIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
run_idstringPseudonymous ID for one pay run of one employer and pay group.
run_typeenumRegular on-cycle, off-cycle, bonus or other supplemental run, manual check, void or reversal.
pay_periodobjectPeriod start and end, check date and pay frequency: weekly, biweekly, semimonthly or monthly.
workerobjectPseudonymous worker ID with worker type, overtime status, pay basis and generalized work and residence jurisdictions.
inputsarrayApproved hours by earning code, rate and salary changes with effective and entry dates, one-time payments and elections.
earningsarrayRegister lines by earning code with hours, rate and amount, including overtime, shift premiums and imputed income.
deductionsarrayLines by deduction code with the tax treatment each code carries; court-ordered deductions as one generalized category.
taxesarrayEmployee and employer tax lines by jurisdiction, each with the taxable wage amount it was computed on.
net_payobjectGross, total deductions, total taxes and net, with the payment method but no account details.
ytd_balancesobjectYear-to-date and quarter-to-date totals per earning, deduction and tax after the run.
adjustmentsarrayRetro and correction lines with the period corrected, the period processed in, original and recomputed amounts and a reason code.
adjustment_linkobjectThe earlier run an adjustment corrects and the input change that triggered it.
filingsarrayReturns and wage reports the run fed, by form type, period and jurisdiction, with any amended return.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "run_id": "run_7c20_2024_15",
  "run_type": "regular",
  "pay_period": {
    "start": "2024-06-30",
    "end": "2024-07-13",
    "check_date": "2024-07-19",
    "frequency": "biweekly"
  },
  "worker": {
    "id": "w_41a9",
    "overtime_status": "non_exempt",
    "pay_basis": "hourly",
    "work_jurisdiction": "US-OH",
    "resident_jurisdiction": "US-PA",
    "reciprocity_certificate": true
  },
  "inputs": [
    {
      "type": "time",
      "code": "REG",
      "hours": 80
    },
    {
      "type": "time",
      "code": "OT",
      "hours": 6.5
    },
    {
      "type": "rate_change",
      "from": 24.0,
      "to": 25.5,
      "effective": "2024-06-16",
      "entered": "2024-07-09"
    }
  ],
  "earnings": [
    {
      "code": "REG",
      "hours": 80,
      "rate": 25.5,
      "amount": 2040.0
    },
    {
      "code": "OT",
      "hours": 6.5,
      "rate": 38.25,
      "amount": 248.63
    },
    {
      "code": "RETRO",
      "amount": 133.5
    }
  ],
  "adjustments": [
    {
      "adj_id": "adj_0193",
      "for_period": "2024-06-16/2024-06-29",
      "in_period": "2024-06-30/2024-07-13",
      "reason": "late_rate_change",
      "lines": [
        {
          "code": "REG",
          "hours": 80,
          "original": 1920.0,
          "recomputed": 2040.0,
          "difference": 120.0
        },
        {
          "code": "OT",
          "hours": 6,
          "original": 216.0,
          "recomputed": 229.5,
          "difference": 13.5
        }
      ]
    }
  ],
  "adjustment_link": {
    "corrects_run": "run_7c20_2024_14",
    "trigger": "rate change entered after the period was paid"
  },
  "deductions": [
    {
      "code": "401K",
      "treatment": "pre_tax_income_tax_only",
      "amount": 121.11
    },
    {
      "code": "MED125",
      "treatment": "pre_tax_section_125",
      "amount": 86.0
    }
  ],
  "taxes": [
    {
      "tax": "federal_income",
      "taxable_wages": 2215.02,
      "amount": 221.0
    },
    {
      "tax": "social_security",
      "taxable_wages": 2336.13,
      "amount": 144.84
    },
    {
      "tax": "medicare",
      "taxable_wages": 2336.13,
      "amount": 33.87
    },
    {
      "tax": "state_income",
      "jurisdiction": "US-PA",
      "taxable_wages": 2336.13,
      "amount": 71.72
    }
  ],
  "net_pay": {
    "gross": 2422.13,
    "deductions": 207.11,
    "taxes": 471.43,
    "net": 1743.59
  },
  "filings": [
    {
      "form": "federal_quarterly_return",
      "period": "2024-Q3",
      "amended": false
    }
  ]
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Learn gross-to-net calculation

Inputs paired with register lines are supervised examples of the full calculation, including the taxable wage amount behind each tax.

Diagnose and correct pay errors

Adjustments linked to the original lines teach a model to find the wrong input and compute the difference owed or recovered.

Answer employee pay questions

Runs with adjustment reasons ground an assistant that explains why net pay changed between two periods.

Reconcile filings to registers

Quarterly returns and wage reports tied to the runs behind them train agents to agree filed totals to register totals.

Evaluate payroll agents

Held-out runs test whether an agent reproduces the register and flags the cases that needed correcting.

Use-case guides: Finance and accounting agents, Enterprise and computer-use agents, Private evaluation sets

What makes this data valuable

Originals kept beside corrections

Voided and superseded results kept with their first values make each correction a before-and-after pair.

Reason codes on adjustments

A stated cause, such as a late timesheet or a missed rate change, turns a difference into an explained case.

Taxable wages per tax

The wage amount behind every tax line exposes the step where pre-tax treatment is applied.

Whole tax years

Runs covering a full tax year let year-to-date totals and annual wage statements be checked against the register.

Code dictionary

Codes delivered with their tax treatment stay meaningful outside the employer that defined them.

Spread of rule sets

More jurisdictions, pay frequencies and worker types cover more logic than more workers under one setup.

Value drivers

Payroll dataset

This page covers payroll run records with adjustments and filings.Illustrative

Retro and off-cycle adjustments are the hard cases

A regular pay run is mostly repetition: the same salary, the same elections and nearly the same result as the run before. The hard cases are the corrections, because each one records a first calculation that was wrong, the reason, and the recomputation that fixed it. A timesheet is approved after cutoff. A raise is keyed in July with an effective date in June. An employee is taxed for the state of the head office instead of the state where the work was done. Each one produces a difference to pay or recover, not a fresh paycheck.

How a system stores the correction decides whether it can be learned from. SAP HCM Payroll gives every result a for-period and an in-period. A retroactive result is one created in a later period for an earlier one, so the two differ, and the original result is kept under a changed status instead of being deleted. Other systems overwrite, so ask whether a void or reversal is stored as its own result that offsets the original payment or replaces it. The triple to ask of any source is the original lines, the reason and the recomputed lines. A register export with one line called retro pay gives the answer without the question.

The recomputation is rarely just hours times the rate difference. Under US federal overtime rules, a nondiscretionary bonus that covers several workweeks is generally allocated back over those weeks, which raises the regular rate and the overtime owed in each week that had overtime. An error on a federal quarterly return that was already filed is generally corrected on Form 941-X, with a separate form for each quarter corrected, and whether a repaid overpayment can be corrected that way depends on the year it was repaid in. The record should show whether the employer recovered an overpayment net or gross, because that rule differs by jurisdiction.

Gross-to-net is jurisdiction logic

The arithmetic of gross-to-net is subtraction. The logic is deciding which wages each tax is allowed to see, and that logic belongs to the jurisdiction. In US payroll every tax has its own taxable wage figure. A pre-tax 401(k) deferral generally lowers wages for federal income tax withholding but not for Social Security and Medicare, while a health premium taken under a Section 125 cafeteria plan generally lowers both. One paycheck therefore carries several taxable wage amounts, and a register that lists only gross pay and tax amounts hides the step a model most needs to see.

Geography multiplies the rules. Where two states have a reciprocity agreement, an employer can generally withhold for the state of residence instead of the work state, but typically only after the employee files a certificate, with the work state as the default until then. Pennsylvania's local earned income tax identifies residence and work locations by political subdivision codes and generally has the employer withhold the higher of the resident and nonresident rates. Rule sets in other countries differ in kind, not only in rates: a UK employer, for example, reports pay and deductions to the tax authority in a Full Payment Submission on or before each payday, so a model trained on one country's runs has not seen another's.

So one employer's runs teach one rule set: its states, its pay frequency, its worker types and its deduction codes as configured. A single-state employer that pays salaried staff monthly holds almost no overtime, no multi-state withholding and few retro adjustments. Write coverage as a grid, not a head count: jurisdictions, pay frequencies, worker types and the adjustment types wanted in each cell. Payroll bureaus and professional employer organizations run many employers on one platform, which gives breadth under consistent codes, but a bureau processes pay on behalf of its client employers, so ask whose agreement the license rests on. Rates, wage bases and forms also change from year to year, so label each run with its tax year before pooling.

What to check before licensing

  • Ask whether voided, reversed and superseded results are kept with their original values, or whether the export shows only the final register.
  • Check that each adjustment carries the period it corrects and the period it was processed in, and that it links to the original lines.
  • On a sample, recompute net from gross, deductions and taxes, then check that year-to-date balances equal the sum of the runs.
  • Ask for the earning and deduction code dictionary with the tax treatment of each code. Code names alone are not portable between employers.
  • Confirm that de-identification removes or generalizes pay, tax identifiers, bank details, garnishments and benefit elections, and that nobody in a small work group can be singled out by job, location and pay.
  • Confirm with counsel that the employer has a lawful basis to license payroll data, and whether workforce notice or works-council consent is required in each jurisdiction covered.
  • Agree one quarter of register totals to the return filed for that quarter, and ask how amended returns are linked to the adjustments that caused them.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

What does a payroll run record contain?

A payroll run record holds everything needed to follow one pay run from inputs to filings. That means approved hours and pay changes, the register of earnings, deductions and taxes for each worker, net pay, year-to-date balances, any adjustments that corrected an earlier run, and the returns and wage reports the run fed.

Why do retro and off-cycle adjustments matter so much?

Retro and off-cycle adjustments matter because they are where a payroll record shows a mistake and its repair side by side. A regular run shows a correct result. An adjustment shows the first result, the reason it was wrong and the recomputed amounts, which is the reasoning a payroll agent has to reproduce.

How should I specify jurisdiction coverage?

Specify it as a grid of the rule sets you need, not as a number of employees. List the states or countries, the pay frequencies, the worker types such as hourly, salaried, tipped or union, and the adjustment types you want in each. One employer usually covers a few cells, so wide coverage means several sources.

How is personal data in payroll handled?

Names, tax identifiers, bank details and addresses are removed or replaced before delivery, and the scope should state how garnishments and benefit elections are generalized. Payroll is personal data about pay, so also confirm that the employer has a lawful basis to license it and has given any workforce notice or obtained any works-council consent that applies. No de-identification method is perfect.

Are pay amounts delivered as recorded?

That is set in the scope, and each choice has a cost. Amounts as recorded keep every calculation reproducible. Scaling pay by a constant keeps the ratios but breaks any rule with a fixed threshold, such as a wage base cap or a tax bracket. Banding protects individuals further and breaks the arithmetic.

Can tax filings and payment files be included?

They can be, in reduced form, where the holder kept them. Ask for quarterly returns and wage reports as structured totals or as documents with employer identifiers removed, and for annual wage statements, which are per person, as de-identified fields. Direct deposit files in the ACH format carry bank routing and account numbers, so specify counts and totals per run instead of the files themselves.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell us what your models need

Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.

Updated 25 November 2026.

See if your company qualifies