eCPR filing in California: the DIR system, explained

Most California public works contractors file certified payroll online with the Labor Commissioner, as DIR's certified payroll reporting page and Labor Code section 1771.4 describe. Here is who must file, the two ways in, the one signature at the end, and what makes a file bounce.

Last reviewed against the sources it cites

The short answer

eCPR filing is how most California public works contractors send certified payroll to the Labor Commissioner, online through services.dir.ca.gov/pw. Labor Code section 1771.4 requires it at least once every 30 days while work is under way. You type each payroll into the online form or upload an XML file in DIR's V2 format, then the contractor signs under penalty of perjury.

  • Contractors and subcontractors on most public works projects must submit certified payroll records to the Labor Commissioner through DIR's Public Works Website Services, per DIR's certified payroll reporting page.
  • Labor Code section 1771.4 requires electronic submission at least once every 30 days while work is performed, and within 30 days after the final day of work.
  • DIR's XML V1 submissions are supported only until January 13, 2027, so files need the V2 format, per DIR's eCPR XML V2 FAQ.
  • A V2 file needs the contractor's 10 digit PWCR number and the DIR project ID, and DIR assigns the payroll and amendment numbers, per DIR's eCPR XML Guidelines for schema V2 (November 2026).
  • Projects monitored by a few legacy labor compliance programs, including Caltrans, and projects under qualifying project labor agreements are exempt from online reporting, per DIR's exemptions page.

What eCPR filing is, in one paragraph

The eCPR is DIR's electronic certified payroll report. Contractors and subcontractors on most public works projects must submit certified payroll records to the Labor Commissioner through DIR's Public Works Website Services, per DIR's certified payroll reporting page. You file at services.dir.ca.gov/pw, either by typing the payroll into the online form or by uploading an XML file. The same payroll must be filed at least once every 30 days while work is performed on the project and within 30 days after the final day of work, per Labor Code section 1771.4, unless your contract with the awarding body asks for more often. Our deadlines guide covers timing in detail. For what to show, see Social Security number on California certified payroll.

Who has to file through the DIR system

Labor Code section 1771.4 says each contractor and subcontractor furnishes the records Labor Code 1776 requires directly to the Labor Commissioner, in electronic format on the department's website. If you are not sure the job is covered, start with whether your project is public works.

Not every project reports to DIR. DIR's exemptions page says only projects monitored and enforced by an approved labor compliance program, or covered by a qualifying project labor agreement, may be exempted. Until further notice it lists projects monitored by these legacy programs as exempt: Caltrans, the City of Los Angeles, Los Angeles Unified School District, and the County of Sacramento. If you work on a Caltrans job, see our Caltrans certified payroll guide. An unregistered contractor on a project where registration is not required is treated differently under section 1771.4, so read the section if that is you. See also DIR contractor registration renewal, DIR stop order for an unregistered contractor and California debarred contractors list.

The system you are actually filing into

In mid 2024, DIR replaced its separate legacy systems for project registration, contractor registration, and certified payroll with one portal: services.dir.ca.gov/pw, per DIR's own upgrade notice. Two things about that change still bite contractors:

  • Old logins did not carry over. Filing now requires a contractor account in the new portal, where the legacy eCPR system allowed essentially anonymous submission.
  • Working setups broke. Vendors and contractors statewide had to adapt to the new system's quirks, and the trade associations that support public works contractors documented sustained problems through the transition. When an upload fails, the state's standing advice has been to screenshot the failure and email public works support. That is the support model you are relying on at deadline time. Our portal troubleshooting guide covers the common stalls.

XML V2 is the current file format

The XML format has changed since the migration. DIR's eCPR XML V2 FAQ says V1 submissions are supported until January 13, 2027, and every file must carry a version element. The current specification is DIR's eCPR XML Guidelines for schema V2 (November 2026). Its main changes from V1, per the guidelines release notes:

  • Most contractor and project details were removed, including the license, FEIN, address, project name and contract IDs, because DIR already has them on file.
  • The contractor's PWCR number is required and must be exactly 10 numeric digits matching the number on file with DIR. The option to enter "NA" is gone.
  • Employee names are split into first, middle and last name elements.
  • An employee can have several classifications, each with its own hours, rates and fringe, and a new fringePaid field shows whether fringe went to the worker or a benefit plan.

