Error: Element Name: FedNOL The attribute 'referenceDocumentId' with value 'BinaryAttach BinaryAttachN1', data format is not correct
This validation error occurs when multiple PDF files are attached to a Virginia Form 500 return. Virginia only lets you attach 1 PDF per return.
Error message
1. Validation failed on [FILE_ID]: Form: Form500[1] QuestionsAndRelatedInfo[1]/NetOperatingLossDeduction[1]/FedNOL[1] Description: Federal NOL FormNumber: Form500 LineNumber: Line C2 Error: The attribute 'referenceDocumentId' with value 'BinaryAttach BinaryAttachN1', data format is not correct. Element Name: FedNOL XPath: /ReturnState[1]/ReturnDataState[1]/Form500[1]/QuestionsAndRelatedInfo[1]/NetOperatingLossDeduction[1]/FedNOL[1] XML Fragment: ****** Field Key: 156,4,13,0,0,0,0,0,0 Error Code: [CODE] Error Reason: 'BinaryAttach BinaryAttachN1' violates pattern constraint of '[A-Za-z0-9:.-]{1,30}'. The attribute 'referenceDocumentId' with value 'BinaryAttach BinaryAttachN1' failed to parse.
Solution
Virginia only lets you attach 1 PDF to the state return.
- Go to .
- Combine all PDF files into 1 PDF file and attach only the combined PDF file for Virginia.
- Make sure the file name and description have the same name.
- Remove any attachments that aren't required to qualify the return.
- Do a full recompute, then recreate the e-file.