Image Description Support Center

Our Support number is: 1-800-516-9442
<- Back to Main Page

E-File Validation Error: The 'http://www.irs.gov/efile:WithholdingCd' element is invalid - The value '' is invalid according to its datatype 'String' - The Pattern constraint failed


🔍 E-File Validation Error: WithholdingCd element is invalid

This guide explains why you may see the following e-file validation error and how to fix it:

E-File Validation Error: The 'http://www.irs.gov/efile:WithholdingCd' element is invalid - The value '' is invalid according to its datatype 'String' - The Pattern constraint failed

⚠️ Before You Begin

You may see this error when:

  • An EIN is entered on 1040 Wkt 9
  • But a code was not entered in the Code column

🛠️ Step-by-Step Guide

Step 1: Confirm the EIN and Code column entry

Use this when you need to verify why the validation failed.

This error will occur when an EIN is entered on 1040 Wkt 9, however, a code was not entered in the Code column.

Step 2: Add the correct code (or remove the EIN)

Use this to resolve the missing/invalid WithholdingCd value.

To fix the error:

  • Remove the EIN, or
  • Enter a code in the Code column

Step 3: Use the correct code for the source document

Use this to ensure amounts flow correctly to 1040 Wkt 9.

Example of Codes areForm 1099' or '1065 Schedule K-1' or '1120S Schedule K-1

 

You can also override the code column to enter the correct code. However it is best to enter the information on the correct source document (example 1099, 1065, Sch K-1 or 1120S Sch K-1, etc). This way the withheld amount will flow to 1040 Wkt 9

❌ Common Errors

Missing code with an EIN on 1040 Wkt 9

This error will occur when an EIN is entered on 1040 Wkt 9, however, a code was not entered in the Code column.

📞 Still Need Help?

If you are having trouble, contact our support team:

Phone: 1-800-516-9442

Or submit a support ticket



Tags: diagnostic,federal,form