Current guides, a sample V2 file and a blank V2 template are linked from DIR's certified payroll reporting page. DIR does not publish a list of valid classification names, so use the names as they appear in your certified payroll records, per DIR's eCPR XML V2 FAQ.

Path one: the online form

The online form (DIR used to call it the iForm) is the manual path. Inside the portal, on each project, you enter each worker, each day's hours, each rate, each fringe and deduction, by hand, for every payroll period. The modernized portal softened the pain with saved worker profiles and the ability to duplicate a previous payroll, and it still scales terribly: a crew of twelve across three active projects is thirty six worker-project entries per filing period, by hand, forever. Every field you type is a chance to mistype a number you then certify under penalty of perjury.

Path two: the XML upload

The XML path replaces typing with a file. Next to a project in the portal you choose Submit, then XML eCPR, identify the contractor and the DIR project ID, flag whether this is an amendment, and upload a file in DIR's format. The server validates it, shows you the parsed payroll, and hands you the signature step. The V2 FAQ says files with less than 250 employees can be uploaded as a draft to preview and edit before final submission, and files with more than 250 skip the draft and are submitted, so check a large file first. The FAQ does not say what happens at exactly 250. The Guidelines (5.4) cap a file at 500 employees.

The catch is producing the file. The mainstream payroll systems do not emit it: QuickBooks cannot produce the eCPR XML on its own, and the standard ADP, Paychex, and Gusto configurations do not either. See our sourced list of payroll systems that export eCPR XML. DIR's reporting page says to create your own template using the V2 schema, and links a sample V2 file and a blank V2 template.

What bounces an upload

These rules come from DIR's eCPR XML Guidelines for schema V2 (November 2026). For a longer list with fixes, see eCPR XML upload errors.

  • PWCR number and project ID. A missing or mismatched PWCR number or project ID causes a hard submission failure. You can look up a project ID in the portal, and our guide to finding a DIR project ID shows how.
  • Employee names. V2 wants separate first name, last name and middle name elements. If a name tag is missing or in the wrong place, the submission fails.
  • Social Security numbers. Nine digits, no dashes or spaces, the full number, unique within the submission. An ITIN can go in the itin element for a worker without an SSN. This is the opposite of the federal WH-347, which takes the last four only, so do not feed the same masked value to both filings.
  • Dates. Format YYYY-MM-DD. The payroll week is the week ending date plus the six days before it, and each classification needs exactly seven day elements with no gaps or duplicates.
  • Fields DIR assigns. The payroll number and amendment number are system-assigned and must be left empty or omitted. Filling them in gets you a rejection.
  • Fringes and rates. All fringe fields are required for each classification (enter 0.0 if none applies), and each total hourly pay rate is the base hourly rate plus the fringe amounts entered for that classification. DIR stores the totals as entered and does not recalculate them.
  • Deductions. Every deduction field is required, and totalDeductions must equal the sum of them and must not include travel allowances or fringe. A file with a wrong total still passes schema validation, so check the arithmetic yourself.
  • Structure. Elements must appear in the exact order the schema defines, or the file fails even if every value is present.
  • File naming. There is no required naming convention. Any name works if the file ends in .xml.

Two more cases deserve respect. A week with no work on a project is not a week with no filing: set statementOfNP to true and no employee information is added. And amendments must match the original filing on its identifying fields, or the system treats your correction as a brand new payroll, leaving the wrong one standing.

The step nobody automates away: review and sign

Whichever path you take, the filing ends the same way. The contractor reviews the parsed payroll and signs under penalty of perjury, and the system returns a confirmation with a payroll number and sequence number. Keep those confirmations: they are your proof of filing when an awarding body or records request comes asking. This design is why no honest service can promise you will never touch the portal at all. What a good service can do is make your part a two minute review of a file that is already correct, instead of an afternoon of data entry followed by a certification you sign with your fingers crossed.

