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


Dynamics 365 for Finance and Operations is now being licensed as Dynamics 365 Finance and Dynamics 365 Supply Chain Management. For more information about these licensing changes, see Dynamics 365 Licensing Update.

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. Before you can generate email messages for approved electronic fiscal documents, you must set up an email template. This task uses the BRMF demo company.

  1. Go to Accounts receivable > Fiscal documents > Electronic fiscal documents > Generate emails for NF-e.
  2. Expand the Run in the background section.
  3. Select Yes in the Batch processing field.
  4. In the Batch group field, enter or select a value.
  5. Click Recurrence.
  6. Select the No end date option.
  7. In the Count field, enter a number.
  8. Click OK.
  9. Click OK.