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.
Solution
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 and recreate the e-file.