PWCR, PWC-100 and A-1-131: forms people mix up with eCPR

Three names show up in searches next to eCPR, and they are different things:

  • PWCR number. Your contractor registration number with DIR. Every V2 XML file must carry it as a 10 digit contractorPWCR value. See public works contractor registration.
  • PWC-100. The notice that registers a public works project and creates the DIR project ID you file against. See PWC-100, explained.
  • Form A-1-131. DIR's paper payroll reporting form. It is not what you submit for eCPR. See Form A-1-131.

Online form or XML: the honest decision

Online formXML upload
Time per filingHigh, and it scales with crew size and project countMinutes, once the file is right
Error surfaceEvery keystroke, every periodConcentrated in the file build, where software can check it
Who it fitsA sub with one small project and patienceAnyone filing repeatedly, if they can get the file made correctly
The catchYour timeYour payroll system does not make the file

That last cell is our business. WellStanding prepares the WH-347 and the eCPR from the payroll export you already run in QuickBooks, ADP, Paychex, Gusto, or Sage, and a person reviews every filing. You review the finished filing and sign the certification in one step, and nothing is filed until you have signed; we never sign for you. The first weekly filing is free. And if a portal upload the state's own system rejects is your current emergency, our guide to catching up on certified payroll is the place to start.

Questions

How do I file certified payroll in California in the DIR XML format?
Build a V2 XML file with the contractor's 10 digit PWCR number and the DIR project ID, then in the portal at services.dir.ca.gov/pw choose Submit, XML eCPR and upload it. Review the parsed payroll and sign. The format is in DIR's eCPR XML Guidelines for schema V2 (November 2026).
Is DIR certified payroll the same as the eCPR?
Yes in practice. DIR's certified payroll records are submitted online through its Public Works Website Services, per DIR's certified payroll reporting page, and the electronic submission is what people call the eCPR.
How often do I file with DIR?
At least once every 30 days while work is performed, and within 30 days after the final day of work, or more often if your contract with the awarding body says so, per Labor Code section 1771.4.
Do I still need to file if my project is exempt from eCPR?
Projects that qualify under the exemptions page do not report online to DIR, per DIR's exemptions page. Check with the awarding body or its labor compliance program for what it requires instead. For Caltrans work, see our Caltrans guide.
Is the old XML V1 format still accepted?
DIR says V1 submissions are supported until January 13, 2027, so move to V2 before then, per the DIR's eCPR XML V2 FAQ.
What is a PWCR number and where do I put it?
It is your registration number with DIR. In a V2 XML file it goes in contractorPWCR, exactly 10 digits, and it must match the number on file, per DIR's eCPR XML Guidelines for schema V2 (November 2026).

Related reading: California certified payroll, the complete guide and why the GC's portal does not make you compliant with the state.

Sources

Every figure on this page links to its source where it first appears. The full list, in order:

  1. DIR's certified payroll reporting page dir.ca.gov
  2. Labor Code section 1771.4 leginfo.legislature.ca.gov
  3. services.dir.ca.gov/pw services.dir.ca.gov
  4. DIR's eCPR XML V2 FAQ dir.ca.gov
  5. DIR's eCPR XML Guidelines for schema V2 (November 2026) dir.ca.gov
  6. DIR's exemptions page dir.ca.gov
  7. DIR's own upgrade notice dir.ca.gov

Skip the portal. Send one export, first filing free

Send the payroll export you already run. We turn it into the WH-347 and the DIR eCPR filing, checked by software and verified by a person. First filing free, before you pay us anything. $995 one time setup, then $249 per month flat for crews up to 25 workers.

Got it. If your filing is due sooner, call us at 1-858-834-8430, Monday to Friday, 7:00 to 5:00 Pacific.

Prefer the phone? Call 1-858-834-8430, Monday to Friday, 7:00 to 5:00 Pacific.

CallFirst filing free