Move NF-e XML files as attachments

When electronic fiscal documents (NF-e) are issued, XML files are created and stored in the Microsoft Dynamics 365 Finance and Dynamics 365 Supply Chain Management databases. In the Brazilian localization, you can use the NF-e XML move as attachment feature to free up the database space that those XML files consume.

For a specific date range and fiscal establishment, the feature moves the NF-e XML files from your Finance or Supply Chain Management database to the Blob storage from your Azure subscription. This movement makes the files available only as attachments. After the XML files are successfully moved to the Blob storage, the original files are deleted from the Finance or Supply Chain Management database. Therefore, the database space that those files used is released.

Follow these steps to enable the NF-e XML move as attachment feature.

  1. In Finance or Supply Chain Management, open the Feature management workspace.
  2. On the All tab, search for and select the NF-e XML move as attachment feature.
  3. Select Enable now.

Follow these steps to move NF-e XML files as attachments.

  1. Go to Accounts receivable > Fiscal documents > Electronic fiscal documents > Move NF-e XML as attachments.
  2. In the From date and To date fields, select the start and end dates.
  3. In the Fiscal establishment ID field, select a value.
  4. Select OK.

Important

This process isn't reversible. After you move the NF-e XML files, users can view them only by selecting Attachments at the top of Fiscal document page.