Regarding E-Invoice

I am trying to setup E-Invoice. I did the following
1)Enabled E-Invoice in company configuration
2)In report style,Copied the Standard E-Invoice and choose the output location as XML
3)Created the E-mail template
4)Created the transaction document type but while creating it, not able to enable the E-invoice option, its is greyed out. How to enable that option?

Sorry the above error got resolved. But I am facing another issue. The E-Invoice got generated but its not getting attached for sending as an email.

In Actions -> Attachments, I am not seeing the invoice attached

Hi, I am getting the same error message. Where you able to over come this issue?

Thank you