Error: Required attribute 'referenceDocumentId' is missing
This error occurs when an attachment for Form 500 is missing.
Error message
Validation failed on [FILE_ID]: Form: Form500[1] CheckApplicableBoxes[1] Error: The attribute 'referenceDocumentId' with value '', data format is not correct. Element Name: CheckApplicableBoxes XPath: /ReturnState[1]/ReturnDataState[1]/Form500[1]/CheckApplicableBoxes[1] XML Fragment: XX Field Key: 0,0,0,0,0,0,0,0,0 Error Code: [CODE] Error Reason: Required attribute 'referenceDocumentId' is missing.
1. Validation failed on [FILE_ID]: Form: Form500[1] FederalReturn[1] Element Name: FederalReturn XPath: /ReturnState[1]/ReturnDataState[1]/Form500[1]/FederalReturn[1] XML Fragment: X Field Key: 0,0,0,0,0,0,0,0,0 Error Code: [CODE] Error Reason: Required attribute 'referenceDocumentId' is missing.
Solution 1
For a consolidated Virginia return, Virginia requires a copy of the Consolidated Return 500 as a PDF attachment in addition to the form in the XML file.
- Go to .
- SelectAttach PDF.
- Add your attachment for the Virginia jurisdiction.noteThe name of the PDF needs to beForm500.pdf.
- SelectForm500 Consolidated Return Attachmentfor the predefined description.
- Go to theMandatorysection and change the dropdown forForm/schedule nametoForm500and theElement/line numbertoCombined return checkbox.
- Do a full recompute, then recreate the e-file.
Solution 2: REIT returns
For 1120-REIT returns where the Federal return can't be e-filed, Virginia requires a copy of the Federal return as a PDF attachment.
- Go to .
- SelectAttach PDF.
- For theAttachment Description, selectPredefined descriptionthenForm500 Federal Return Attachment.
- In theMandatorysection, selectUser defined form/schedule name and element/line numberthenForm500for the Form/schedule name.
- Do a full recompute, then recreate the e-file.