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 › eCPR V1 vs V2 fields

eCPR V1 vs V2: every field that changed

If you maintain an XML template, write the export in your payroll software, or just want to know why last month's file won't upload, this is the field-level difference between DIR's eCPR V1 and V2. It follows the Release Notes and field list in DIR's V2 guidelines and the published schema. Element names are shown without the CPR: prefix.

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.

At the top of the file

ItemV1V2
NamespaceThe V1 schemahttps://www.dir.ca.gov/Public-Works/CPR/eCPR-v2.xsd
versionNot presentRequired, first element: 2.0 (pattern "2." plus digits). Don't change it.
Upload setting—Choose "Schema Version 2.0" in DIR's upload form. A mismatch with the file fails the upload.

Removed in V2

DIR already has these details from your registration and the project record, so V2 drops them. Delete them from templates and exports.

V1 elementBlockIn V2
contractorLicense (licenseType, licenseNum)ContractorRemove. A V2 file that still contains it fails validation ("This element is not expected").
contractorFEINContractorRemove. A V2 file that still contains it fails validation ("This element is not expected").
contractorAddress (street, city, state, zip)ContractorRemove. A V2 file that still contains it fails validation ("This element is not expected").
insuranceNumContractorRemove. A V2 file that still contains it fails validation ("This element is not expected").
contractorEmailContractorRemove. A V2 file that still contains it fails validation ("This element is not expected").
contractAgencyID, contractAgencyProjectRemove. A V2 file that still contains it fails validation ("This element is not expected").
projectNameProjectRemove. A V2 file that still contains it fails validation ("This element is not expected").
awardingBodyIDProjectRemove. A V2 file that still contains it fails validation ("This element is not expected").
projectNum, contractIDProjectRemove. A V2 file that still contains it fails validation ("This element is not expected").
projectLocation (description, street, city, county, state, zip)ProjectRemove. A V2 file that still contains it fails validation ("This element is not expected").
payrollNum, amendmentNumPayrollStill in the schema but system-assigned: leave empty or omit. DIR numbers payrolls and amendments (an amendment shows as "2-1").

Changed in V2

ElementV1V2
contractorPWCRCould be "NA"Required. Exactly 10 digits, matching the PWCR on file with DIR. Missing or mismatched = hard failure.
Employee nameOne name elementfirstName and lastName required (max 56 characters each), middleName optional. A missing or misplaced name tag fails the submission.
awardingBodyPart of project dataOptional, max 56 characters, kept for reference only.
projectIDProject identifierRequired, numeric, must match the project registered with DIR. Mismatch = hard failure.

Added in V2

New elementWhereRule
Multiple classification elementsEmployeeOne per classification worked that week, each with its own days, fringes, hours and rates. At least one per employee. The name attribute must not be empty.
employeeLevelClassificationExactly journeyman or apprentice, lowercase.
apprenticeLevelClassificationWhole number 1–10 for apprentices; empty for journeymen.
fringePaid (paidToEmployee, paidToBenefitPlan)ClassificationBoth required, true/false; at least one true.
other deductionDeductionsRequired like the other seven; 0.0 if none.
itinEmployee9 digits, as an alternative to ssn. At least one is required; SSN wins if both are filled.
versionTop2.0.

Element order in V2

The schema enforces order. A file with every value present but in the wrong order still fails, typically with "This element is not expected. Expected is ( firstName )".

File
version → contractorInfo (contractorName, contractorPWCR) → projectInfo (awardingBody, projectID) → payrollInfo (statementOfNP, forWeekEnding, payrollNum, amendmentNum, employees)
employee
firstName, lastName, middleName, address, ssn, itin, notes, classifications, payments, deductions, earnings
classification
craft, employeeLevel, apprenticeLevel, hrsWorkedEachDay, fringePaid, fringe, totHrs, hrlyPayRate
deductions
fedTax, FICA, stateTax, SDI, fundAdmin, savings, dues, other, totalDeductions
earnings
grossThisProject, grossAllWork, netWagePaidWeek, checkNum ("CASH" for cash payments)

V2 field rules worth knowing

FieldRule in V2
statementOfNPtrue or false, lowercase. When true, the employees element may be left out (DIR's November 2026 schema made it optional) and any employee data is ignored. When false, at least one employee with hours above 0 is expected.
forWeekEndingYYYY-MM-DD, a real date, no earlier than 2010-01-07. The week is this date and the six days before it.
dayExactly seven per classification, ids 1–7 in order, id 7 = week ending date, consecutive real dates, even when hours are 0.0.
Daily hoursStraight, overtime, double time: each ≥ 0 and under 100, two decimals. All classifications combined: no more than 24 hours in one day.
totHrsMust equal the sum of the daily values; total above 0 unless it's a no-work week.
Addressstreet max 100 characters (raised from 40 in DIR's November 2026 update); state two uppercase letters; zip 12345 or 12345-6789.
ssn / itin9 digits, no dashes. SSNs must be unique in the file; duplicates are rejected.
notesOptional, up to 256 characters; HTML is stripped.
Fringe amountshealthWelfare, vacationHoliday, pension, training, other: all required, 0.0 if not used.
RatesBase rates 0 or more and under 10,000 (DIR's November 2026 schema allows a 0 straight-time rate). Each total rate = base rate + the classification's fringe total.
travelSubsEmployer-paid allowance, not a deduction; never included in totalDeductions.

Fields DIR stores without recalculating

DIR's guidelines call these "source of truth" fields: stored exactly as you send them, not checked against the rest of the file. The schema can't catch a wrong value here, so check them yourself (our checker recomputes each one):

Mapping old data to the new fields

Questions

Can I just add a version element to my V1 file?

No. V2 removes many V1 elements and changes others, so a V1 file with <CPR:version>2.0</CPR:version> still fails on the removed elements, the name fields and the new required ones.

Is contractorPWCR still allowed to be NA?

No. In V2 it is required, exactly 10 digits, and must match the PWCR number on file with DIR.

Do I still need the project name and address?

No. V2 removes projectName, the projectLocation block and the contract and agency IDs. Only the numeric projectID (required) and awardingBody (optional) remain.

How do I report a worker who did two classifications?

One employee element with two classification elements, each with its own seven days, fringes, hours and rates. Combined hours across classifications can't exceed 24 in a day.

Is there a list of valid classification names?

DIR's FAQ says no complete list is public yet. Use the names from your certified payroll records; names DIR doesn't recognise are changed to "Other".

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.