Send reports by email on a schedule ​

An Auto Email Report emails a report to a list of people at a fixed interval. For example, you can send the General Ledger to your accountant every month, or the sales register to the sales manager every Monday. The report can be any saved report: a Report Builder report, a query report, or a script report.

Prerequisites ​

Create the auto email report ​

  1. Open the Auto Email Report list, and select New.
  2. In Report, select the report.
  3. In Based on Permissions For User, select a user. ERPNext builds the report with this user's permissions, so the email contains only data that this user can see.
  4. In Email To, enter the recipients, one on each line.
  5. In Frequency, select Daily, Weekdays, Weekly, or Monthly. For Weekly, also select the Day of Week.
  6. In Format, select HTML, XLSX, CSV, or PDF.
  7. Optional: enter a Message to send with the report.
  8. Select Save.

ERPNext sends the email at midnight on the scheduled day.

To test the report, select Download or Send Now.

Set the report filters ​

If the report has filters, the form shows them. Select the filters table to edit them. For example, for the Project Billing Summary report, select the project.

To keep a date range current, select the From Date Field and To Date Field of the report, and select a Period, such as Monthly. ERPNext then moves the date range forward each time it sends the report. Select Use First Day of Period to start the range on the first day of the period.

Limit the data ​

OptionWhat it does
Send only if there is any dataSkips the email when the report is empty.
Only Send Records Updated in Last X HoursSends only documents changed in the last X hours. Report Builder reports only.
No of Rows (Max 500)The number of rows in the email. Report Builder reports only.