(BRA) Generate emails for approved NF-e and attach DANFE PDF files and NF-e XML files to the emails

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Applies To: Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2

You can generate the Documento Auxiliar da Nota Fiscal EletrĂ´nica (DANFE) for a Nota Fiscal eletrĂ´nica (NF-e) as a PDF file. You can then send the 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. You must set up an email template before you can generate emails for approved electronic fiscal documents. For more information, see (BRA) Set up email parameters and email templates for an NF-e.

Note

This topic does not apply to versions of Microsoft Dynamics AX 2012 prior to cumulative update 7 for AX 2012 R2.

Use this procedure to generate emails for approved electronic fiscal documents and attach DANFE PDF files and NF-e XML files to the emails.

  1. Click Accounts receivable > Periodic > NF-e Federal > Generate emails for NF-e.

  2. Select the Batch processing check box to run batch processing.

  3. In the Task description field, enter a description for the batch job.

  4. In the Batch group field, select the batch group for the batch job.

  5. Select the Private check box to restrict other users from running this batch job. A private batch job can be run only by the user who creates it, and only on the computer that the user is logged on to.

  6. Click Recurrence to open the Recurrence form, where you can specify the recurrence schedule of the batch job, if required. For example, you can set up a batch job to run every second Tuesday. Click OK.

  7. Click Alerts to open the Set up alerts for batch jobs form, where you can set up alerts for the batch job, if required. Click OK.

  8. Click OK to set up and run the batch job to generate emails for approved electronic fiscal documents and add the emails to the queue for email batch processing. The NF-e XML files are attached to the emails.

    Note

    The DANFE PDF files are attached to emails that are generated for issued electronic fiscal documents if you select the Attach the DANFE as PDF file to email check box on the NF-e federal FastTab in the Fiscal establishments form.

  9. Run the email batch process to send the emails to the third-party customers or vendors. For more information, see E-mail distributor batch (form) and Batch processing overview.

You can check the status of the emails for approved electronic fiscal documents in the NF-e email status form. Click Accounts receivable > Periodic > NF-e Federal > NF-e email status.

See also

(BRA) Generate DANFE as PDF files

(BRA) About the NF-e process