Error: The attribute 'referenceDocumentId' with value, data format is not correct Element: NonapportInvstLoss
This validation error occurs on Virginia Form 500 Line 8d when the referenceDocumentId attribute contains invalid characters. The error is triggered by values in Schedule 500A, Section B that don't meet state requirements. Applies to: GoSystem Tax RS and OneSource Income Tax.
Error message
Validation failed on [FILE_ID]: Form: Form500[1] TaxComputation[1]/MultistateCorporation[1]/MCNonapportInvstLoss[1] Description: Nonapportionable Investment Function Loss from Schedule 500A, Section B, Line 3(e) FormNumber: Form500 LineNumber: Line 8d Error: The attribute 'referenceDocumentId' with value 'BinaryAttach BinaryAttachN1', data format is not correct. XPath: /ReturnState[1]/ReturnDataState[1]/Form500[1]/TaxComputation[1]/MultistateCorporation[1]/MCNonapportInvstLoss[1] XML Fragment: ****** Field Key: 156,3,14,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
- Go to .
- Make sure lines3eand3faren't negative or blank.noteIf line 3f is negative and you can't change the value, you need to paper file the return. Per Virginia state instructions, Schedule 500A, Section B, lines 3e and 3f can't be negative or left blank. If your return requires a negative value on line 3f that can't be corrected, electronic filing isn't supported and you need to submit a paper return.
- Do a full recompute, then recreate the e-file.