DIR eCPR XML errors: why uploads fail, and the mistakes that don't

A V2 file can fail in two ways: DIR rejects it, or DIR accepts it with wrong numbers. The second kind is worse — it becomes your certified record.

Errors that make DIR reject the file

ProblemFix
Missing <CPR:version>2.0 or old V1 namespaceThe file is V1 or half-converted. Convert it to V2.
PWCR is "NA" or not 10 digitsUse your 10-digit PWCR number from the DIR portal.
V1 fields left in (contractorFEIN, contractorLicense, projectName, projectLocation…)Delete them — V2 doesn't allow them.
Elements out of orderV2 is strict. Employee order: firstName, lastName, middleName, address, ssn, itin, notes, classifications, payments, deductions, earnings.
Classification without a name attributeEvery <CPR:classification name="…"> needs a name. One missing name fails the file.
SSN with dashes or spaces9 digits only: 123456789. Workers without an SSN: put the ITIN in itin.
Not exactly 7 days, or day 7 ≠ week endingAlways 7 day elements, id 1–7, consecutive dates, the last one equal to forWeekEnding. Use 0.0 for days off.
More than 2 decimals, commas or "$" in numbers8.25, not 8.125, 1,200.00 or $1200.
Apprentice without a level / "Journeyman" capitalizedjourneyman or apprentice in lowercase; apprentice level 1–10.
Both fringe "paid to employee" and "paid to plan" are falseAt least one must be true.
Duplicate SSNOne employee block per worker; several crafts go in as several classifications.
More than 24 hours in a day, or totals ≠ sum of daysFix the hours; weekly totals must equal the daily sum.
More than 500 employeesSplit into several files. Over 250 can't be uploaded as a draft.

Mistakes DIR stores without complaint

DIR's V2 FAQ is explicit: passing the schema check doesn't mean the data is correct. These fields are stored as sent:

The free validator checks all of the above in your browser and explains each problem in plain English.

Check your file before you upload

Free, in your browser — the file is never uploaded. Converts V1 files and payroll spreadsheets to V2.

Sources: DIR Certified Payroll Reporting, eCPR XML Guidelines V2, V2 Submission FAQ, eCPR-v2.xsd. Last checked November 23, 2026.