Independent tool. Not affiliated with the U.S. Department of Labor or California DIR. Your workers' data never leaves your browser.

Certified Payroll Kit

Certified Payroll Kit › Guides › V2 XML from QuickBooks, Gusto, ADP

eCPR V2 XML from QuickBooks, Gusto and ADP

California public works contractors who run payroll in QuickBooks Online, Gusto or ADP RUN have the same problem: DIR wants a V2 XML file, and none of the three makes one. We couldn't find DIR XML export in any of their published help pages as of November 2026. You have three options: type each week into DIR's online form, pay for software or a service that maps your payroll, or build the XML from the payroll export you already run. This page covers the third: what to export from each system and what to add.

Two free tools for this: the eCPR XML V2 checker validates any XML file against DIR's V2 schema plus the arithmetic DIR's schema can't check, and the generator builds the V2 file from a QuickBooks, Gusto, ADP or spreadsheet export. Both run in your browser; worker data isn't uploaded.

What V2 needs that payroll exports usually miss

A V2 file needs more than a payroll register. Check your export against this list before you start:

V2 needsUsually in the payroll export?Where to get it
Hours per day, per classificationNo: registers show period totalsA time report by day, filtered to the project
First and last name, home addressUsually, in an employee reportEmployee details or a custom report
Full 9-digit SSN or ITINOften maskedEmployee report with full SSN. Our generator keeps it in your browser.
Classification, craft, apprentice levelOnly if you set up jobs, pay types or items for themPay items per classification, or add a column
Base rates (straight, overtime, double)YesPayroll details
Fringe per hour, in five categories, and how it was paidRarelyYour wage determination and plan documents; entered once per classification
Eight deduction amounts, gross for this project and all work, net pay, check numberMostlyPayroll details or journal
PWCR and DIR project IDNoYour DIR registration and DIR's project lookup

QuickBooks Online

QuickBooks Online Payroll's certified payroll report produces a WH-347, not DIR XML. For the V2 file, export a time activities report by employee and date filtered to the project's customer or project, plus a payroll details report for the same week with taxes and deductions by type. Set up one pay type or service item per classification so hours land in the right classification. Step-by-step report names are on WH-347 from QuickBooks Online; the same export builds both files.

Gusto

Gusto has no certified payroll report. Give each worker one job per classification in jobs and compensation, run payroll weekly if you can, and export the payroll journal for pay and deductions. Daily hours come from Gusto time tracking or your timekeeping app. Details: Gusto certified payroll.

ADP RUN

RUN's standard reports (Payroll Summary, Payroll Details) are by pay period. Build one custom report with name, address, hours by earning type, rate, gross, each tax and deduction, net pay and check number, filtered by check date, then add daily hours from your time system. Remember RUN filters by check date while DIR's week is by work date. Details: ADP RUN certified payroll.

Build the V2 file from your export

  1. Export one week. Hours by day for the project, plus the pay and deductions for the same week, as CSV or Excel. One file with one row per worker per day works best; pay columns only need to appear once per worker.
  2. Load it into the generator. Open the generator and drop the file in. It recognises common QuickBooks, Gusto and ADP column names and lets you match the rest.
  3. Enter the DIR details. Your 10-digit PWCR and the DIR project ID, in the California section of step 3.
  4. Set rates and fringes per classification. Base rates, fringe per hour in DIR's five categories, and whether fringes go to a plan, to workers in cash, or both. Saved for next week.
  5. Fix what the checks flag. Missing addresses, SSNs, check numbers, dates outside the week. Each check links to the field.
  6. Download the XML and upload to DIR. The file is validated against DIR's V2 schema in your browser before download. In DIR's system choose XML, Schema Version 2.0, upload as a draft, review, sign and submit.

Building and checking the XML is free, and so is the WH-347 PDF. Downloading the XML is part of Pro: $59 a month or $590 a year per company, with a 14-day free trial.

Build your V2 file or see pricing

Other ways to get there

Questions

Can QuickBooks Online export DIR eCPR XML?

Not that we can find. QuickBooks Online Payroll's certified payroll report produces a WH-347. For DIR you either type the payroll online or build the XML from a QuickBooks export.

Does Gusto support California certified payroll?

Gusto has no certified payroll report or DIR XML export. Set up one job per classification and build the files from Gusto's exports.

Does ADP RUN create the DIR XML file?

We found no DIR XML export in RUN's own reports. Build a custom report with the fields above and generate the XML from it. ADP's larger platforms and partner apps may differ; ask ADP.

Do I need full Social Security numbers?

Yes, V2 requires a 9-digit SSN or ITIN for each worker. Our generator reads them from your file inside your browser; they aren't uploaded to our servers. On the WH-347 PDF only the last four digits are printed.

Can the same export produce the WH-347 too?

Yes. On jobs with federal funding you may need both, and the generator builds the free WH-347 PDF and the V2 XML from the same file.

Official DIR documents used on this page

General information as of November 2026, not legal advice. DIR can update its documents; check the links above before relying on a detail.