1095 XML File Error: Foreign Address, Invalid CountryNm
ForeignAddressGrp, Invalid CountryNm Error description
ERROR (Line 9339): The element 'ForeignAddressGrp' in namespace 'urn:us:gov:treasury:irs:ext:aca:air:ty18' has invalid child element 'CountryNm' in namespace 'urn:us:gov:treasury:irs:common'. List of possible elements expected: 'CountryCd, CountryNm' in namespace 'urn:us:gov:treasury:irs:ext:aca:air:ty18'.
Reason 1: Enter the wrong country code
XML (Line 9339): "<"irs:CountryNm">"Mexico"<"/irs:CountryNm">"
Solution: Use the country code for efiling by changing "
Mexico " to "
MX ".
Reason 2: Unknown state name. (ie: use "FLA" or "Flaria" as state name for Florida )
Solution: Use the correct state name (ie: "FL").
How to fix the form error
1). Find the 1095 form
How to read XML file data by line number with NOTEPAD application
https://www.halfpricesoft.com/aca-1095/find_aca_XML_error_by_line_number.asp
2). After you fixed the error(s), you MUST generate the XML files with ez1095 software again. Please DO NOT modify XML documents manually!!!
More information
ez1095 ACA software allows customers to validate XML files before they submit the efile documents to IRS.
How to efile 1095 ACA forms for replacement
How to efile 1095 ACA Forms for correction
From $295
Securely File 1095 & 1094 ACA Forms In-House
ez1095: IRS Approved. Trusted By Thousands.
Prepare, print, PDF print and e-file 1095-B, 1094-B, 1095-C and 1094-C ACA forms
Unlimited accounts. Unlimited forms.
For 2016 to 2025 tax seasons.
For both federal and states.
Try free DEMO today. No obligation. No credit card required. No risk.
ez1095 is compatible with Windows 11, 10, 8.1, 8, 7, and other Windows system, 32-bit or 64-bit.
Try ez1095 now
Buy it now
Related Links
How to prepare, print and e-file Form 1094/1095-C and 1094/1095-B?
(Regular submissions, corrections, and replacements for both current and prior years, for both IRS and state agencies)
How to import data?
Data sharing (for multiple-user version)?
How to pass ACA Testing (for new e-filers)?
How to validate XML files before submitting to IRS?
Steps to take if the ACA form submission is rejected or accepted with errors
Other Forms
How to print and efile form W-2?
How to print and efile form 1099-nec?
How to file form 1099-misc, nec, div, oid and more?