Error: The field ‘LastName’ with value '' data is missing
This validation error occurs when e-filing an Oregon 1065 Schedule K-1 because the LastName field is empty or contains invalid characters. Oregon requires all partners to have a last name populated in the K-1 aggregation file.
Error message
Validation failed on [FILE_ID]: Form: SchK1[6] OwnerInfo[1]/OwnerName[1]/LastName[1] Error: The field 'LastName' with value '', data is missing. Element Name: LastName XPath: /ReturnState[1]/ReturnDataState[1]/SchK1[6]/OwnerInfo[1]/OwnerName[1]/LastName[1] XML Fragment: Field Key: 0,0,0,0,0,0,0,0,0 Error Code: [CODE] Error Reason: '' violates pattern constraint of '([A-Za-z0-9'-] ?)*[A-Za-z0-9'-]'. The element '{http://www.irs.gov/efile}LastName' with value '' failed to parse.
Solution
- Go to .
- Within the K-1 Aggregation XML, ensure that all partners with a first name also have a last name. Review the<FirstName>and<LastName>elements.
- Ensure theLastNameelement is not empty because Oregon requires a last name for every partner in a K-1 aggregation file.
- Go to . Remove symbols or other invalid characters from the Automatic Reformat or Override reformat name section.
- Do a full recompute, then recreate the e-file.