(BRA) Set up email parameters and email templates for an NF-e
Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2
Use the following procedure to set up email parameters to send a Nota Fiscal eletrônica (NF-e) to a vendor or customer automatically after the NF-e is approved or canceled, or if you generate a correction letter. You can set up a batch group and email templates for an NF-e. You must create separate email templates for an approved NF-e, a canceled NF-e, and a correction letter. You can then create a batch process to send the NF-e by email.
In AX 2012 R3 and cumulative update 7 or later for AX 2012 R2: You can send the Documento Auxiliar da Nota Fiscal Eletrônica (DANFE) PDF file and the NF-e XML file that are generated for an approved NF-e to a third-party customer or vendor via email.
Click System administration > Setup > System > E-mail parameters.
Enter the required details in the following fields:
Outgoing mail server
Local computer name
SMTP port number
Click System administration > Setup > Batch group.
Create a batch group for an NF-e. For more information, see Create a batch group.
Click Organization administration > Setup > E-mail templates.
Create an email template for an approved NF-e, a canceled NF-e, and a correction letter. For more information, see Configure email functionality in Microsoft Dynamics AX.
Click Organization administration > Setup > Brazil > Fiscal establishments.
Set up the email templates for a fiscal establishment. For more information, see (BRA) Set up NF-e parameters for a fiscal establishment.
In AX 2012 R3 and cumulative update 7 or later for AX 2012 R2: On the NF-e federal FastTab, select the Attach the DANFE as PDF file to email check box to attach the DANFE as PDF files to emails that are generated for issued electronic fiscal documents. Close the form.
Click System administration > Periodic > E-mail processing > Batch.
In the Batch group field, select the batch group for an NF-e, and then click OK.