Error: The attribute 'referenceDocumentId' with value 'BinaryAttach BinaryAttachN1 BinaryAttachN2', data format is not correct
This validation error occurs when e-filing a Virginia 1120 return with multiple PDF attachments. Virginia only accepts required attachments, and the referenceDocumentId attribute can't contain space-separated values.
Error message
Validation failed on [FILE_ID]: Form: Form500[1] TaxComputation[1]/MultistateCorporation[1]/MCNonapportInvstIncm[1] Description: Nonapportionable Investment Function Income from Schedule 500A, Section B, Line 3(c) FormNumber: Form500 LineNumber: Line 8c Error: The attribute 'referenceDocumentId' with value 'BinaryAttach BinaryAttachN1 BinaryAttachN2', data format is not correct. Element Name: MCNonapportInvstIncm XPath: /ReturnState[1]/ReturnDataState[1]/Form500[1]/TaxComputation[1]/MultistateCorporation[1]/MCNonapportInvstIncm[1] XML Fragment: 21258 Field Key: 156,3,13,0,0,0,0,0,0 Error Code: [CODE] Error Reason: 'BinaryAttach BinaryAttachN1 BinaryAttachN2' violates pattern constraint of '[A-Za-z0-9:.-]{1,30}'. The attribute 'referenceDocumentId' with value 'BinaryAttach BinaryAttachN1 BinaryAttachN2' failed to parse.
Solution
Virginia only accepts required attachments. If you need to include additional attachments, combine them into 1 PDF and attach it under Other Attachments as Other.pdf.
Go to .
- Delete all attachments.
- Recreate the Virginia XML.
- Attach only the required PDFs.
- Do a full recompute, then recreate the e-file.
note
Form500.pdf is a required PDF in the Virginia return.