Automatic transmission of NF-e fiscal documents (Brazil)
Use the following procedure to set up email parameters to automatically send a Nota Fiscal eletrônica (NF-e) to a vendor or customer 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. This task uses the BRMF demo company.
- Go to System administration > Setup > Batch group.
- Click New.
- In the Group field, type a value.
- In the Description field, type a value.
- Click Save.
- Close the page.
- Go to System administration > Periodic tasks > Email processing > Batch.
- Expand the Run in the background section.
- Select Yes in the Batch processing field.
- In the Batch group field, enter or select a value.
- Click Recurrence.
- Select the No end date option.
- In the Count field, enter a number.
- In the Time zone field, select an option.
- Click OK.
- Click OK.
- Go to Organization administration > Setup > Email templates.
- Click New.
- In the Email ID field, type a value.
- In the Sender email field, type a value.
- In the Sender name field, type a value.
- In the Default language code field, enter or select a value.
- In the Lines or header field, select an option.
- In the Batch group field, enter or select a value.
- In the Email description field, type a value.
- In the Lines or header field, select an option.
- Click Save.
- In the list, mark the selected row.
- In the Subject field, type a value.
- In the Language field, enter or select a value.
- Click Edit.
- In the WritableContent field, type a value.
- Click OK.
- Click Save.
- Close the page.
- Close the page.
- Go to Organization administration > Organizations > Fiscal establishments > Fiscal establishments.
- Use the Quick Filter to find records. For example, filter on the Fiscal establishment ID field with a value of 'Matriz'.
- Expand the NF-e and NFC-e federal section.
- Click Edit.
- In the Approved NF-e field, enter or select a value.
- Select Yes in the Attach the DANFE as PDF file to email field.
- Click Save.
- Close the page.