Error: Field 'StateAbbreviationCd' is unexpected
This validation error occurs when the State field in the 25% Foreign-Owned Corporation address section is set to NONE SELECTED. This causes the e-file XML to generate in an incorrect order.
Error message
Validation failed on [FILE_ID]: Form: ReturnHeader Requirement: State Requirement: Expecting AddressLine2Txt, CityNm Error: Field 'StateAbbreviationCd' is unexpected Element Name: StateAbbreviationCd XPath: /Return[1]/ReturnHeader[1]/PreparerFirmGrp[1]/PreparerUSAddress[1]/StateAbbreviationCd[1] XML Fragment: MA Field Key: 0,246,17,0,0,0,0,0,0 Error Code: c00ce014 Error Reason: Element '{http://www.irs.gov/efile}StateAbbreviationCd' is unexpected according to content model of parent element '{http://www.irs.gov/efile}PreparerUSAddress'. Expecting: {http://www.irs.gov/efile}AddressLine2Txt, {http://www.irs.gov/efile}CityNm.
Solution
- Go to the Subsidiary Locator, then go to .
- Make sure a valid US state is selected in theStatefield (not NONE SELECTED).
- Update the address fields as necessary.
- Make sure the ZIP Code matches the state.
- Do a full recompute.
- Reconsolidate the TopCon.
- Recreate the e-file.