California certified payroll: the eCPR version 2 XML
Contractors and subcontractors on California public works send their certified payroll records to the Department of Industrial Relations (DIR) through its eCPR system, at least monthly. The XML upload must follow version 2. DIR accepts version 1 files until January 13, 2027.
Some projects are exempt from eCPR for now: those monitored under the older programs of Caltrans, the City of Los Angeles, LAUSD and Sacramento County, and projects under a qualifying project labor agreement. DIR lists them on its eCPR exemptions page.
What DIR asks for
- Records go straight to the Labor Commissioner, either typed into the eCPR online form or uploaded as an XML file, at least once a month or more often if the contract says so (Labor Code section 1771.4).
- Your company must be registered with DIR. The file carries your 10-digit PWCR registration number.
- The file names the project by its DIR project ID and the week by its ending date. The schema allows up to 500 employees.
-
The XML must validate against the schema DIR publishes,
eCPR-v2.xsd, with elements in the order the schema gives.
What changed in version 2
- The employee name is split in three fields: first, middle and last.
- One employee can work under several classifications in the same week, each with its own hours and rates.
- Each classification states the craft and whether the worker is a journeyman or an apprentice.
- Fringe benefits say who received them: the employee in cash, a benefit plan, or both.
A version 1 file has none of that, so converting it means answering those questions once. If your payroll software still writes version 1, its files will not be accepted after January 13, 2027.
Checks worth doing before you upload
DIR's version 2 FAQ warns that a file with wrong totals can pass validation. The schema checks structure, not arithmetic. Before you upload, compare:
- daily hours against the weekly straight-time, overtime and double-time totals;
- deductions against gross and net pay;
- the pay against hours times the base rate, with the hourly fringe added;
- days with more than 8 straight-time hours.
Two employees with the same Social Security number are a different matter: DIR rejects every employee that shares one. CertRow flags repeated numbers without showing them.
Make the file with CertRow
CertRow reads the CSV or Excel export of your payroll system, asks for the project details, and writes the version 2 XML with those checks done. It also converts a version 1 file to version 2. Everything runs in your browser; the Social Security numbers stay on your computer.
Build a California file Convert V1 to V2 Check a file, free
Questions
When does California stop accepting eCPR version 1?
DIR says it accepts version 1 XML files until January 13, 2027. After that, uploads must follow version 2.
Does the DIR portal check that my totals add up?
Not fully. DIR's version 2 FAQ warns that a file with wrong totals can pass validation, so the arithmetic is worth checking before you certify.
What do I need to convert a version 1 file?
Your PWCR number and DIR project ID, the craft of each classification, who is a journeyman or an apprentice, and who received the fringe. The converter asks for each of them.
Does CertRow file the payroll for me?
No. You download the XML, sign in to the DIR system and upload it. You remain the one who certifies the payroll.
Read on November 24, 2026: DIR certified payroll reporting, eCPR XML version 2 FAQ, eCPR exemptions. A guide to the file format, not legal advice.