Filing and attaching Form 8865 to electronic files (1065)

Show expandable text

Form 8865 can be electronically filed only if the Form 8865 electronic file is attached to the filer's Form 1040, 1120, 1120S, 1065, or 1041 return, prior to creating the filer's electronic file. Form 8865 cannot be electronically filed separately with the IRS.

  1. From within UltraTax CS, create the electronic file for the Form 8865 return as you would for any other electronic return.
  2. With the filer's client return open, choose Edit > Electronic Filing Attachments.
  3. Click the Add button.
  4. In the Product field, select Federal from the drop-down list.
  5. In the Return field, select Tax Return from the drop-down list.
  6. In the Attachment title field, select 8865 E-file from the drop-down list.
  7. In the Attachment file source group box, click the 8865 option, click the Browse button, and navigate to and select the appropriate Form 8865 electronic file. The electronic file will have a .xef extension.


    • The 8865 electronic file will be located in X:\Wincsi\UT22Data\$SYSDATA\attachments. 
    • If you are running UltraTax CS through Virtual Office CS or Software as a Service (SaaS), to select the .xef file, navigate to Y:\UT22Data\$SYSDATA\attachments. This location is already selected by default when you click the Browse button.
  8. Click OK to return to the Electronic Filing Attachments dialog.
  9. Repeat steps 3 - 8 to attach additional Forms 8865 electronic files, as needed.
  10. When you have attached all applicable Forms 8865 electronic files, click OK to close the dialog.
  11. Create the electronic file for the filer's return. UltraTax CS merges the attached Form 8865 electronic files into the filer's electronic file.


  • Multiple Form 8865 electronic files can be attached to the filer's return, as needed.
  • All Form 8865 electronic files must be created and attached to the filer's return before you create the filer's electronic file.
  • The Form 8865 electronic file should pass all electronic filing error checking before you attach the Form 8865 electronic file to the filer's electronic file.

Was this article helpful?

Thank you for the feedback!