← Certified payroll calculator · WH-347 builder
California eCPR: the DIR certified payroll XML, version 2.0
On a California public works job, each week's certified payroll goes to the Department of Industrial Relations' Public Works portal as electronic certified payroll (eCPR), typed in or uploaded as an XML file. DIR's XML schema is now at version 2.0, and its FAQ says version 1 files are accepted only until 13 January 2027. If your payroll software writes version 1, it has to change before then.
| Where it goes | DIR Public Works portal, eCPR (Labor Code § 1776; § 1771.4 makes electronic submission the rule on public works) |
|---|---|
| How | Online form, or an XML file on DIR's eCPR schema |
| Version | 2.0; version 1 accepted until 13 January 2027 (DIR's V2 FAQ) |
| Who | Contractors and subcontractors on California prevailing-wage public works |
What the DIR eCPR file holds that the WH-347 does not
The hours, rates, fringes and deductions are the same numbers as on the federal WH-347. The state's file wraps them with more:
- The contractor's PWCR (public works contractor registration number, 10 digits) and the DIR project ID, plus the awarding body.
- Each worker's middle name, home address and full SSN or ITIN (the WH-347 asks only for the last four digits).
- Check number, or CASH, per worker; travel and subsistence; notes.
- Each row's craft, and the apprentice period (1 to 10) for apprentices.
- Doubletime hours and rate. The WH-347 has no doubletime column, so a file that carries doubletime has a higher gross than a WH-347 that left it out.
- Deductions split into DIR's categories (state income tax, SDI, fund administration, savings, dues and the rest) and fringe as hourly amounts in DIR's five categories, with a flag saying whether fringe was paid to a plan or to the employee.
- A statement of non-performance for a week with no work, sent as a file with no employees.
Upload errors to check before you send
- Lengths and patterns: the PWCR is 10 digits; names, addresses and IDs have maximum lengths in the schema.
- Every SSN unique within the file.
- No more than 24 hours a day, doubletime included.
- Every apprentice row carries an apprentice period.
- At most 500 employees per file.
- The "source of truth" totals (total hourly rates, total deductions, gross for this project, gross for all work, net) are stored as you send them: DIR does not recompute them, so they have to add up before you upload.
Keep one set of numbers
The usual mistake is retyping the week: once on the WH-347 for the GC, once into the state portal. Two copies drift. Compute the week once, then produce the WH-347 and the state's file from it, so gross, deductions and net agree on both.
PayApps makes this file. PayApps' certified payroll page has a California public work section that writes this week's payroll as the eCPR v2.0 XML, from the same numbers as the WH-347 PDF. Deductions are split out of the WH-347 totals, never re-totalled, so the PDF and the file show the same net. It checks the upload rules above before you download. Full SSNs and ITINs are held in the page's memory only: they are never saved or sent to our server. The output is tested against DIR's XSD; it has not yet been through a live DIR upload, and DIR's classification names are not published, so an unrecognized one becomes "Other".
PayApps is our hosted pay-app billing for specialty subcontractors: pay applications with retainage and change orders, the weekly WH-347 and the state files, on the job they belong to. Certified payroll is on every plan. It is open now, free on one job, no card; lien waivers, QuickBooks and job costing are in paid plans that are not on sale yet.
Start free in PayAppsQuestions
Is version 1 of the eCPR XML still accepted?
DIR's version 2 FAQ says version 1 files are accepted until 13 January 2027. After that, an upload has to be on the version 2.0 schema.
Do I still need the WH-347 if I file eCPR?
eCPR is the copy DIR keeps. The GC or awarding body may also ask for a signed payroll on its own form: the contract says. Where both are owed, the numbers on both should be the same.
Does passing the XSD mean my payroll is right?
No. DIR's FAQ says so: the schema checks the file's shape, not whether the rates meet the prevailing wage determination.
Sources
Read on 2026-11-26 from the agency's own pages. Rules change: check the agency's page and your contract before your first payroll on a job. Cities, counties and DOTs often run their own system on top (LCPtracker is common); on those jobs the GC tells you where to file.
Other states' files: New Jersey (NJ Wage Hub MW-562), New York (NYSDOL), Washington (L&I PWIA), Illinois (IDOL CTP), Oregon (BOLI WH-38). Federal jobs: the WH-347 builder and overtime on cash fringe.